public enum CMPResAuthEnum extends 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(String v) |
String |
value() |
static CMPResAuthEnum |
valueOf(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(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 nullpublic String value()
public static CMPResAuthEnum fromValue(String v)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.