EAF 7.4 Util

com.lutris.classloader
Interface MultiClassLoader.ClassFilter

Enclosing class:
MultiClassLoader

public static interface MultiClassLoader.ClassFilter

A filter interface, used in deciding if a class should be loaded by this class loader.


Field Summary
static int CAN_LOAD
          Value returned to indicate that the class can be loaded by this class loader.
static int DONT_LOAD
          Value returned to indicate that the class should not be loaded by this class loader.
static int MUST_LOAD
          Value returned to indicate that the class must loaded by this class loader.
static int NORMAL_LOAD
          Value returned to indicate that we don't care, other filters maybe checked.
 
Method Summary
 int loadCheck(java.lang.String className)
          Check if a class should be loaded by this class loader.
 

Field Detail

NORMAL_LOAD

static final int NORMAL_LOAD
Value returned to indicate that we don't care, other filters maybe checked.

See Also:
Constant Field Values

DONT_LOAD

static final int DONT_LOAD
Value returned to indicate that the class should not be loaded by this class loader. Normal delation/secondary class loader checks will be done.

See Also:
Constant Field Values

CAN_LOAD

static final int CAN_LOAD
Value returned to indicate that the class can be loaded by this class loader. If it is not loaded, it will be passed to the secondary class loader. The delegate is not check, since it is check before this class loader.

See Also:
Constant Field Values

MUST_LOAD

static final int MUST_LOAD
Value returned to indicate that the class must loaded by this class loader. If it is not loaded, not other class loader will be checked.

See Also:
Constant Field Values
Method Detail

loadCheck

int loadCheck(java.lang.String className)
Check if a class should be loaded by this class loader.

Parameters:
className - the class being loaded.
Returns:
One of NORMAL_LOAD, DONT_LOAD, CAN_LOAD, or MUST_LOAD.

EAF 7.4 Util