public interface GridPeerDeployAware extends Serializable
This interface is intended to be used primarily by Ignite's code. User's code can however implement this interface, for example, if it wraps a closure or a predicate and wants to maintain its peer deployment information so that the user class could be peer-deployed as well.
Modifier and Type | Method and Description |
---|---|
ClassLoader |
classLoader()
Gets class loader for the class.
|
Class<?> |
deployClass()
Gets top level user class being deployed.
|
Class<?> deployClass()
ClassLoader classLoader()
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 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.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017