public class RegistrySingletonProvider extends SingletonProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
STATIC_INSTANCE |
| Constructor and Description |
|---|
RegistrySingletonProvider() |
| Modifier and Type | Method and Description |
|---|---|
<T> Singleton<T> |
create(Class<? extends T> type)
Create a new singleton
|
initialize, instance, resetpublic static final String STATIC_INSTANCE
public <T> Singleton<T> create(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.