Top Description Methods
jakarta.enterprise.inject.spi

public Interface Prioritized

Known Direct Subinterfaces
jakarta.enterprise.inject.build.compatible.spi.BuildServices, jakarta.enterprise.inject.spi.ObserverMethod, jakarta.enterprise.inject.spi.CDIProvider

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

Authors
Mark Paluch, Antoine Sabot-Durand
Since
2.0
See Also
Bean

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the priority value
getPriority
()

Returns the priority for this SPI element.

Method Detail

getPriorityback to summary
public int getPriority()

Returns the priority for this SPI element.

Returns:int

the priority value