public enum InterfaceType extends java.lang.Enum<InterfaceType>
Enum Constant and Description |
---|
BUSINESS_LOCAL |
BUSINESS_LOCAL_HOME |
BUSINESS_LOCALBEAN_HOME |
BUSINESS_REMOTE |
BUSINESS_REMOTE_HOME |
EJB_HOME |
EJB_LOCAL |
EJB_LOCAL_HOME |
EJB_OBJECT |
LOCALBEAN |
SERVICE_ENDPOINT |
TIMEOUT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
InterfaceType |
getCounterpart() |
java.lang.String |
getSpecName() |
boolean |
isBusiness() |
boolean |
isComponent() |
boolean |
isHome() |
boolean |
isLocal() |
boolean |
isLocalBean() |
boolean |
isRemote() |
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.
|
public static final InterfaceType EJB_HOME
public static final InterfaceType EJB_OBJECT
public static final InterfaceType EJB_LOCAL_HOME
public static final InterfaceType EJB_LOCAL
public static final InterfaceType BUSINESS_LOCAL
public static final InterfaceType LOCALBEAN
public static final InterfaceType BUSINESS_LOCAL_HOME
public static final InterfaceType BUSINESS_REMOTE
public static final InterfaceType BUSINESS_REMOTE_HOME
public static final InterfaceType SERVICE_ENDPOINT
public static final InterfaceType BUSINESS_LOCALBEAN_HOME
public static final InterfaceType TIMEOUT
public static final InterfaceType UNKNOWN
public static InterfaceType[] values()
for (InterfaceType c : InterfaceType.values()) System.out.println(c);
public static InterfaceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getSpecName()
public boolean isHome()
public boolean isComponent()
public boolean isBusiness()
public boolean isRemote()
public boolean isLocal()
public boolean isLocalBean()
public InterfaceType getCounterpart()