public abstract class AbstractFunctionsExtensionPoint extends Object implements ExtensionPoint<String>
| Modifier and Type | Field and Description | 
|---|---|
private Map<String,String> | 
_extensions  | 
| Constructor and Description | 
|---|
AbstractFunctionsExtensionPoint()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addExtension(String id,
            String pluginName,
            String featureName,
            Configuration configuration)
Add an extension to this point. 
 | 
String | 
getExtension(String id)
Returns the named extension 
 | 
Set<String> | 
getExtensionsIds()
Returns a Set containing the ids of all known extensions 
 | 
boolean | 
hasExtension(String id)
Returns true if the named extension exists 
 | 
void | 
initializeExtensions()
Finalize the initialization of the extensions. 
This method is called after all addExtension() calls.This is the last step before the actual startup of the application.  | 
private Map<String,String> _extensions
public AbstractFunctionsExtensionPoint()
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException
ExtensionPointaddExtension in interface ExtensionPoint<String>id - the unique identifier of the extension.pluginName - Unique identifier for the plugin hosting the extensionfeatureName - Unique feature identifier (unique for a given pluginName)configuration - the information about the extension to be addedConfigurationException - when a configuration problem occurspublic void initializeExtensions() throws Exception
ExtensionPointaddExtension() calls.initializeExtensions in interface ExtensionPoint<String>Exception - if something wrong occurspublic boolean hasExtension(String id)
ExtensionPointhasExtension in interface ExtensionPoint<String>id - the unique id of the extensionpublic String getExtension(String id)
ExtensionPointgetExtension in interface ExtensionPoint<String>id - the unique id of the extensionpublic Set<String> getExtensionsIds()
ExtensionPointgetExtensionsIds in interface ExtensionPoint<String>