|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used to monitor modifications to a Destroyable object in the WebLogic Server. Implement methods in this interface create a monitor that can operate on a target object before or after a call to its destroy method takes place.
Destroyable
Method Summary | |
void |
postDestroy(Destroyable target,
ParamSet callbackData,
java.lang.Exception e)
Called after the target object has been destroyed. |
void |
preDestroy(Destroyable target,
ParamSet callbackData)
Called prior to destroying the target object. |
Methods inherited from interface weblogic.common.MonitorDef |
monitorInit,
setServices |
Method Detail |
public void preDestroy(Destroyable target, ParamSet callbackData) throws MonitorException
target
- Object about to be destroyedcallbackData
- User-supplied callback datapublic void postDestroy(Destroyable target, ParamSet callbackData, java.lang.Exception e)
The argument "e" passed to this method is an exception that occurred during the call to preDestroy(), or an exception from performing the operation itself. If this argument is null, then the preDestroy operation occurred; if it is non-null, the preDestroy operation did not occur.
target
- Destroyable destroyed objectcallbackData
- User-supplied callback datae
- An exception that occurred during the preDestroy
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |