org.ow2.petals.binding.soap.listener.outgoing
Class ServiceClientPoolObjectFactory

java.lang.Object
  extended by org.apache.commons.pool.BasePoolableObjectFactory
      extended by 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)
          Creates a new instance of ServiceClientPoolObjectFactory
 
Method Summary
protected  void engageModule(PetalsServiceClient petalsServiceClient, java.lang.String moduleName)
          Engage a module
 java.lang.Object makeObject()
           
 
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
 

Constructor Detail

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)
Creates a new instance of ServiceClientPoolObjectFactory

Parameters:
operation -
mep -
logger -
soapAction -
wsdlDescription -
cdkExtensions -
modules -
Method Detail

engageModule

protected void engageModule(PetalsServiceClient petalsServiceClient,
                            java.lang.String moduleName)
                     throws org.apache.axis2.AxisFault
Engage a module

Parameters:
petalsServiceClient -
moduleName -
Throws:
org.apache.axis2.AxisFault

makeObject

public java.lang.Object makeObject()
                            throws javax.jbi.messaging.MessagingException,
                                   org.apache.axis2.AxisFault
Specified by:
makeObject in interface org.apache.commons.pool.PoolableObjectFactory
Specified by:
makeObject in class org.apache.commons.pool.BasePoolableObjectFactory
Throws:
javax.jbi.messaging.MessagingException
org.apache.axis2.AxisFault


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.