org.apache.openejb.client
Enum InterfaceType
java.lang.Object
java.lang.Enum<InterfaceType>
org.apache.openejb.client.InterfaceType
- All Implemented Interfaces:
- Serializable, Comparable<InterfaceType>
public enum InterfaceType
- extends Enum<InterfaceType>
- Version:
- $Rev$ $Date$
Method Summary |
static InterfaceType |
valueOf(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. |
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
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(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
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.