wt.workflow.definer
Class WfExpressionLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended bywt.workflow.definer.WfExpressionLoader
All Implemented Interfaces:
Serializable

public class WfExpressionLoader
extends ClassLoader
implements Serializable

Loader used to load classes associated with the workflow expressions.

Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.lang.ClassLoader
 
Field Summary
private static String CLASSNAME
           
static String CODEBASE
          Codebase directory.
static String EXPR_PACKAGE
          Name of the package where the class files associated with the expressions are stored.
private static Hashtable exprCache
           
private static String RESOURCE
           
static boolean VERBOSE
           
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
WfExpressionLoader()
           
 
Method Summary
protected static Class getClass(String name)
           
 Class loadClass(String name, boolean resolve)
          Overrides ClassLoader method to specialize the loading of workflow expressions.
private  byte[] loadClassData(String name)
          Retrieves a byte array with the class corresponding to name.
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

EXPR_PACKAGE

public static final String EXPR_PACKAGE
Name of the package where the class files associated with the expressions are stored.

Supported API: false


CODEBASE

public static final String CODEBASE
Codebase directory.

Supported API: false


VERBOSE

public static final boolean VERBOSE

exprCache

private static Hashtable exprCache
Constructor Detail

WfExpressionLoader

public WfExpressionLoader()
Method Detail

loadClass

public Class loadClass(String name,
                       boolean resolve)
                throws ClassNotFoundException
Overrides ClassLoader method to specialize the loading of workflow expressions. All names that don't correspond to workflow expressions are processed using "findSystemClass" method.

Supported API: false

Parameters:
name -
resolve -
Returns:
Class
Throws:
ClassNotFoundException

loadClassData

private byte[] loadClassData(String name)
                      throws ClassNotFoundException
Retrieves a byte array with the class corresponding to name. Only called for workflow expressions.

Parameters:
name -
Returns:
byte[]
Throws:
ClassNotFoundException

getClass

protected static Class getClass(String name)
                         throws ClassNotFoundException
Throws:
ClassNotFoundException