jfun.jaskell.classloader
Interface LoadingPolicy

All Known Implementing Classes:
SimpleLoadingPolicy

public interface LoadingPolicy

Represents the class loading policy.

Zephyr Business Solution

Author:
Ben Yu

Method Summary
 boolean isChildOnly(java.lang.String name)
          This is the third priority.
 boolean isParentFirst(java.lang.String name)
          The lowest priority parameter.
 boolean isParentOnly(java.lang.String name)
          This is the highest priority.
 boolean isSystem(java.lang.String name)
          This is the second priority.
 

Method Detail

isParentOnly

boolean isParentOnly(java.lang.String name)
This is the highest priority. if true, the class is only loaded from parent.

Parameters:
name - the class or resource name.
Returns:
is it parent only?

isSystem

boolean isSystem(java.lang.String name)
This is the second priority. if true, the parent is always consulted first, even if it is child only.

Parameters:
name - the class or resource name.
Returns:
is it a system resource/class?

isChildOnly

boolean isChildOnly(java.lang.String name)
This is the third priority. if true, the parent is ignored.

Parameters:
name - the class or resource name.
Returns:
is it child only?

isParentFirst

boolean isParentFirst(java.lang.String name)
The lowest priority parameter. If true, the parent class is consuled first.

Parameters:
name - the class or resource name.
Returns:
is it parent first?