Interface Destroyable


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

    Modifier and Type
    Method
    Description
    void
    Called when this object is being destroyed, allowing any necessary cleanup of internal resources.
  • Method Details

    • 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.