public class SingletonProvider
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static <T> T | 
find(java.lang.Class<T> target)
Locates a suitable implementation for a target Class. 
 | 
static <T> T | 
findIfAvailable(java.lang.Class<T> target)
Locates a suitable implementation for a target Class if the
 singleton instance of that class has already been created. 
 | 
public static <T> T find(java.lang.Class<T> target)
May trigger initialization of an extension if the implementation is found on an extension that has not been initialized yet.
target - an interface or class that identifies the base type to look for.public static <T> T findIfAvailable(java.lang.Class<T> target)
target - an interface or class that identifies the base type to look for.