public class AdditionalParameterFOSearchExtensionPoint extends AbstractLogEnabled implements ExtensionPoint<Configuration>, Component
| Modifier and Type | Field and Description | 
|---|---|
private Map<String,Configuration> | 
_extensions  | 
private Map<String,String> | 
_pluginNames  | 
static String | 
ROLE
The avalon role 
 | 
| Constructor and Description | 
|---|
AdditionalParameterFOSearchExtensionPoint()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addExtension(String id,
            String pluginName,
            String featureName,
            Configuration configuration)
Add an extension to this point. 
 | 
Configuration | 
getExtension(String id)
Returns the named extension 
 | 
Set<String> | 
getExtensionsIds()
Returns a Set containing the ids of all known extensions 
 | 
String | 
getPluginName(String id)
Get the plugin name of the extension 
 | 
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.  | 
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprivate Map<String,Configuration> _extensions
private Map<String,String> _pluginNames
public AdditionalParameterFOSearchExtensionPoint()
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException
ExtensionPointaddExtension in interface ExtensionPoint<Configuration>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 Configuration getExtension(String id)
ExtensionPointgetExtension in interface ExtensionPoint<Configuration>id - the unique id of the extensionpublic Set<String> getExtensionsIds()
ExtensionPointgetExtensionsIds in interface ExtensionPoint<Configuration>public boolean hasExtension(String id)
ExtensionPointhasExtension in interface ExtensionPoint<Configuration>id - the unique id of the extensionpublic void initializeExtensions() throws Exception
ExtensionPointaddExtension() calls.initializeExtensions in interface ExtensionPoint<Configuration>Exception - if something wrong occurspublic String getPluginName(String id)
id - the id of the extension