public enum CMPResAuthEnum extends java.lang.Enum<CMPResAuthEnum>
<simpleType name="CMPResAuthType"> <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> <enumeration value="Per_Connection_Factory"/> <enumeration value="Container"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CONTAINER |
PER_CONNECTION_FACTORY |
Modifier and Type | Method and Description |
---|---|
static CMPResAuthEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static CMPResAuthEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CMPResAuthEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CMPResAuthEnum PER_CONNECTION_FACTORY
public static final CMPResAuthEnum CONTAINER
public static CMPResAuthEnum[] values()
for (CMPResAuthEnum c : CMPResAuthEnum.values()) System.out.println(c);
public static CMPResAuthEnum 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 value()
public static CMPResAuthEnum fromValue(java.lang.String v)