Enum Constant and Description |
---|
BMP_ENTITY |
CMP_ENTITY |
MANAGED |
MESSAGE_DRIVEN |
SINGLETON |
STATEFUL |
STATELESS |
Modifier and Type | Method and Description |
---|---|
boolean |
isCdiCompatible() |
boolean |
isEntity() |
boolean |
isMessageDriven() |
boolean |
isSession() |
static BeanType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeanType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanType STATEFUL
public static final BeanType STATELESS
public static final BeanType SINGLETON
public static final BeanType BMP_ENTITY
public static final BeanType CMP_ENTITY
public static final BeanType MESSAGE_DRIVEN
public static final BeanType MANAGED
public static BeanType[] values()
for (BeanType c : BeanType.values()) System.out.println(c);
public static BeanType 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 boolean isEntity()
public boolean isSession()
public boolean isCdiCompatible()
public boolean isMessageDriven()