- 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<H>
,org.refcodes.component.HandleDirectory<H,
,org.refcodes.command.Undoable<CTX, ?, ?>> org.refcodes.component.HandleLookup<H,
,org.refcodes.command.Undoable<CTX, ?, ?>> JobBus<CTX,
,H> org.refcodes.component.ProgressHandle<H>
,org.refcodes.component.ResetHandle<H>
- All Known Implementing Classes:
AbstractJobBusDirectory
,SimpleJobBusDirectory
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>
The
JobBusDirectory
is actually a plain extension of the
JobBus
providing access to all the handles currently being managed by
the JobBus
. The JobBus
directory provides means to get a full
listing of currently known Undoable
(job) instances and the according
handles. Only privileged systems should access the JobBusDirectory
as
any system having access can intervene with the Undoable
(job)
instances without owning those Undoable
(job) instances (without
owning the according handle).-
Method Summary
Methods inherited from interface org.refcodes.component.FlushHandle
flush, flushUnchecked, hasFlush
Methods inherited from interface org.refcodes.component.HandleDirectory
handleReferences, handles
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
Methods inherited from interface org.refcodes.component.ProgressHandle
getProgress, hasProgress
Methods inherited from interface org.refcodes.component.ResetHandle
hasReset, reset