Interface ContextualManager


  • public interface ContextualManager

    You should implement this interface if your managed will be handled within the given EE context (eg: JavaEE CDI context).

    .
    Since:
    0.8.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void destroy()
      Use this method to destroy your manager within the given context (usually JavaEE CDI).
      void initialize​(UserSystemManager userSystemManager)
      Use this method to initialize your manager within the given context (usually JavaEE CDI).
    • Method Detail

      • initialize

        void initialize​(UserSystemManager userSystemManager)
                 throws Exception

        Use this method to initialize your manager within the given context (usually JavaEE CDI).

        Parameters:
        userSystemManager - The users system manager instance for the given context.
        Throws:
        Exception
      • destroy

        void destroy()
              throws Exception

        Use this method to destroy your manager within the given context (usually JavaEE CDI).

        Throws:
        Exception