1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.samples.voipservice.service; |
12 | |
|
13 | |
import org.mule.samples.voipservice.interfaces.AddressValidation; |
14 | |
import org.mule.samples.voipservice.to.AddressTO; |
15 | |
|
16 | |
import org.apache.commons.logging.Log; |
17 | |
import org.apache.commons.logging.LogFactory; |
18 | |
|
19 | 0 | public class AddressValidationService implements AddressValidation |
20 | |
{ |
21 | |
|
22 | 0 | protected static transient Log logger = LogFactory.getLog(AddressValidationService.class); |
23 | |
|
24 | |
public int validateAddress(AddressTO addressTO) |
25 | |
{ |
26 | |
|
27 | 0 | logger.info("Inside AddressValidationService.validateAddress() ***************"); |
28 | 0 | return AddressValidation.SUCCESS; |
29 | |
} |
30 | |
|
31 | |
} |