public abstract class GridPeerDeployAwareTaskAdapter<T,R> extends ComputeTaskAdapter<T,R> implements GridPeerDeployAware
Modifier | Constructor and Description |
---|---|
protected |
GridPeerDeployAwareTaskAdapter(GridPeerDeployAware pda)
Constructor that receives deployment information for task.
|
Modifier and Type | Method and Description |
---|---|
ClassLoader |
classLoader()
Gets class loader for the class.
|
Class<?> |
deployClass()
Gets top level user class being deployed.
|
result
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
map, reduce
protected GridPeerDeployAwareTaskAdapter(@Nullable GridPeerDeployAware pda)
pda
- Deployment information.public Class<?> deployClass()
deployClass
in interface GridPeerDeployAware
public ClassLoader classLoader()
GridPeerDeployAware.deployClass()
as well as all of its
dependencies.
Note that in most cases the class loader returned from this method
and the class loader for the class returned from GridPeerDeployAware.deployClass()
method
will be the same. If they are not the same, it is required that the class loader
returned from this method still has to be able to load the deploy class and all its
dependencies.
classLoader
in interface GridPeerDeployAware
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017