public class GridResourceIoc extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GridResourceIoc.AnnotationSet |
| Constructor and Description |
|---|
GridResourceIoc() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
inject(Object target,
Class<? extends Annotation> annCls,
org.apache.ignite.internal.processors.resource.GridResourceInjector injector,
@Nullable GridDeployment dep,
@Nullable Class<?> depCls)
Injects given resource via field or setter with specified annotations on provided target object.
|
void |
printMemoryStats()
Print memory statistics
|
public boolean inject(Object target, Class<? extends Annotation> annCls, org.apache.ignite.internal.processors.resource.GridResourceInjector injector, @Nullable @Nullable GridDeployment dep, @Nullable @Nullable Class<?> depCls) throws IgniteCheckedException
target - Target object.annCls - Setter annotation.injector - Resource to inject.dep - Deployment.depCls - Deployment class.True if resource was injected.IgniteCheckedException - Thrown in case of any errors during injection.public void printMemoryStats()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023