Package org.jppf.classloader
Class JPPFLocalClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.jppf.classloader.AbstractJPPFClassLoaderLifeCycle
org.jppf.classloader.AbstractJPPFClassLoader
org.jppf.classloader.JPPFLocalClassLoader
- All Implemented Interfaces:
Closeable,AutoCloseable
JPPF class loader implementation for nodes running within the same JVM as the JPPF server (local nodes).
- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.classloader.AbstractJPPFClassLoaderLifeCycle
connection, dynamic, hookFactory, instanceNumber, notFoundCache, offline, remoteClassLoadingDisabled, resourceCache, uuidPath -
Constructor Summary
ConstructorsConstructorDescriptionJPPFLocalClassLoader(ClassLoaderConnection<?> connection, ClassLoader parent, List<String> uuidPath, org.jppf.utils.hooks.HookFactory hookFactory) Initialize this class loader with a parent class loader. -
Method Summary
Methods inherited from class org.jppf.classloader.AbstractJPPFClassLoader
clearNotFoundCache, computeCallable, computeRemoteData, findClass, findClass, findResource, findResources, fireEvent, getDelegationModel, getResource, getResourceAsStream, getResources, isClientClassLoader, isServerClassLoader, loadClass, loadJPPFClass, setDelegationModelMethods inherited from class org.jppf.classloader.AbstractJPPFClassLoaderLifeCycle
addURL, findMultipleResources, getClientUuid, getConnection, getHookFactory, getMultipleResources, getResourceCache, init, isOffline, isRemoteClassLoadingDisabled, loadResource, resetResourceCache, setRemoteClassLoadingDisabled, toStringMethods inherited from class java.net.URLClassLoader
definePackage, getPermissions, getURLs, newInstance, newInstanceMethods inherited from class java.security.SecureClassLoader
defineClass, defineClassMethods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
JPPFLocalClassLoader
public JPPFLocalClassLoader(ClassLoaderConnection<?> connection, ClassLoader parent, List<String> uuidPath, org.jppf.utils.hooks.HookFactory hookFactory) Initialize this class loader with a parent class loader.- Parameters:
connection- the connection to the driver.parent- a ClassLoader instance.uuidPath- unique identifier for the submitting application.hookFactory- aHookFactoryinstance.
-
-
Method Details
-
reset
protected void reset()Description copied from class:AbstractJPPFClassLoaderLifeCycleReset and reinitialize the connection to the server.- Specified by:
resetin classAbstractJPPFClassLoaderLifeCycle
-
close
public void close()Terminate this classloader and clean the resources it uses.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classAbstractJPPFClassLoader- See Also:
-