Class AbstractThreadSafeComponentSupporterExtensionPoint<T extends Supporter<X>,X>

java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<T>
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentSupporterExtensionPoint<T,X>
Type Parameters:
T - the type of the managed extensions, must implement Supporter
X - The type of element supported
All Implemented Interfaces:
LogEnabled, ExtensionPoint<T>, Disposable, Initializable, Component, Contextualizable, Serviceable, ThreadSafe
Direct Known Subclasses:
AccessControllerExtensionPoint, ActivityNotifierExtensionPoint, ActivityTypeExtensionPoint, PropertySectionExclusionExtensionPoint, ReportExtensionPoint

Avalon based implementation of an Supporter ExtensionPoint.
  • Constructor Details

  • Method Details

    • getSupportingExtensions

      public List<T> getSupportingExtensions(X element)
      Get the extensions that support the element.
      Parameters:
      element - The element
      Returns:
      The list of extensions
    • _getSupportingExtensions

      protected Stream<T> _getSupportingExtensions(X element)
      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