public enum Ejb2xViewType extends Enum<Ejb2xViewType>
MethodIntf
is not sufficient for this, as it cannot differentiate
between EJB 3 business and EJB 2 component viewsEnum Constant and Description |
---|
HOME |
LOCAL |
LOCAL_HOME |
REMOTE |
Modifier and Type | Method and Description |
---|---|
static Ejb2xViewType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ejb2xViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ejb2xViewType LOCAL
public static final Ejb2xViewType LOCAL_HOME
public static final Ejb2xViewType REMOTE
public static final Ejb2xViewType HOME
public static Ejb2xViewType[] values()
for (Ejb2xViewType c : Ejb2xViewType.values()) System.out.println(c);
public static Ejb2xViewType 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 © 2017 JBoss by Red Hat. All rights reserved.