@Deprecated public enum LoaderType extends java.lang.Enum<LoaderType>
Extension2.getPreferredLoader() method.| Enum Constant and Description | 
|---|
GLOBAL
Deprecated.  
When an extension is loaded in a global loader, it can see classes from 
 all other extensions loaded in the global loader. 
 | 
ISOLATED
Deprecated.  
When an extension is loaded in an isolated loader, it can only see classes
 from extensions it depends on, their dependencies, or classpath entries
 they provide. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static LoaderType | 
valueOf(java.lang.String name)
Deprecated.  
Returns the enum constant of this type with the specified name. 
 | 
static LoaderType[] | 
values()
Deprecated.  
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final LoaderType ISOLATED
public static final LoaderType GLOBAL
public static LoaderType[] values()
for (LoaderType c : LoaderType.values()) System.out.println(c);
public static LoaderType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null