Package org.jppf.classloader
Interface ClassLoaderConnection<C>
- Type Parameters:
C- the type of communication channel used by this connection.
- All Superinterfaces:
NodeConnection<C>
- All Known Implementing Classes:
AbstractClassLoaderConnection,AsyncLocalClassLoaderConnection,RemoteClassLoaderConnection
Instances of this class represent the connection between a node's class loader and the driver.
- Author:
- Laurent Cohen
-
Method Summary
Methods inherited from interface org.jppf.node.NodeConnection
close, getChannel, init, reset
-
Method Details
-
loadResource
org.jppf.classloader.JPPFResourceWrapper loadResource(Map<org.jppf.classloader.ResourceIdentifier, Object> map, boolean dynamic, String requestUuid, List<String> uuidPath) throws ExceptionLoad the specified class from a driver connection.- Parameters:
map- contains the necessary resource request data.dynamic- true for a client class loader, false otherwise.requestUuid- identifies for which job the request is made.uuidPath- identifies the path to the driver or client that wil lookup and send back the requested resource.- Returns:
- a
JPPFResourceWrappercontaining the resource content. - Throws:
Exception- if the connection was lost and could not be reestablished.
-