public abstract static class SingletonCreator.Creator<T> extends 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 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 Object getID()
protected abstract T create() throws Exception
Exceptionprotected boolean isExpired()
Copyright © 2017 SAP SE. All Rights Reserved.