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.BankAgency; |
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 BankAgencyService implements BankAgency |
23 | |
{ |
24 | |
|
25 | 0 | protected static transient Log logger = LogFactory.getLog(BankAgencyService.class); |
26 | |
|
27 | |
public CreditProfileTO getAuthorisedStatus(CreditProfileTO creditProfileTO) |
28 | |
{ |
29 | |
|
30 | 0 | logger.info("Inside BankAgencyService.getAuthorisedStatus() ***************"); |
31 | 0 | creditProfileTO.setCreditAuthorisedStatus(CreditProfileTO.CREDIT_AUTHORISED); |
32 | 0 | return creditProfileTO; |
33 | |
} |
34 | |
|
35 | |
} |