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 | |
|
20 | |
|
21 | |
|
22 | 0 | public class AddressValidationService implements AddressValidation |
23 | |
{ |
24 | |
|
25 | 0 | protected static transient Log logger = LogFactory.getLog(AddressValidationService.class); |
26 | |
|
27 | |
public int validateAddress(AddressTO addressTO) |
28 | |
{ |
29 | |
|
30 | 0 | logger.info("Inside AddressValidationService.validateAddress() ***************"); |
31 | 0 | return AddressValidation.SUCCESS; |
32 | |
} |
33 | |
|
34 | |
} |