public class DeploymentResourceAdapter extends Object implements DeploymentResource
DeploymentResource
interface.Constructor and Description |
---|
DeploymentResourceAdapter(String name,
Class<?> rsrcCls,
ClassLoader clsLdr)
Creates resource.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ClassLoader |
getClassLoader()
Gets resource class loader.
|
String |
getName()
Gets resource name, either class name or alias name, such as alias
specified by
ComputeTaskName annotation. |
Class<?> |
getResourceClass()
Gets resource class.
|
int |
hashCode() |
String |
toString() |
public DeploymentResourceAdapter(String name, Class<?> rsrcCls, ClassLoader clsLdr)
name
- Resource name.rsrcCls
- Class.clsLdr
- Class loader.public String getName()
ComputeTaskName
annotation.getName
in interface DeploymentResource
public Class<?> getResourceClass()
getResourceClass
in interface DeploymentResource
public ClassLoader getClassLoader()
getClassLoader
in interface DeploymentResource
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024