public enum InterceptionType extends Enum<InterceptionType>
Enum Constant and Description |
---|
AROUND_CONSTRUCT |
AROUND_INVOKE |
AROUND_TIMEOUT |
POST_ACTIVATE |
POST_CONSTRUCT |
PRE_DESTROY |
PRE_PASSIVATE |
Modifier and Type | Method and Description |
---|---|
String |
annotationClassName() |
boolean |
isLifecycleCallback() |
static InterceptionType |
valueOf(javax.enterprise.inject.spi.InterceptionType interceptionType) |
static InterceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterceptionType AROUND_INVOKE
public static final InterceptionType AROUND_TIMEOUT
public static final InterceptionType POST_CONSTRUCT
public static final InterceptionType PRE_DESTROY
public static final InterceptionType POST_ACTIVATE
public static final InterceptionType PRE_PASSIVATE
public static final InterceptionType AROUND_CONSTRUCT
public static InterceptionType[] values()
for (InterceptionType c : InterceptionType.values()) System.out.println(c);
public static InterceptionType 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 boolean isLifecycleCallback()
public String annotationClassName()
public static InterceptionType valueOf(javax.enterprise.inject.spi.InterceptionType interceptionType)
Copyright © 2016. All rights reserved.