|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
org.entityfs.util.lang.EntityClassLoader
org.schmant.tpm.TaskPackageClassLoader
org.schmant.tpm.IsolatedTaskPackageClassLoader
public class IsolatedTaskPackageClassLoader
This is the TaskPackageClassLoader
for the isolated class
loader strategy. It gives each task package its own class loader.
Constructor Summary | |
---|---|
IsolatedTaskPackageClassLoader(ClassLoader parent)
Create the class loader. |
Method Summary | |
---|---|
void |
addClasspath(String packageName,
List<? extends EntityView> l)
Add a list of packages to the class loader for a task package. |
void |
close()
Close this class loader and release all of its resources. |
protected Class<?> |
findClass(String name)
|
Methods inherited from class org.entityfs.util.lang.EntityClassLoader |
---|
addToClasspath, defineClass, definePackage, finalize, findFileInClasspath, getClassOrNull, getClasspath, getLogAdapter, getPackage, getPackages, getResourceAsStream, isDebugLoggingEnabled, isFinerLoggingEnabled, isTraceLoggingEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IsolatedTaskPackageClassLoader(ClassLoader parent)
parent
- The parent class loader.Method Detail |
---|
public void close()
close
in class EntityClassLoader
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class EntityClassLoader
ClassNotFoundException
public void addClasspath(String packageName, List<? extends EntityView> l)
TaskPackageClassLoader
The implementation of this method should be synchronized.
addClasspath
in class TaskPackageClassLoader
packageName
- The package name.l
- The classpath. All Jar files in the class path must be
FCRandomAccess
:ible.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |