Interface ConfigurableExtensionFactory<EXTTYPE extends Extension,CONFIGTYPE extends Configuration>
- Type Parameters:
EXTTYPE
-CONFIGTYPE
-
- All Superinterfaces:
ConfigurationManager<CONFIGTYPE>
,ExtensionFactory<EXTTYPE>
,IdentifiableComponent
public interface ConfigurableExtensionFactory<EXTTYPE extends Extension,CONFIGTYPE extends Configuration>
extends ExtensionFactory<EXTTYPE>, ConfigurationManager<CONFIGTYPE>
- Author:
- Manuel Fiorelli <fiorelli@info.uniroma2.it>, Armando Stellato <stellato@uniroma2.it>
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(CONFIGTYPE conf) Instantiates an extension based on the given configuration object.Returns allowed configurations for this factory.Methods inherited from interface it.uniroma2.art.semanticturkey.config.ConfigurationManager
deleteConfiguration, getConfiguration, getConfigurationReferences, getConfigurationScopes, storeConfiguration
Methods inherited from interface it.uniroma2.art.semanticturkey.extension.ExtensionFactory
getDescription, getExtensionType, getId, getInterfaces, getName
-
Method Details
-
createInstance
Instantiates an extension based on the given configuration object.- Parameters:
conf
-- Returns:
- Throws:
InvalidConfigurationException
-
getConfigurations
Collection<CONFIGTYPE> getConfigurations()Returns allowed configurations for this factory.- Returns:
-