Class AbstractSelectorExtensionPoint<T extends Component>
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<T>
org.ametys.runtime.plugin.component.AbstractSelectorExtensionPoint<T>
- Type Parameters:
T
- the type of the managed extensions. Must extends Component to be compatible with the ComponentSelector contract
- All Implemented Interfaces:
LogEnabled
,ParentAware
,ExtensionPoint<T>
,Disposable
,Initializable
,Component
,ComponentSelector
,Contextualizable
,Serviceable
,ThreadSafe
- Direct Known Subclasses:
InputModulesExtensionPoint
,SourceFactoriesExtensionPoint
public abstract class AbstractSelectorExtensionPoint<T extends Component>
extends AbstractThreadSafeComponentExtensionPoint<T>
implements ParentAware, ComponentSelector
Bridge between the plugin stuff and Cocoon ComponentSelectors.
The aim is to provide a way to declare InputModules, DataSources, SourceFactories, ... at the plugin level.
Selectable components are declared as extensions to this extension point and may be used as normal Cocoon components.
The aim is to provide a way to declare InputModules, DataSources, SourceFactories, ... at the plugin level.
Selectable components are declared as extensions to this extension point and may be used as normal Cocoon components.
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
AbstractSelectorExtensionPoint
public AbstractSelectorExtensionPoint()
-
-
Method Details
-
select
- Specified by:
select
in interfaceComponentSelector
- Throws:
ComponentException
-
hasComponent
- Specified by:
hasComponent
in interfaceComponentSelector
-
release
- Specified by:
release
in interfaceComponentSelector
-
setParent
Description copied from interface:ParentAware
Set the parent component- Specified by:
setParent
in interfaceParentAware
- Parameters:
parentComponent
- the parent component
-