Interface CtxDestroyListener
- All Superinterfaces:
CtxListener
Interface that allows a bean to accept callbacks from BeanContext when the
context is destroyed.
- Since:
- 1.0
- Version:
- 2023-02-09
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called byBeanContextwhen a child context is destroyed.voidThis method is called byBeanContextwhen the context is destroyed.
-
Method Details
-
onCtxDestroyed
This method is called byBeanContextwhen the context is destroyed.- Parameters:
ctx- the context destroyed
-
onChildCtxDestroyed
This method is called byBeanContextwhen a child context is destroyed.- Parameters:
ctx- the child context
-