org.ow2.petals.binding.soap.listener.outgoing
Class ServiceClientPoolObjectFactory
java.lang.Object
org.apache.commons.pool.BasePoolableObjectFactory
org.ow2.petals.binding.soap.listener.outgoing.ServiceClientPoolObjectFactory
- All Implemented Interfaces:
- org.apache.commons.pool.PoolableObjectFactory
public class ServiceClientPoolObjectFactory
- extends org.apache.commons.pool.BasePoolableObjectFactory
Get new Axis2 ServiceClient from the pool factory
- Author:
- Christophe DENEUX - Cap Gemini, Christophe HAMERLING - eBM WebSourcing
|
Constructor Summary |
ServiceClientPoolObjectFactory(java.lang.String address,
javax.xml.namespace.QName operation,
java.net.URI mep,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
SoapComponentContext context,
org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides,
java.util.logging.Logger logger,
java.lang.String soapAction,
java.lang.String rampartUserName)
Creates a new instance of ServiceClientPoolObjectFactory |
| Methods inherited from class org.apache.commons.pool.BasePoolableObjectFactory |
activateObject, destroyObject, passivateObject, validateObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceClientPoolObjectFactory
public ServiceClientPoolObjectFactory(java.lang.String address,
javax.xml.namespace.QName operation,
java.net.URI mep,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
SoapComponentContext context,
org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides,
java.util.logging.Logger logger,
java.lang.String soapAction,
java.lang.String rampartUserName)
- Creates a new instance of ServiceClientPoolObjectFactory
- Parameters:
operation - mep - logger - soapAction - rampartUserName - wsdlDescription - cdkExtensions - modules -
makeObject
public java.lang.Object makeObject()
throws java.lang.Exception
- Specified by:
makeObject in interface org.apache.commons.pool.PoolableObjectFactory- Specified by:
makeObject in class org.apache.commons.pool.BasePoolableObjectFactory
- Throws:
java.lang.Exception
engageModule
protected void engageModule(ServiceClient serviceClient,
java.lang.String moduleName)
throws org.apache.axis2.AxisFault
- Engage a module
- Parameters:
serviceClient - moduleName -
- Throws:
org.apache.axis2.AxisFault
Copyright © 2005-2010 OW2 Consortium. All Rights Reserved.