public abstract class ComponentTask<T> extends Object
| Constructor and Description |
|---|
ComponentTask(ConcurrentContainerMT container,
DependencyStackListener caller,
ComponentTaskType type)
The main constructor of a task
|
ComponentTask(String name,
ConcurrentContainerMT container,
DependencyStackListener caller,
ComponentTaskType type)
The main constructor of a task
|
| Modifier and Type | Method and Description |
|---|---|
T |
call(ConcurrentContainer.CreationalContextComponentAdapter<?> cCtx) |
protected abstract T |
execute(ConcurrentContainer.CreationalContextComponentAdapter<?> cCtx)
This is what is actually executed
|
DependencyStackListener |
getCaller() |
ConcurrentContainerMT |
getContainer() |
String |
getName() |
ComponentTaskType |
getType() |
public ComponentTask(ConcurrentContainerMT container, DependencyStackListener caller, ComponentTaskType type)
public ComponentTask(String name, ConcurrentContainerMT container, DependencyStackListener caller, ComponentTaskType type)
public String getName()
public ConcurrentContainerMT getContainer()
public DependencyStackListener getCaller()
public ComponentTaskType getType()
public final T call(ConcurrentContainer.CreationalContextComponentAdapter<?> cCtx) throws Exception
Exceptionprotected abstract T execute(ConcurrentContainer.CreationalContextComponentAdapter<?> cCtx) throws Exception
ExceptionCopyright © 2021 eXo Platform SAS. All Rights Reserved.