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> TheAbstractJobBusimplements theJobBusinterface.AbstractJobBusDirectory<CTX,H> JobBus<CTX,H> TheJobBusmakes use of theUndoablepattern and is used to execute job (Undoable) instances by a client.JobBusDirectory<CTX,H> TheJobBusDirectoryis actually a plain extension of theJobBusproviding access to all the handles currently being managed by theJobBus.JobBusProxy<CTX,H> TheJobBusProxyimplements aJobBusproxy: aJobBusproxy can use a remoteJobBuswhilst only delegating those operations to the remoteJobBuswhich can be handled on the remote system.SimpleJobBus<CTX>TheSimpleJobBusis a ready to use implementation of a compositeJobBuswrapping aJobBusDirectory(actually aJobBusis sufficient) and delegating the method calls to the wrapped instances.TheSimpleJobBusDirectoryis a ready to use implementation of a compositeJobBusDirectoryextending theAbstractJobBusDirectory.