Package de.hybris.platform.jalo
Class Manager.ManagerSingletonCreator
- java.lang.Object
-
- de.hybris.platform.util.SingletonCreator.Creator
-
- de.hybris.platform.jalo.Manager.ManagerSingletonCreator
-
- Enclosing class:
- Manager
public static class Manager.ManagerSingletonCreator extends SingletonCreator.Creator
-
-
Constructor Summary
Constructors Constructor Description ManagerSingletonCreator(java.lang.Class managerClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Managercreate()create the singleton instanceprotected voiddestroy(java.lang.Object singleton)cleans up the singleton instance.protected java.lang.StringgetID()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.Creatorreturns a unique id which is used in the internal cache map as the key for the singleton instance.- Specified by:
getIDin classSingletonCreator.Creator- Returns:
- the unique ID
-
create
protected Manager create() throws java.lang.Exception
Description copied from class:SingletonCreator.Creatorcreate the singleton instance- Specified by:
createin classSingletonCreator.Creator- Throws:
java.lang.Exception
-
destroy
protected void destroy(java.lang.Object singleton) throws java.lang.ExceptionDescription copied from class:SingletonCreator.Creatorcleans up the singleton instance. this hookin method is invoked whenever SingletonCreator.destroy() is called.- Overrides:
destroyin classSingletonCreator.Creator- Throws:
java.lang.Exception
-
-