|
eXo Kernel :: Container Multi-Threaded 2.5.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.ComponentTask<T>
public abstract class ComponentTask<T>
This class represents a task to be launched to change the state of a component
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentTask(ConcurrentContainerMT container,
DependencyStackListener caller,
ComponentTaskType type)
public ComponentTask(String name,
ConcurrentContainerMT container,
DependencyStackListener caller,
ComponentTaskType type)
| Method Detail |
|---|
public String getName()
public ConcurrentContainerMT getContainer()
public DependencyStackListener getCaller()
public ComponentTaskType getType()
public final T call(ConcurrentContainer.CreationalContextComponentAdapter<?> cCtx)
throws Exception
Exception
protected abstract T execute(ConcurrentContainer.CreationalContextComponentAdapter<?> cCtx)
throws Exception
Exception
|
eXo Kernel :: Container Multi-Threaded 2.5.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||