java.lang.Object
de.grogra.imp.IMPJobManager
- All Implemented Interfaces:
XAListener,Context,JobManager,Runnable,Executor
public final class IMPJobManager
extends Object
implements JobManager, Runnable, XAListener, Executor
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.pf.ui.JobManager
JobManager.ExecutionListenerNested classes/interfaces inherited from interface de.grogra.persistence.XAListener
XAListener.WeakDelegate -
Field Summary
Fields inherited from interface de.grogra.pf.ui.JobManager
ACTION_FLAGS, PRIORITY_MASK, QUIET, RENDER_FLAGS, RENDER_PRIORITY, UI_PRIORITY, UPDATE_FLAGS, UPDATE_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcancelQueuedJob(Command object) voidcancelTimedJob(Command object) final voidvoidDetermines the GUI component of this GUI context.longgetPanel()Determines the panel of this GUI context.Determines the window of this GUI context.Determines the workbench of this GUI context.booleanhasJobQueued(int minPriority) booleanvoidinitialize(Workbench workbench) voidvoidrun()voidvoidvoidvoidvoidvoidtransactionApplied(Transaction.Data xa, boolean rollback) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.grogra.pf.ui.JobManager
isExecuting
-
Method Details
-
getThreadContext
- Specified by:
getThreadContextin interfaceJobManager
-
getMainThread
- Specified by:
getMainThreadin interfaceJobManager
-
initialize
- Specified by:
initializein interfaceJobManager
-
getWorkbench
Description copied from interface:ContextDetermines the workbench of this GUI context.- Specified by:
getWorkbenchin interfaceContext- Returns:
- this context's workbench
-
getWindow
Description copied from interface:ContextDetermines the window of this GUI context. -
getPanel
Description copied from interface:ContextDetermines the panel of this GUI context. -
getComponent
Description copied from interface:ContextDetermines the GUI component of this GUI context.- Specified by:
getComponentin interfaceContext- Returns:
- this context's component
-
execute
-
runLater
- Specified by:
runLaterin interfaceJobManager
-
execute
- Specified by:
executein interfaceJobManager
-
runLater
- Specified by:
runLaterin interfaceJobManager
-
runAt
- Specified by:
runAtin interfaceJobManager
-
getNextInvocationTime
public long getNextInvocationTime() -
cancelQueuedJob
- Specified by:
cancelQueuedJobin interfaceJobManager
-
cancelTimedJob
- Specified by:
cancelTimedJobin interfaceJobManager
-
hasJobQueued
public boolean hasJobQueued(int minPriority) - Specified by:
hasJobQueuedin interfaceJobManager
-
hasTimedJobQueued
public boolean hasTimedJobQueued()- Specified by:
hasTimedJobQueuedin interfaceJobManager
-
runBlocking
- Specified by:
runBlockingin interfaceJobManager
-
transactionApplied
- Specified by:
transactionAppliedin interfaceXAListener
-
run
public void run() -
stop
- Specified by:
stopin interfaceJobManager
-
addExecutionListener
- Specified by:
addExecutionListenerin interfaceJobManager
-
removeExecutionListener
- Specified by:
removeExecutionListenerin interfaceJobManager
-