Interface Destroyable


  • public interface Destroyable
    Shiro container-agnostic interface that indicates that this object requires a callback during destruction.
    Since:
    0.2
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void destroy()
      Called when this object is being destroyed, allowing any necessary cleanup of internal resources.
    • Method Detail

      • destroy

        void destroy()
              throws Exception
        Called when this object is being destroyed, allowing any necessary cleanup of internal resources.
        Throws:
        Exception - if an exception occurs during object destruction.