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
SearchUIModels.-
Field Summary
FieldsFields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(String id, String pluginName, String featureName, Configuration configuration) Add an extension to this point.voidvoidservice(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initializeExtensionsMethods 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:
servicein interfaceServiceable- Overrides:
servicein classAbstractThreadSafeComponentExtensionPoint<SearchUIModel>- Throws:
ServiceException
-
addExtension
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException Description copied from interface:ExtensionPointAdd an extension to this point. Each implementation knows the meaning of the given configuration.- Specified by:
addExtensionin interfaceExtensionPoint<SearchUIModel>- Overrides:
addExtensionin 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:
initializein interfaceInitializable- Overrides:
initializein classAbstractThreadSafeComponentExtensionPoint<SearchUIModel>- Throws:
Exception
-