public abstract class KeyedExtensionFactory<T,KeyT>
extends java.lang.Object
Constructor and Description |
---|
KeyedExtensionFactory(java.lang.Class<T> interfaceClass,
ExtensionPointName<KeyedFactoryEPBean> epName,
PicoContainer picoContainer) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
findByKey(java.lang.String key,
ExtensionPointName<KeyedFactoryEPBean> point,
PicoContainer picoContainer) |
T |
get() |
java.util.Set<java.lang.String> |
getAllKeys() |
T |
getByKey(KeyT key) |
abstract java.lang.String |
getKey(KeyT key) |
public KeyedExtensionFactory(java.lang.Class<T> interfaceClass, ExtensionPointName<KeyedFactoryEPBean> epName, PicoContainer picoContainer)
public T get()
public static <T> T findByKey(java.lang.String key, ExtensionPointName<KeyedFactoryEPBean> point, PicoContainer picoContainer)
public java.util.Set<java.lang.String> getAllKeys()
public abstract java.lang.String getKey(KeyT key)