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.CreditAgency; |
14 | |
import org.mule.samples.voipservice.to.CreditProfileTO; |
15 | |
|
16 | |
import org.apache.commons.logging.Log; |
17 | |
import org.apache.commons.logging.LogFactory; |
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | 0 | public class CreditAgencyService implements CreditAgency |
23 | |
{ |
24 | |
|
25 | 0 | protected static transient Log logger = LogFactory.getLog(CreditAgencyService.class); |
26 | |
|
27 | |
public CreditProfileTO getCreditProfile(CreditProfileTO creditProfileTO) |
28 | |
{ |
29 | |
|
30 | 0 | logger.info("Inside CreditAgencyService.getCreditProfile() ***************"); |
31 | 0 | creditProfileTO.setCreditScore(1000000); |
32 | 0 | return creditProfileTO; |
33 | |
} |
34 | |
|
35 | |
} |