public enum LookupJndiDestination extends Enum<LookupJndiDestination>
| Enum Constant and Description |
|---|
ALWAYS
Will always lookup the destinations through JNDI.
|
NEVER
Will never lookup for jndi destinations
|
TRY_ALWAYS
Will always try to lookup the destinations through JNDI but if it does not exists it will create a new one.
|
| Modifier and Type | Method and Description |
|---|---|
static LookupJndiDestination |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LookupJndiDestination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LookupJndiDestination NEVER
public static final LookupJndiDestination ALWAYS
public static final LookupJndiDestination TRY_ALWAYS
public static LookupJndiDestination[] values()
for (LookupJndiDestination c : LookupJndiDestination.values()) System.out.println(c);
public static LookupJndiDestination 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 © 2019. All rights reserved.