com.bm.ejb3metadata.annotations
Enum InterceptorType
java.lang.Object
java.lang.Enum<InterceptorType>
com.bm.ejb3metadata.annotations.InterceptorType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<InterceptorType>
public enum InterceptorType
- extends java.lang.Enum<InterceptorType>
This class defines the type available for life cycle events.
- Author:
- Florent Benoit
Method Summary |
static InterceptorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static InterceptorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
AROUND_INVOKE
public static final InterceptorType AROUND_INVOKE
- List of the types.
POST_CONSTRUCT
public static final InterceptorType POST_CONSTRUCT
PRE_DESTROY
public static final InterceptorType PRE_DESTROY
POST_ACTIVATE
public static final InterceptorType POST_ACTIVATE
PRE_PASSIVATE
public static final InterceptorType PRE_PASSIVATE
DEP_INJECT
public static final InterceptorType DEP_INJECT
values
public static final InterceptorType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(InterceptorType c : InterceptorType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static InterceptorType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2008. All Rights Reserved.