Package org.refcodes.jobbus
Interface JobBusDirectory<CTX,H>
-
- Type Parameters:
CTX
- The context type to use, can by anyComponent
, service or POJO.H
- The handle type used to reference a job.
- All Superinterfaces:
org.refcodes.component.FlushHandle<CTX>
,org.refcodes.component.HandleDirectory<H,org.refcodes.command.Undoable<CTX,?,?>>
,org.refcodes.component.HandleLookup<CTX,H>
,JobBus<CTX,H>
,org.refcodes.component.ProgressHandle<CTX>
,org.refcodes.component.ResetHandle<CTX>
- All Known Implementing Classes:
AbstractJobBusDirectory
,JobBusDirectoryImpl
public interface JobBusDirectory<CTX,H> extends JobBus<CTX,H>, org.refcodes.component.HandleDirectory<H,org.refcodes.command.Undoable<CTX,?,?>>, org.refcodes.component.HandleLookup<H,org.refcodes.command.Undoable<CTX,?,?>>, org.refcodes.component.ProgressHandle<H>, org.refcodes.component.ResetHandle<H>, org.refcodes.component.FlushHandle<H>
TheJobBusDirectory
is actually a plain extension of theJobBus
providing access to all the handles currently being managed by theJobBus
. TheJobBus
directory provides means to get a full listing of currently knownUndoable
(job) instances and the according handles. Only privileged systems should access theJobBusDirectory
as any system having access can intervene with theUndoable
(job) instances without owning thoseUndoable
(job) instances (without owning the according handle).
-
-
Method Summary
-
Methods inherited from interface org.refcodes.component.HandleLookup
hasHandle, lookupHandle, removeHandle
-
Methods inherited from interface org.refcodes.jobbus.JobBus
execute, execute, execute, getException, getResult, getResult, getResult, hasException, hasResult, isExecuted, waitForExecution, waitForExecution
-
-