org.apache.geronimo.openejb.deployment
Enum EjbInterface

java.lang.Object
  extended by java.lang.Enum<EjbInterface>
      extended by org.apache.geronimo.openejb.deployment.EjbInterface
All Implemented Interfaces:
Serializable, Comparable<EjbInterface>

public enum EjbInterface
extends Enum<EjbInterface>


Enum Constant Summary
HOME
           
LOCAL
           
LOCAL_HOME
           
REMOTE
           
SERVICE_ENDPOINT
           
 
Method Summary
 String getAttributeName()
           
 String getJaccInterfaceName()
           
static EjbInterface valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EjbInterface[] 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
 

Enum Constant Detail

HOME

public static final EjbInterface HOME

REMOTE

public static final EjbInterface REMOTE

LOCAL_HOME

public static final EjbInterface LOCAL_HOME

LOCAL

public static final EjbInterface LOCAL

SERVICE_ENDPOINT

public static final EjbInterface SERVICE_ENDPOINT
Method Detail

values

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

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

valueOf

public static EjbInterface 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

getAttributeName

public String getAttributeName()

getJaccInterfaceName

public String getJaccInterfaceName()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.