![JAR search and dependency download from the Maven repository](/logo.png)
org.mule.samples.voipservice.service.BankAgencyService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mule-example-voipservice Show documentation
Show all versions of mule-example-voipservice Show documentation
The Voip Service example is taken from a Java.net featured article, Provisioning Services Through ESB (http://today.java.net/pub/a/today/2005/10/18/service-provisioning-through-esb.html) describes how to orchestrate services through abstraction, providing a VOIP provisioning example developed using Mule.
/*
* $Id: BankAgencyService.java 11735 2008-05-13 09:47:24Z dirk.olmes $
* --------------------------------------------------------------------------------------
* Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.samples.voipservice.service;
import org.mule.samples.voipservice.interfaces.BankAgency;
import org.mule.samples.voipservice.to.CreditProfileTO;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class BankAgencyService implements BankAgency
{
protected static transient Log logger = LogFactory.getLog(BankAgencyService.class);
public CreditProfileTO getAuthorisedStatus(CreditProfileTO creditProfileTO)
{
creditProfileTO.setCreditAuthorisedStatus(CreditProfileTO.CREDIT_AUTHORISED);
return creditProfileTO;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy