Package ome.services.util
Class ExecutionThread
- java.lang.Object
-
- ome.services.util.ExecutionThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
FullTextThread,PixelDataThread,ProcessManager
public abstract class ExecutionThread extends java.lang.Object implements java.lang.RunnableThread which can be started and will appropriately acquire a session, then use theExecutorto complete its work.- Since:
- 3.0-Beta3
-
-
Field Summary
Fields Modifier and Type Field Description protected Executorexecutorprotected SessionManagermanagerprotected ome.system.Principalprincipalprotected Executor.Workwork
-
Constructor Summary
Constructors Constructor Description ExecutionThread(SessionManager manager, Executor executor, Executor.Work work, ome.system.Principal principal)Main constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voiddoRun()ome.system.PrincipalgetPrincipal()voidrun()protected voidsessionInit()
-
-
-
Field Detail
-
manager
protected final SessionManager manager
-
executor
protected final Executor executor
-
work
protected final Executor.Work work
-
principal
protected final ome.system.Principal principal
-
-
Constructor Detail
-
ExecutionThread
public ExecutionThread(SessionManager manager, Executor executor, Executor.Work work, ome.system.Principal principal)
Main constructor. No arguments can be null.
-
-