wt.workflow.definer
Class WfExpressionLoader
java.lang.Object
java.lang.ClassLoader
wt.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 classes inherited from class java.lang.ClassLoader |
|
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 |
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
WfExpressionLoader
public WfExpressionLoader()
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