public abstract static class SingletonCreator.Creator<T>
extends java.lang.Object
| Constructor and Description |
|---|
Creator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
create()
create the singleton instance
|
protected void |
destroy(T singleton)
cleans up the singleton instance.
|
protected abstract java.lang.Object |
getID()
returns a unique id which is used in the internal cache map as the key for the singleton instance.
|
protected boolean |
isExpired() |
protected abstract java.lang.Object getID()
protected abstract T create() throws java.lang.Exception
java.lang.Exceptionprotected boolean isExpired()
protected void destroy(T singleton) throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.