org.jboss.metadata.ejb.spec
public enum EjbType extends Enum<EjbType>
Enum Constant and Description |
---|
ENTITY |
MESSAGE_DRIVEN |
SESSION |
Modifier and Type | Method and Description |
---|---|
static EjbType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EjbType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EjbType ENTITY
public static final EjbType MESSAGE_DRIVEN
public static final EjbType SESSION
public static EjbType[] values()
for (EjbType c : EjbType.values()) System.out.println(c);
public static EjbType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014 JBoss by Red Hat. All rights reserved.