public final class SchemeExporterEP<S extends Scheme> extends BaseKeyedLazyInstance<SchemeExporter<S>>
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<SchemeExporterEP<?>> |
EP_NAME |
java.lang.String |
implementationClass |
java.lang.String |
name |
java.lang.String |
schemeClass |
Constructor and Description |
---|
SchemeExporterEP() |
Modifier and Type | Method and Description |
---|---|
static <S extends Scheme> |
getExporter(java.lang.String name,
java.lang.Class<S> schemeClass)
Find an exporter for the given name and scheme class.
|
static <S extends Scheme> |
getExtensions(java.lang.Class<S> schemeClass)
Finds extensions supporting the given
schemeClass |
protected java.lang.String |
getImplementationClassName() |
createInstance, getInstance, getLoaderForClass, getPluginDescriptor, setPluginDescriptor
public static final ExtensionPointName<SchemeExporterEP<?>> EP_NAME
public java.lang.String name
public java.lang.String schemeClass
public java.lang.String implementationClass
protected java.lang.String getImplementationClassName()
getImplementationClassName
in class BaseKeyedLazyInstance<SchemeExporter<S extends Scheme>>
public static <S extends Scheme> java.util.Collection<SchemeExporterEP<S>> getExtensions(java.lang.Class<S> schemeClass)
schemeClass
schemeClass
- The class of the scheme to search extensions for.public static <S extends Scheme> SchemeExporter<S> getExporter(java.lang.String name, java.lang.Class<S> schemeClass)
name
- The exporter name as defined in plug-in configuration.schemeClass
- The scheme class the exporter has to support.