com.ca.jcs.sdkws.connection
Class SDKWSConnectionFactory

java.lang.Object
  extended by org.apache.commons.pool.BasePoolableObjectFactory
      extended by com.ca.jcs.sdkws.connection.SDKWSConnectionFactory
All Implemented Interfaces:
PoolableObjectFactory

public class SDKWSConnectionFactory
extends BasePoolableObjectFactory

Creates web service connection objects.

Author:
erstr01

Constructor Summary
SDKWSConnectionFactory(SDKWSConnectionDetails connectionDetails)
          Constructs this class with the params.
 
Method Summary
 Object makeObject()
          Creates and returns a new SDKWSConnection.
 
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

SDKWSConnectionFactory

public SDKWSConnectionFactory(SDKWSConnectionDetails connectionDetails)
Constructs this class with the params.

Parameters:
connectionDetails - the connection details.
Method Detail

makeObject

public Object makeObject()
                  throws Exception
Creates and returns a new SDKWSConnection.

Specified by:
makeObject in interface PoolableObjectFactory
Specified by:
makeObject in class BasePoolableObjectFactory
Returns:
the SDKWSConnection.
Throws:
Exception - if any errors occur.


Created 2011-07-14 13:27 EST