public class SchemeImporterEP<S extends Scheme> extends AbstractExtensionPointBean
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<SchemeImporterEP> |
EP_NAME |
java.lang.String |
implementationClass |
java.lang.String |
name |
java.lang.String |
schemeClass |
myPluginDescriptor
Constructor and Description |
---|
SchemeImporterEP() |
Modifier and Type | Method and Description |
---|---|
static <S extends Scheme> |
getExtensions(java.lang.Class<S> schemeClass)
Finds extensions supporting the given
schemeClass |
static <S extends Scheme> |
getImporter(java.lang.String name,
java.lang.Class<S> schemeClass)
Find an importer for the given name and scheme class.
|
SchemeImporter<S> |
getInstance() |
findClass, findClass, findClassNoExceptions, findExtensionClass, getLoaderForClass, getPluginDescriptor, getPluginId, instantiate, instantiate, instantiate, instantiateClass, setPluginDescriptor
public static final ExtensionPointName<SchemeImporterEP> EP_NAME
public java.lang.String name
public java.lang.String schemeClass
public java.lang.String implementationClass
public SchemeImporter<S> getInstance()
public static <S extends Scheme> java.util.Collection<SchemeImporterEP<S>> getExtensions(java.lang.Class<S> schemeClass)
schemeClass
schemeClass
- The class of the scheme to search extensions for.public static <S extends Scheme> SchemeImporter<S> getImporter(java.lang.String name, java.lang.Class<S> schemeClass)
name
- The importer name as defined in plug-in configuration.schemeClass
- The scheme class the importer has to support.