Module org.refcodes.jobbus
Package org.refcodes.jobbus
package org.refcodes.jobbus
This artifact makes use of the
Command pattern
and provides a frame to work with Command
(job) instances (also in a distributed environments, e.g. REST, SOA, Cloud
Computing) and provides do/undo functionality.
Please refer to the refcodes-jobbus: Asynchronous job execution documentation for an up-to-date and detailed description on the usage of this artifact.
-
ClassDescriptionAbstractJobBus<CTX,
H> TheAbstractJobBus
implements theJobBus
interface.AbstractJobBusDirectory<CTX,H> JobBus<CTX,H> TheJobBus
makes use of theUndoable
pattern and is used to execute job (Undoable
) instances by a client.JobBusDirectory<CTX,H> TheJobBusDirectory
is actually a plain extension of theJobBus
providing access to all the handles currently being managed by theJobBus
.JobBusProxy<CTX,H> TheJobBusProxy
implements aJobBus
proxy: aJobBus
proxy can use a remoteJobBus
whilst only delegating those operations to the remoteJobBus
which can be handled on the remote system.SimpleJobBus<CTX>TheSimpleJobBus
is a ready to use implementation of a compositeJobBus
wrapping aJobBusDirectory
(actually aJobBus
is sufficient) and delegating the method calls to the wrapped instances.TheSimpleJobBusDirectory
is a ready to use implementation of a compositeJobBusDirectory
extending theAbstractJobBusDirectory
.