org.apache.openejb.client
Enum RequestMethodCode

java.lang.Object
  extended by java.lang.Enum<RequestMethodCode>
      extended by org.apache.openejb.client.RequestMethodCode
All Implemented Interfaces:
Serializable, Comparable<RequestMethodCode>

public enum RequestMethodCode
extends Enum<RequestMethodCode>


Enum Constant Summary
EJB_HOME_CREATE
           
EJB_HOME_FIND
           
EJB_HOME_GET_EJB_META_DATA
           
EJB_HOME_GET_HOME_HANDLE
           
EJB_HOME_METHOD
           
EJB_HOME_REMOVE_BY_HANDLE
           
EJB_HOME_REMOVE_BY_PKEY
           
EJB_OBJECT_BUSINESS_METHOD
           
EJB_OBJECT_GET_EJB_HOME
           
EJB_OBJECT_GET_HANDLE
           
EJB_OBJECT_GET_PRIMARY_KEY
           
EJB_OBJECT_IS_IDENTICAL
           
EJB_OBJECT_REMOVE
           
FUTURE_CANCEL
           
JNDI_LIST
           
JNDI_LIST_BINDINGS
           
JNDI_LOOKUP
           
 
Method Summary
 int getCode()
           
static RequestMethodCode valueOf(int key)
           
static RequestMethodCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RequestMethodCode[] 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

EJB_HOME_GET_EJB_META_DATA

public static final RequestMethodCode EJB_HOME_GET_EJB_META_DATA

EJB_HOME_GET_HOME_HANDLE

public static final RequestMethodCode EJB_HOME_GET_HOME_HANDLE

EJB_HOME_REMOVE_BY_HANDLE

public static final RequestMethodCode EJB_HOME_REMOVE_BY_HANDLE

EJB_HOME_REMOVE_BY_PKEY

public static final RequestMethodCode EJB_HOME_REMOVE_BY_PKEY

EJB_HOME_FIND

public static final RequestMethodCode EJB_HOME_FIND

EJB_HOME_CREATE

public static final RequestMethodCode EJB_HOME_CREATE

EJB_OBJECT_GET_EJB_HOME

public static final RequestMethodCode EJB_OBJECT_GET_EJB_HOME

EJB_OBJECT_GET_HANDLE

public static final RequestMethodCode EJB_OBJECT_GET_HANDLE

EJB_OBJECT_GET_PRIMARY_KEY

public static final RequestMethodCode EJB_OBJECT_GET_PRIMARY_KEY

EJB_OBJECT_IS_IDENTICAL

public static final RequestMethodCode EJB_OBJECT_IS_IDENTICAL

EJB_OBJECT_REMOVE

public static final RequestMethodCode EJB_OBJECT_REMOVE

EJB_OBJECT_BUSINESS_METHOD

public static final RequestMethodCode EJB_OBJECT_BUSINESS_METHOD

EJB_HOME_METHOD

public static final RequestMethodCode EJB_HOME_METHOD

JNDI_LOOKUP

public static final RequestMethodCode JNDI_LOOKUP

JNDI_LIST

public static final RequestMethodCode JNDI_LIST

JNDI_LIST_BINDINGS

public static final RequestMethodCode JNDI_LIST_BINDINGS

FUTURE_CANCEL

public static final RequestMethodCode FUTURE_CANCEL
Method Detail

values

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

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

valueOf

public static RequestMethodCode 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 name
NullPointerException - if the argument is null

getCode

public int getCode()

valueOf

public static RequestMethodCode valueOf(int key)


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.