public enum ClassLoaderLookupStrategy extends Enum<ClassLoaderLookupStrategy>
| Enum Constant and Description |
|---|
CHILD_FIRST
Class will be looked up from the child classloader first.
|
CHILD_ONLY
Class will be looked up from the child classloader only.
|
PARENT_FIRST
Class will be looked up from the parent classloader first.
|
PARENT_ONLY
Class will be looked up from the parent classloader only.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassLoaderLookupStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassLoaderLookupStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassLoaderLookupStrategy PARENT_FIRST
ClassNotFoundException will be thrown.public static final ClassLoaderLookupStrategy PARENT_ONLY
ClassNotFoundException will be thrown.public static final ClassLoaderLookupStrategy CHILD_FIRST
ClassNotFoundException will be thrown.public static final ClassLoaderLookupStrategy CHILD_ONLY
ClassNotFoundException will be thrown.public static ClassLoaderLookupStrategy[] values()
for (ClassLoaderLookupStrategy c : ClassLoaderLookupStrategy.values()) System.out.println(c);
public static ClassLoaderLookupStrategy 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 © 2003–2017 MuleSoft, Inc.. All rights reserved.