Serializable
, Comparable<ClassLoaderHandler.DelegationOrder>
public static enum ClassLoaderHandler.DelegationOrder extends Enum<ClassLoaderHandler.DelegationOrder>
Enum Constant | Description |
---|---|
PARENT_FIRST |
Delegate to parent before handling in child.
|
PARENT_LAST |
Handle classloading in child before delegating to parent.
|
Modifier and Type | Method | Description |
---|---|---|
static ClassLoaderHandler.DelegationOrder |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ClassLoaderHandler.DelegationOrder[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassLoaderHandler.DelegationOrder PARENT_FIRST
public static final ClassLoaderHandler.DelegationOrder PARENT_LAST
public static ClassLoaderHandler.DelegationOrder[] values()
for (ClassLoaderHandler.DelegationOrder c : ClassLoaderHandler.DelegationOrder.values()) System.out.println(c);
public static ClassLoaderHandler.DelegationOrder 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 © 2018. All rights reserved.