-
- 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 alternativeBean
,Interceptor
orDecorator
may implement this interface to be activated with a given priority- Since:
- 2.0
- Author:
- Mark Paluch, Antoine Sabot-Durand
- See Also:
Bean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPriority()
Returns the priority for this SPI element.
-