public class SingletonFactory
extends java.lang.Object
SingletonFactory class provides a static convenience method for getting the singleton instance for a particular class.| Constructor and Description | 
|---|
SingletonFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <S> S | 
getSingletonInstance(java.lang.Class<S> type, java.lang.String name)
Get the singleton instance for the given type and name. 
 | 
public static <S> S getSingletonInstance(java.lang.Class<S> type,
                         java.lang.String name)
S - the type of the singletontype - the type of the singletonname - the name of the singleton