nl.knowledgeplaza.soaptools.client
Class SoapConnectionPoolFactory

java.lang.Object
  extended by nl.knowledgeplaza.soaptools.client.SoapConnectionPoolFactory
All Implemented Interfaces:
nl.knowledgeplaza.util.pool.PoolableObjectFactory

public class SoapConnectionPoolFactory
extends Object
implements nl.knowledgeplaza.util.pool.PoolableObjectFactory

Author:
Administrator

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
SoapConnectionPoolFactory(String poolname, nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
           
SoapConnectionPoolFactory(String poolname, String applicationname)
           
 
Method Summary
 void activateObject(Object pArg0)
           
static SoapConnectionPool createConnectionPool(String poolname)
           
static SoapConnectionPool createConnectionPool(String poolname, nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
          Create a factory and a pool (using the GenericObjectPool)
static SoapConnectionPool createConnectionPool(String poolname, nl.knowledgeplaza.util.ConfigurationProperties configurationProperties, SoapConnectionPoolFactory soapConnectionPoolFactory)
          Create a pool (using the GenericObjectPool)
static SoapConnectionPool createConnectionPool(String poolname, String applicationname)
          Create a factory and a pool (using the GenericObjectPool)
static SoapConnectionPool createConnectionPool(String poolname, String applicationname, SoapConnectionPoolFactory soapConnectionPoolFactory)
          Create a pool (using the GenericObjectPool)
 void destroyObject(Object pArg0)
           
static SoapConnectionPool getConnectionPool(Map storage, String poolname)
           
static SoapConnectionPool getConnectionPool(Map storage, String poolname, nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
          Get the soap pool from a map or create one
static SoapConnectionPool getConnectionPool(Map storage, String poolname, String applicationname)
          Get the soap pool from a map or create one
static SoapConnectionPool getConnectionPool(String poolname)
           
static SoapConnectionPool getConnectionPool(String poolname, nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
          Get the database pool from the embedded map
static SoapConnectionPool getConnectionPool(String poolname, String applicationname)
          Get the database pool from the embedded map
 String getPoolname()
           
 String getPoolnameDescription()
           
 String getWSDL()
           
 Object makeObject()
           
 void passivateObject(Object pArg0)
           
protected  void setPoolname(String value)
           
 void setWSDL(String value)
           
 boolean validateObject(Object arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

SoapConnectionPoolFactory

public SoapConnectionPoolFactory(String poolname,
                                 String applicationname)

SoapConnectionPoolFactory

public SoapConnectionPoolFactory(String poolname,
                                 nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
Method Detail

getPoolname

public String getPoolname()

setPoolname

protected void setPoolname(String value)

getPoolnameDescription

public String getPoolnameDescription()

getWSDL

public String getWSDL()

setWSDL

public void setWSDL(String value)

activateObject

public void activateObject(Object pArg0)
Specified by:
activateObject in interface nl.knowledgeplaza.util.pool.PoolableObjectFactory

destroyObject

public void destroyObject(Object pArg0)
Specified by:
destroyObject in interface nl.knowledgeplaza.util.pool.PoolableObjectFactory

makeObject

public Object makeObject()
Specified by:
makeObject in interface nl.knowledgeplaza.util.pool.PoolableObjectFactory

passivateObject

public void passivateObject(Object pArg0)
Specified by:
passivateObject in interface nl.knowledgeplaza.util.pool.PoolableObjectFactory

validateObject

public boolean validateObject(Object arg0)
Specified by:
validateObject in interface nl.knowledgeplaza.util.pool.PoolableObjectFactory

createConnectionPool

public static SoapConnectionPool createConnectionPool(String poolname,
                                                      String applicationname)
Create a factory and a pool (using the GenericObjectPool)

Returns:

createConnectionPool

public static SoapConnectionPool createConnectionPool(String poolname,
                                                      nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
Create a factory and a pool (using the GenericObjectPool)

Returns:

createConnectionPool

public static SoapConnectionPool createConnectionPool(String poolname,
                                                      String applicationname,
                                                      SoapConnectionPoolFactory soapConnectionPoolFactory)
Create a pool (using the GenericObjectPool)

Returns:

createConnectionPool

public static SoapConnectionPool createConnectionPool(String poolname,
                                                      nl.knowledgeplaza.util.ConfigurationProperties configurationProperties,
                                                      SoapConnectionPoolFactory soapConnectionPoolFactory)
Create a pool (using the GenericObjectPool)

Returns:

createConnectionPool

public static SoapConnectionPool createConnectionPool(String poolname)

getConnectionPool

public static SoapConnectionPool getConnectionPool(Map storage,
                                                   String poolname,
                                                   String applicationname)
Get the soap pool from a map or create one


getConnectionPool

public static SoapConnectionPool getConnectionPool(Map storage,
                                                   String poolname,
                                                   nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
Get the soap pool from a map or create one


getConnectionPool

public static SoapConnectionPool getConnectionPool(Map storage,
                                                   String poolname)

getConnectionPool

public static SoapConnectionPool getConnectionPool(String poolname,
                                                   String applicationname)
Get the database pool from the embedded map


getConnectionPool

public static SoapConnectionPool getConnectionPool(String poolname,
                                                   nl.knowledgeplaza.util.ConfigurationProperties configurationProperties)
Get the database pool from the embedded map


getConnectionPool

public static SoapConnectionPool getConnectionPool(String poolname)


Copyright © 2013 KnowledgePlaza. All Rights Reserved.