public enum InterceptorKind extends java.lang.Enum<InterceptorKind>
Enum Constant and Description |
---|
AROUND
Around advice interception.
|
AROUND_CONSTRUCT
Around advice interception.
|
INTRODUCTION
Introduction advice interception.
|
POST_CONSTRUCT
Post construct interception.
|
PRE_DESTROY
PreDestroy interception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotationName() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType() |
static InterceptorKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InterceptorKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterceptorKind AROUND
Around
public static final InterceptorKind AROUND_CONSTRUCT
AroundConstruct
public static final InterceptorKind INTRODUCTION
Introduction
public static final InterceptorKind POST_CONSTRUCT
PostConstruct
public static final InterceptorKind PRE_DESTROY
PreDestroy
public static InterceptorKind[] values()
for (InterceptorKind c : InterceptorKind.values()) System.out.println(c);
public static InterceptorKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
public java.lang.String getAnnotationName()