com.sun.ejb.containers
Enum EJBContextImpl.BeanState

java.lang.Object
  extended by java.lang.Enum<EJBContextImpl.BeanState>
      extended by com.sun.ejb.containers.EJBContextImpl.BeanState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EJBContextImpl.BeanState>
Enclosing class:
EJBContextImpl

public static enum EJBContextImpl.BeanState
extends java.lang.Enum<EJBContextImpl.BeanState>


Enum Constant Summary
ACTIVATED
           
CREATED
           
DESTROYED
           
IN_ACTIVATE
           
IN_PASSIVATE
           
IN_REMOVE
           
INCOMPLETE_TX
           
INVOKING
           
PASSIVATED
           
POOLED
           
READY
           
 
Method Summary
static EJBContextImpl.BeanState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EJBContextImpl.BeanState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATED

public static final EJBContextImpl.BeanState CREATED

POOLED

public static final EJBContextImpl.BeanState POOLED

READY

public static final EJBContextImpl.BeanState READY

INVOKING

public static final EJBContextImpl.BeanState INVOKING

INCOMPLETE_TX

public static final EJBContextImpl.BeanState INCOMPLETE_TX

IN_PASSIVATE

public static final EJBContextImpl.BeanState IN_PASSIVATE

PASSIVATED

public static final EJBContextImpl.BeanState PASSIVATED

IN_ACTIVATE

public static final EJBContextImpl.BeanState IN_ACTIVATE

ACTIVATED

public static final EJBContextImpl.BeanState ACTIVATED

IN_REMOVE

public static final EJBContextImpl.BeanState IN_REMOVE

DESTROYED

public static final EJBContextImpl.BeanState DESTROYED
Method Detail

values

public static EJBContextImpl.BeanState[] 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 (EJBContextImpl.BeanState c : EJBContextImpl.BeanState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EJBContextImpl.BeanState 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
java.lang.NullPointerException - if the argument is null


Copyright © 2012 GlassFish Community. All Rights Reserved.