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 forSearchUIModel
s.
-
-
Field Summary
Fields Modifier and Type Field Description private ContentTypeExtensionPoint
_cTypeEP
private Set<String>
_filesLoaded
static String
ROLE
The component role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description SearchUIModelExtensionPoint()
Create the instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExtension(String id, String pluginName, String featureName, Configuration configuration)
Add an extension to this point.void
initialize()
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 Detail
-
_cTypeEP
private ContentTypeExtensionPoint _cTypeEP
-
_filesLoaded
private Set<String> _filesLoaded
-
-
Constructor Detail
-
SearchUIModelExtensionPoint
public SearchUIModelExtensionPoint()
Create the instance
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- 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
public void initialize() throws Exception
- Specified by:
initialize
in interfaceInitializable
- Overrides:
initialize
in classAbstractThreadSafeComponentExtensionPoint<SearchUIModel>
- Throws:
Exception
-
-