Interface Prioritized

  • All Known Subinterfaces:
    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
    See Also:
    Bean
    • Method Detail

      • getPriority

        int getPriority​()

        Returns the priority for this SPI element.

        Returns:
        the priority value