Class JoramAdmin

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean

    public class JoramAdmin
    extends Object
    implements org.springframework.beans.factory.DisposableBean
    this class holds the Joram wrapper admin and the connection
    • Constructor Detail

      • JoramAdmin

        public JoramAdmin()
    • Method Detail

      • getWrapper

        public static AdminItf getWrapper()
        Returns:
        the admin wrapper
      • setWrapper

        public static void setWrapper​(AdminItf wrapper)
        Parameters:
        wrapper - the admin wrapper to set
      • setConnection

        public static void setConnection​(Connection cnx)
        Parameters:
        cnx - the admin connection to set
      • destroy

        public void destroy()
                     throws Exception
        Close the admin wrapper and the connection.
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception
        See Also:
        DisposableBean.destroy()