edu.rit.pj.cluster
Class BackendClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- edu.rit.pj.cluster.BackendClassLoader
-
public class BackendClassLoader extends java.lang.ClassLoaderClass BackendClassLoader provides a class loader for a job backend process in the PJ cluster middleware. If a backend class loader is requested to load a class and the parent class loaders cannot do so, the backend class loader sends a request for the class file to the job frontend process, waits for the job frontend process to send the class file, and loads the class.Class BackendClassLoader supports loading of resources that are class files. Support for loading of resources that are not class files is TBD.
-
-
Constructor Summary
Constructors Constructor and Description BackendClassLoader(java.lang.ClassLoader parent, JobBackendRef theJobBackend, JobFrontendRef theJobFrontend, ResourceCache theCache)Construct a new backend class loader.BackendClassLoader(JobBackendRef theJobBackend, JobFrontendRef theJobFrontend, ResourceCache theCache)Construct a new backend class loader.
-
Method Summary
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
-
-
-
-
Constructor Detail
-
BackendClassLoader
public BackendClassLoader(JobBackendRef theJobBackend, JobFrontendRef theJobFrontend, ResourceCache theCache)
Construct a new backend class loader. The parent class loader is the one returned by ClassLoader.getSystemClassLoader(). Class files will be requested from theJobFrontend. Class files will be stored in theCache.- Parameters:
theJobBackend- Reference to job backend.theJobFrontend- Reference to job frontend.theCache- Resource cache.
-
BackendClassLoader
public BackendClassLoader(java.lang.ClassLoader parent, JobBackendRef theJobBackend, JobFrontendRef theJobFrontend, ResourceCache theCache)Construct a new backend class loader. The parent class loader is parent. Class files will be requested from theJobFrontend. Class files will be stored in theCache.- Parameters:
parent- Parent class loader.theJobBackend- Reference to job backend.theJobFrontend- Reference to job frontend.theCache- Resource cache.
-
-
DMelt 3.0 © DataMelt by jWork.ORG