|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.notification.util.AbstractPoolable
Interface to indicate that a Object can be pooled. Objects can be pooled to spare ressources.
Field Summary | |
---|---|
protected org.apache.avalon.framework.logger.Logger |
logger_
|
Constructor Summary | |
---|---|
AbstractPoolable()
|
Method Summary | |
---|---|
void |
dispose()
The call to this Method indicates that this Object is not needed by the user anymore. |
abstract void |
reset()
Reset the Object to an initial state. |
void |
setObjectPool(AbstractObjectPool pool)
Set the ObjectPool to which this instance should be returned. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final org.apache.avalon.framework.logger.Logger logger_
Constructor Detail |
public AbstractPoolable()
Method Detail |
public void dispose()
dispose
the Object can be returned to its ObjectPool. It's forbidden
to use the Object after release has been called as this may cause unexpected behaviour.
dispose
in interface org.picocontainer.Disposable
public void setObjectPool(AbstractObjectPool pool)
public abstract void reset()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |