org.apache.openejb
Enum InterfaceType
java.lang.Object
java.lang.Enum<InterfaceType>
org.apache.openejb.InterfaceType
- All Implemented Interfaces:
- Serializable, Comparable<InterfaceType>
public enum InterfaceType
- extends Enum<InterfaceType>
- Version:
- $Rev: 602704 $ $Date: 2007-12-09 18:58:22 +0100 (So, 09. Dez 2007) $
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
SERVICE_ENDPOINT
public static final InterfaceType SERVICE_ENDPOINT
UNKNOWN
public static final InterfaceType UNKNOWN
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
getSpecName
public String getSpecName()
isHome
public boolean isHome()
isComponent
public boolean isComponent()
isBusiness
public boolean isBusiness()
isRemote
public boolean isRemote()
isLocal
public boolean isLocal()
getCounterpart
public InterfaceType getCounterpart()
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.