nl.knowledgeplaza.soaptools.client
Class SoapConnectionPoolWrapper

java.lang.Object
  extended by nl.knowledgeplaza.soaptools.client.SoapConnectionPoolWrapper
All Implemented Interfaces:
SoapConnectionPool, nl.knowledgeplaza.util.pool.ObjectPool

public class SoapConnectionPoolWrapper
extends Object
implements SoapConnectionPool


Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
SoapConnectionPoolWrapper(nl.knowledgeplaza.util.pool.ObjectPool pool)
           
SoapConnectionPoolWrapper(String name, nl.knowledgeplaza.util.pool.ObjectPool pool)
           
 
Method Summary
 void addClient()
           
 void addObject()
           
 SoapClient borrowClient()
           
 Object borrowObject()
           
 void clear()
           
 void close()
           
 int getNumActive()
           
 int getNumIdle()
           
 void invalidateClient(SoapClient arg0)
           
 void invalidateObject(Object arg0)
           
 boolean isSynchronized()
           
 void returnClient(SoapClient arg0)
           
 void returnObject(Object arg0)
           
 void setFactory(nl.knowledgeplaza.util.pool.PoolableObjectFactory arg0)
           
 void setSynchronized(boolean value)
           
 void shutdown()
           
 
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

SoapConnectionPoolWrapper

public SoapConnectionPoolWrapper(nl.knowledgeplaza.util.pool.ObjectPool pool)

SoapConnectionPoolWrapper

public SoapConnectionPoolWrapper(String name,
                                 nl.knowledgeplaza.util.pool.ObjectPool pool)
Method Detail

addClient

public void addClient()
Specified by:
addClient in interface SoapConnectionPool

borrowClient

public SoapClient borrowClient()
Specified by:
borrowClient in interface SoapConnectionPool

invalidateClient

public void invalidateClient(SoapClient arg0)
Specified by:
invalidateClient in interface SoapConnectionPool

returnClient

public void returnClient(SoapClient arg0)
Specified by:
returnClient in interface SoapConnectionPool

addObject

public void addObject()
Specified by:
addObject in interface nl.knowledgeplaza.util.pool.ObjectPool

borrowObject

public Object borrowObject()
Specified by:
borrowObject in interface nl.knowledgeplaza.util.pool.ObjectPool

clear

public void clear()
           throws UnsupportedOperationException
Specified by:
clear in interface nl.knowledgeplaza.util.pool.ObjectPool
Throws:
UnsupportedOperationException

close

public void close()
Specified by:
close in interface nl.knowledgeplaza.util.pool.ObjectPool

getNumActive

public int getNumActive()
                 throws UnsupportedOperationException
Specified by:
getNumActive in interface nl.knowledgeplaza.util.pool.ObjectPool
Throws:
UnsupportedOperationException

getNumIdle

public int getNumIdle()
               throws UnsupportedOperationException
Specified by:
getNumIdle in interface nl.knowledgeplaza.util.pool.ObjectPool
Throws:
UnsupportedOperationException

invalidateObject

public void invalidateObject(Object arg0)
Specified by:
invalidateObject in interface nl.knowledgeplaza.util.pool.ObjectPool

isSynchronized

public boolean isSynchronized()
Specified by:
isSynchronized in interface nl.knowledgeplaza.util.pool.ObjectPool

returnObject

public void returnObject(Object arg0)
Specified by:
returnObject in interface nl.knowledgeplaza.util.pool.ObjectPool

setFactory

public void setFactory(nl.knowledgeplaza.util.pool.PoolableObjectFactory arg0)
                throws IllegalStateException,
                       UnsupportedOperationException
Specified by:
setFactory in interface nl.knowledgeplaza.util.pool.ObjectPool
Throws:
IllegalStateException
UnsupportedOperationException

setSynchronized

public void setSynchronized(boolean value)
Specified by:
setSynchronized in interface nl.knowledgeplaza.util.pool.ObjectPool

shutdown

public void shutdown()
Specified by:
shutdown in interface nl.knowledgeplaza.util.pool.ObjectPool


Copyright © 2013 KnowledgePlaza. All Rights Reserved.