Interface CtxDestroyListener

All Superinterfaces:
CtxListener

public interface CtxDestroyListener extends 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 Type
    Method
    Description
    void
    This method is called by BeanContext when a child context is destroyed.
    void
    This method is called by BeanContext when the context is destroyed.
  • Method Details

    • onCtxDestroyed

      void onCtxDestroyed(BeanContext ctx)
      This method is called by BeanContext when the context is destroyed.
      Parameters:
      ctx - the context destroyed
    • onChildCtxDestroyed

      void onChildCtxDestroyed(BeanContext ctx)
      This method is called by BeanContext when a child context is destroyed.
      Parameters:
      ctx - the child context