public enum EjbType extends java.lang.Enum<EjbType>
| Enum Constant | Description |
|---|---|
ENTITY |
|
MESSAGE_DRIVEN |
|
SESSION |
| Modifier and Type | Method | Description |
|---|---|---|
static EjbType |
valueOf(java.lang.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(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 nullCopyright © 2018 JBoss by Red Hat. All rights reserved.