public enum ContextClassLoaderStrategy extends Enum<ContextClassLoaderStrategy>
| Enum Constant and Description |
|---|
USE_HOST
This strategy ensures the context class loader will be set to the host application's class loader.
|
USE_PLUGIN
This strategy ensures the context class loader remains the bundle's class loader.
|
| Modifier and Type | Method and Description |
|---|---|
static ContextClassLoaderStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextClassLoaderStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextClassLoaderStrategy USE_PLUGIN
public static final ContextClassLoaderStrategy USE_HOST
public static ContextClassLoaderStrategy[] values()
for (ContextClassLoaderStrategy c : ContextClassLoaderStrategy.values()) System.out.println(c);
public static ContextClassLoaderStrategy 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 © 2014 Atlassian. All rights reserved.