Class AbstractThreadSafeComponentPrioritizableSupporterExtensionPoint<T extends Prioritizable & Supporter<X>,X>
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<T>
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentPrioritizableExtensionPoint<T>
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentPrioritizableSupporterExtensionPoint<T,X>
- Type Parameters:
T
- the type of the managed extensions, must implementSupporter
andPrioritizable
X
- The type of element supported
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<T>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public abstract class AbstractThreadSafeComponentPrioritizableSupporterExtensionPoint<T extends Prioritizable & Supporter<X>,X>
extends AbstractThreadSafeComponentPrioritizableExtensionPoint<T>
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFirstSupportingExtension
(X element) Get the first extension that support the elementgetSupportingExtensions
(X element) Get the extension that support the elementMethods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentPrioritizableExtensionPoint
getComparator, getExtensionsIds, initializeExtensions, sortPriorityAscending
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, hasExtension, initialize, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
AbstractThreadSafeComponentPrioritizableSupporterExtensionPoint
-
-
Method Details
-
getSupportingExtensions
Get the extension that support the element- Parameters:
element
- The element- Returns:
- The list of extensions
-
getFirstSupportingExtension
Get the first extension that support the element- Parameters:
element
- The element- Returns:
- The extension
-