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
- Direct Known Subclasses:
CDMFrSyncExtensionPoint
,ObserverExtensionPoint
,ProfileAssignmentStorageExtensionPoint
,PropertySectionExtensionPoint
,ResourceDependenciesListExtensionPoint
,SearchComponentExtensionPoint
,SiteGetterExtensionPoint
,TechnicalItemExtensionPoint
,UserDataProviderExtensionPoint
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
Constructors -
Method Summary
Modifier and TypeMethodDescription_getSupportingExtensions
(X element) Get the extensions that support the element.getFirstSupportingExtension
(X element) Get the first extension that support the element.getSupportingExtensions
(X element) Get the extensions that support the element.Methods 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 extensions 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
-
_getSupportingExtensions
Get the extensions that support the element. Override this method to add specific filters, it will impact all other methods getting supported extensions.- Parameters:
element
- The element- Returns:
- The list of extensions as a
Stream
-