public interface Singleton<T>
SingletonProvider
T get(String id)
id
- singleton identifierIllegalStateException
- if the singleton is not setboolean isSet(String id)
id
- singleton identifiervoid set(String id, T object)
id
- singleton identifierobject
- the object to storevoid clear(String id)
id
- singleton identifierCopyright © 2008-2015. All Rights Reserved.