Package io.micronaut.aop
Enum Class InterceptPhase
- All Implemented Interfaces:
- Serializable,- Comparable<InterceptPhase>,- Constable
Interceptor classes implement the Ordered interface
 in order to control the order of execution when multiple interceptors are present.
This class provides a set of common constants for typical phases used by interceptors thus making it easier to position an interceptor in the correct phase.
- Since:
- 1.0
- Author:
- Graeme Rocher
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionintstatic InterceptPhaseReturns the enum constant of this class with the specified name.static InterceptPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
VALIDATEValidation phase of execution.
- 
CACHECaching phase of execution.
- 
TRACETrace phase of execution.
- 
RETRYRetry phase of execution.
- 
ASYNCAsync phase of execution.
- 
TRANSACTIONTransaction phase of execution.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getPositionpublic int getPosition()- Returns:
- The position
 
 
-