Package de.hybris.platform.jalo
Class Manager.GenericManagerSingletonCreator
- java.lang.Object
-
- de.hybris.platform.util.SingletonCreator.Creator
-
- de.hybris.platform.jalo.Manager.GenericManagerSingletonCreator
-
- Enclosing class:
- Manager
public static class Manager.GenericManagerSingletonCreator extends SingletonCreator.Creator
-
-
Constructor Summary
Constructors Constructor Description GenericManagerSingletonCreator(java.lang.String extName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Manager
create()
create the singleton instanceprotected 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 de.hybris.platform.util.SingletonCreator.Creator
isExpired
-
-
-
-
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 classSingletonCreator.Creator
- Returns:
- the unique ID
-
create
protected Manager create() throws java.lang.Exception
Description copied from class:SingletonCreator.Creator
create the singleton instance- Specified by:
create
in classSingletonCreator.Creator
- Throws:
java.lang.Exception
-
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 classSingletonCreator.Creator
- Throws:
java.lang.Exception
-
-