Class Manager.GenericManagerSingletonCreator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Manager create()
      create the singleton instance
      protected void destroy​(java.lang.Object singleton)
      cleans up the singleton instance.
      protected java.lang.String getID()
      returns a unique id which is used in the internal cache map as the key for the singleton instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenericManagerSingletonCreator

        public GenericManagerSingletonCreator​(java.lang.String extName)
    • Method Detail

      • getID

        protected java.lang.String getID()
        Description copied from class: SingletonCreator.Creator
        returns a unique id which is used in the internal cache map as the key for the singleton instance.
        Specified by:
        getID in class SingletonCreator.Creator
        Returns:
        the unique ID
      • destroy

        protected void destroy​(java.lang.Object singleton)
                        throws java.lang.Exception
        Description copied from class: SingletonCreator.Creator
        cleans up the singleton instance. this hookin method is invoked whenever SingletonCreator.destroy() is called.
        Overrides:
        destroy in class SingletonCreator.Creator
        Throws:
        java.lang.Exception