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
Constructors -
Method Summary
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
AbstractSelectorExtensionPoint
public AbstractSelectorExtensionPoint()
-
-
Method Details
-
select
- Specified by:
selectin interfaceComponentSelector- Throws:
ComponentException
-
hasComponent
- Specified by:
hasComponentin interfaceComponentSelector
-
release
- Specified by:
releasein interfaceComponentSelector
-
setParent
Description copied from interface:ParentAwareSet the parent component- Specified by:
setParentin interfaceParentAware- Parameters:
parentComponent- the parent component
-