Package org.glassfish.api.invocation
Enum ComponentInvocation.ComponentInvocationType
- java.lang.Object
-
- java.lang.Enum<ComponentInvocation.ComponentInvocationType>
-
- org.glassfish.api.invocation.ComponentInvocation.ComponentInvocationType
-
- All Implemented Interfaces:
Serializable
,Comparable<ComponentInvocation.ComponentInvocationType>
- Enclosing class:
- ComponentInvocation
public static enum ComponentInvocation.ComponentInvocationType extends Enum<ComponentInvocation.ComponentInvocationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_CLIENT_INVOCATION
EJB_INVOCATION
SERVICE_STARTUP
SERVLET_INVOCATION
UN_INITIALIZED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComponentInvocation.ComponentInvocationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComponentInvocation.ComponentInvocationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVLET_INVOCATION
public static final ComponentInvocation.ComponentInvocationType SERVLET_INVOCATION
-
EJB_INVOCATION
public static final ComponentInvocation.ComponentInvocationType EJB_INVOCATION
-
APP_CLIENT_INVOCATION
public static final ComponentInvocation.ComponentInvocationType APP_CLIENT_INVOCATION
-
UN_INITIALIZED
public static final ComponentInvocation.ComponentInvocationType UN_INITIALIZED
-
SERVICE_STARTUP
public static final ComponentInvocation.ComponentInvocationType SERVICE_STARTUP
-
-
Method Detail
-
values
public static ComponentInvocation.ComponentInvocationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ComponentInvocation.ComponentInvocationType c : ComponentInvocation.ComponentInvocationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComponentInvocation.ComponentInvocationType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-