Interface Prioritized

  • All Known Subinterfaces:
    BuildServices, CDIProvider, ObserverMethod<T>

    public interface Prioritized

    This interface allows some SPI implementation to change their priority programmatically.

    For instance ObserverMethod extends this interface to set the observer priority. A custom alternative Bean, Interceptor or Decorator may implement this interface to be activated with a given priority

    Since:
    2.0
    Author:
    Mark Paluch, Antoine Sabot-Durand
    See Also:
    Bean
    • Method Detail

      • getPriority

        int getPriority()

        Returns the priority for this SPI element.

        Returns:
        the priority value