Package io.micronaut.aop
Enum Class InterceptorKind
- All Implemented Interfaces:
Serializable
,Comparable<InterceptorKind>
,Constable
Enum representing different interceptors kinds.
- Since:
- 2.4.0
- Author:
- graemerocher
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAround advice interception.Around advice interception.Introduction advice interception.Post construct interception.PreDestroy interception. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
static InterceptorKind
Returns the enum constant of this class with the specified name.static InterceptorKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AROUND
Around advice interception.- See Also:
-
AROUND_CONSTRUCT
Around advice interception.- Since:
- 3.0.0
- See Also:
-
INTRODUCTION
Introduction advice interception.- See Also:
-
POST_CONSTRUCT
Post construct interception.- Since:
- 3.0.0
- See Also:
-
PRE_DESTROY
PreDestroy interception.- Since:
- 3.0.0
- See Also:
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-
getAnnotationType
- Returns:
- The associated annotation type
-
getAnnotationName
- Returns:
- The associated annotation name
-