org.apache.openejb.client
Enum InterfaceType

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

public enum InterfaceType
extends java.lang.Enum<InterfaceType>

Version:
$Rev$ $Date$

Enum Constant Summary
BUSINESS_LOCAL
           
BUSINESS_LOCAL_HOME
           
BUSINESS_REMOTE
           
BUSINESS_REMOTE_HOME
           
EJB_HOME
           
EJB_LOCAL
           
EJB_LOCAL_HOME
           
EJB_OBJECT
           
 
Method Summary
static InterfaceType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InterfaceType[] 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

public static final InterfaceType EJB_HOME

EJB_OBJECT

public static final InterfaceType EJB_OBJECT

EJB_LOCAL_HOME

public static final InterfaceType EJB_LOCAL_HOME

EJB_LOCAL

public static final InterfaceType EJB_LOCAL

BUSINESS_LOCAL

public static final InterfaceType BUSINESS_LOCAL

BUSINESS_LOCAL_HOME

public static final InterfaceType BUSINESS_LOCAL_HOME

BUSINESS_REMOTE

public static final InterfaceType BUSINESS_REMOTE

BUSINESS_REMOTE_HOME

public static final InterfaceType BUSINESS_REMOTE_HOME
Method Detail

values

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

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

valueOf

public static InterfaceType 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 © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.