![JAR search and dependency download from the Maven repository](/logo.png)
org.mule.samples.voipservice.service.PaymentValidationService Maven / Gradle / Ivy
/*
* $Id: PaymentValidationService.java 7976 2007-08-21 14:26:13Z 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.MuleManager;
import org.mule.samples.voipservice.interfaces.PaymentValidation;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* @author Binildas Christudas
*/
public class PaymentValidationService implements PaymentValidation
{
protected static transient Log logger = LogFactory.getLog(PaymentValidationService.class);
public List getCreditVendors(String cardType)
{
logger.info("Inside PaymentValidationService.getCreditVendors() ***************");
List endPoints = new ArrayList();
endPoints.add(MuleManager.getInstance().lookupEndpointIdentifier(CREDIT_AGENCY_LOOKUP_NAME, null));
endPoints.add(MuleManager.getInstance().lookupEndpointIdentifier(BANK_AGENCY_LOOKUP_NAME, null));
return endPoints;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy