Package org.ametys.web.frontoffice
Class AdditionalParameterFOSearchExtensionPoint
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.web.frontoffice.AdditionalParameterFOSearchExtensionPoint
- All Implemented Interfaces:
ExtensionPoint<Configuration>
,Component
,LogEnabled
public class AdditionalParameterFOSearchExtensionPoint
extends AbstractLogEnabled
implements ExtensionPoint<Configuration>, Component
This extension point handle additional parameters for FO search service
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(String id, String pluginName, String featureName, Configuration configuration) Add an extension to this point.getExtension
(String id) Returns the named extensionReturns a Set containing the ids of all known extensionsgetPluginName
(String id) Get the plugin name of the extensionboolean
hasExtension
(String id) Returns true if the named extension existsvoid
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
ROLE
The avalon role
-
-
Constructor Details
-
AdditionalParameterFOSearchExtensionPoint
-
-
Method Details
-
addExtension
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException Description copied from interface:ExtensionPoint
Add an extension to this point. Each implementation knows the meaning of the given configuration.- Specified by:
addExtension
in interfaceExtensionPoint<Configuration>
- Parameters:
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 added- Throws:
ConfigurationException
- when a configuration problem occurs
-
getExtension
Description copied from interface:ExtensionPoint
Returns the named extension- Specified by:
getExtension
in interfaceExtensionPoint<Configuration>
- Parameters:
id
- the unique id of the extension- Returns:
- the named extension
-
getExtensionsIds
Description copied from interface:ExtensionPoint
Returns a Set containing the ids of all known extensions- Specified by:
getExtensionsIds
in interfaceExtensionPoint<Configuration>
- Returns:
- a Set containing the ids of all known extensions
-
hasExtension
Description copied from interface:ExtensionPoint
Returns true if the named extension exists- Specified by:
hasExtension
in interfaceExtensionPoint<Configuration>
- Parameters:
id
- the unique id of the extension- Returns:
- true if the named extension exists
-
initializeExtensions
Description copied from interface:ExtensionPoint
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.- Specified by:
initializeExtensions
in interfaceExtensionPoint<Configuration>
- Throws:
Exception
- if something wrong occurs
-
getPluginName
Get the plugin name of the extension- Parameters:
id
- the id of the extension- Returns:
- the plugin name
-