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
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023