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
Bean
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Returns the priority for this SPI element.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.