Package org.ametys.cms.search.ui.model
Class SearchUIModelExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<SearchUIModel>
org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<SearchUIModel>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class SearchUIModelExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<SearchUIModel>
Extension point for
SearchUIModel
s.-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(String id, String pluginName, String featureName, Configuration configuration) Add an extension to this point.void
void
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initializeExtensions
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The component role
-
-
Constructor Details
-
SearchUIModelExtensionPoint
public SearchUIModelExtensionPoint()Create the instance
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractThreadSafeComponentExtensionPoint<SearchUIModel>
- Throws:
ServiceException
-
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<SearchUIModel>
- Overrides:
addExtension
in classAbstractThreadSafeComponentExtensionPoint<SearchUIModel>
- 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
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Overrides:
initialize
in classAbstractThreadSafeComponentExtensionPoint<SearchUIModel>
- Throws:
Exception
-