IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.services
Interface Poolable

All Known Implementing Classes:
JDBCJournal, JDBCStore, JDBCTable, Journal, Store

public interface Poolable

The Poolable interface must be implemented by the objects that use the GenericPool service.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 boolean getInUse()
          Returns the inUse attribute.
 void initialize()
          Performs some required actions before begining.
 void reset()
          Resets the pool.
 void setInUse(boolean b)
          Sets the value of the inUse attribute.
 void terminate()
          Performs some required actions before finishing.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

getInUse

boolean getInUse()
Returns the inUse attribute.

Returns:
boolean - Returns true if the object is in use

initialize

void initialize()
                throws DSEException
Performs some required actions before begining.

Throws:
com.ibm.dse.base.DSEException
DSEException

reset

void reset()
           throws DSEException
Resets the pool. This method is invoked when releasing the Poolable object

Throws:
com.ibm.dse.base.DSEException
DSEException

setInUse

void setInUse(boolean b)
Sets the value of the inUse attribute.

Parameters:
b - The value of the attribute

terminate

void terminate()
               throws DSEException
Performs some required actions before finishing.

Throws:
com.ibm.dse.base.DSEException
DSEException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010