public class RegistrySingletonProvider extends SingletonProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
STATIC_INSTANCE |
| Constructor and Description |
|---|
RegistrySingletonProvider() |
| Modifier and Type | Method and Description |
|---|---|
<T> Singleton<T> |
create(java.lang.Class<? extends T> type)
Create a new singleton
|
initialize, instance, resetpublic static final java.lang.String STATIC_INSTANCE
public <T> Singleton<T> create(java.lang.Class<? extends T> type)
SingletonProvidercreate in class SingletonProviderT - type of Java object stored in the singletontype - represents the type of Java object stored in the singletonCopyright © 2015. All Rights Reserved.