public static class Manager.ManagerSingletonCreator extends SingletonCreator.Creator
| Constructor and Description |
|---|
ManagerSingletonCreator(Class managerClass) |
| Modifier and Type | Method and Description |
|---|---|
protected Manager |
create()
create the singleton instance
|
protected void |
destroy(Object singleton)
cleans up the singleton instance.
|
protected String |
getID()
returns a unique id which is used in the internal cache map as the key for the singleton instance.
|
isExpiredpublic ManagerSingletonCreator(Class managerClass)
protected String getID()
SingletonCreator.CreatorgetID in class SingletonCreator.Creatorprotected Manager create() throws Exception
SingletonCreator.Creatorcreate in class SingletonCreator.CreatorExceptionprotected void destroy(Object singleton) throws Exception
SingletonCreator.Creatordestroy in class SingletonCreator.CreatorExceptionCopyright © 2017 SAP SE. All Rights Reserved.