|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A pooled object is a stub for its original object, which is accessible via the same interface.
The original underlying object is not necessarily in core; if a
passivation manager class is
associated with the ObjectPool containing the
object, and the object is passivable according to that manager,
the original object may be passivated on some secondary storage.
| Method Summary | |
void |
_activate()
Activate the object - retrieving it from secondary memory. |
java.lang.Object |
_getOriginal()
Activate the object, if necessary, and returns the original object. |
boolean |
_isPassivable()
Return the invariant passivable.state |
boolean |
_isPassivableNow()
Return the current passivable.state |
boolean |
_isPassivated()
Return the passivate.state |
void |
_passivate()
Passivate the object - storing it on secondary storage and freeing core memory. |
void |
_releaseOriginal()
Release the original, marking it as passivable. |
| Method Detail |
public java.lang.Object _getOriginal()
throws ActivationException
releaseOriginal().
ActivationExceptionpublic void _releaseOriginal()
public void _passivate()
throws PassivationException
PassivationException
public void _activate()
throws ActivationException
ActivationExceptionpublic boolean _isPassivable()
public boolean _isPassivableNow()
public boolean _isPassivated()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||