|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.pool.RecyclableSupport
org.norther.tammi.core.pool.PoolableSupport
public class PoolableSupport
A support class for recyclable objects providing a pooling method.
| Constructor Summary | |
|---|---|
PoolableSupport()
Constructs a new poolable support. |
|
PoolableSupport(Poolable adaptee)
Constructs a new poolable adapter. |
|
| Method Summary | |
|---|---|
void |
disposed()
A call back indicating that this instance is not needed any more and can be disposed. |
void |
recycled(MBeanReference instance)
A callback specifying the pool, from which this instance was recycled. |
| Methods inherited from class org.norther.tammi.core.pool.RecyclableSupport |
|---|
dispose, isDisposed, recycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.core.pool.Recyclable |
|---|
dispose, isDisposed, recycle |
| Constructor Detail |
|---|
public PoolableSupport()
public PoolableSupport(Poolable adaptee)
adaptee - the poolable adaptee.| Method Detail |
|---|
public void recycled(MBeanReference instance)
Poolable
recycled in interface Poolableinstance - the pool MBean reference.public void disposed()
Poolable
disposed in interface Poolable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||