public enum InterceptorKind extends 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 |
---|---|
String |
getAnnotationName() |
Class<? extends Annotation> |
getAnnotationType() |
static InterceptorKind |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<? extends Annotation> getAnnotationType()
public String getAnnotationName()