|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.Service
com.ibm.btt.services.BTTServiceImpl
com.ibm.btt.services.PoolableServiceImpl
PoolableServiceImpl is an abstract class for the service object which want to provide the pool features
Field Summary |
---|
Fields inherited from class com.ibm.btt.services.BTTServiceImpl |
---|
DEFAULT_RESPONSE |
Fields inherited from class com.ibm.btt.base.Service |
---|
externalizer, name |
Fields inherited from interface com.ibm.btt.services.BTTService |
---|
COMPID |
Constructor Summary | |
---|---|
PoolableServiceImpl()
|
Method Summary | |
---|---|
java.lang.String |
getGrantTime()
Returns the grant time of the pool object. |
boolean |
getInUse()
Returns the inUse attribute. |
java.lang.String |
getUID()
Set UID to the pool instance. |
void |
initialize()
Performs some required actions before begining. |
void |
reset()
Resets the pool. |
void |
setGrantTime(java.lang.String string)
Set the grant time of the pool object. |
void |
setInUse(boolean b)
Sets the value of the inUse attribute. |
void |
setUID(java.lang.String uid)
Set UID to the pool instance. |
void |
terminate()
Performs any required actions before the service instance can be stopped. |
Methods inherited from class com.ibm.btt.services.BTTServiceImpl |
---|
getInactiveTimeout, getLastAccess, handleCommand, initializeFrom, processRequest, setInactiveTimeout, setLastAccess |
Methods inherited from class com.ibm.btt.base.Service |
---|
externalizer, getExternalizer, getName, getTagName, readExternal, readExternal, readObject, removeExternal, setExternalizer, setName, toString, toStrings, toTags, writeExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PoolableServiceImpl()
Method Detail |
public boolean getInUse()
Poolable
getInUse
in interface Poolable
Poolable.getInUse()
public void initialize() throws DSEException
Poolable
initialize
in interface Poolable
DSEException
Poolable.initialize()
public void reset() throws DSEException
Poolable
reset
in interface Poolable
DSEException
Poolable.reset()
public void setInUse(boolean b)
Poolable
setInUse
in interface Poolable
b
- The value of the attributePoolable.setInUse(boolean)
public void terminate() throws DSEException
terminate
in interface Poolable
terminate
in class Service
DSEException
DSEException
public void setUID(java.lang.String uid)
setUID
in interface Poolable
DSEException
public java.lang.String getUID()
getUID
in interface Poolable
DSEException
public java.lang.String getGrantTime()
getGrantTime
in interface Poolable
public void setGrantTime(java.lang.String string)
setGrantTime
in interface Poolable
string
- - the grant time of the pool object.
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |