CTX
- The context type to use, can by any Component
, service
or POJO.org.refcodes.component.FlushHandle<CTX>
, org.refcodes.component.HandleDirectory<H,org.refcodes.command.Undoable<CTX,?,?>>
, org.refcodes.component.HandleLookup<CTX,H>
, org.refcodes.component.ProgressHandle<CTX>
, org.refcodes.component.ResetHandle<CTX>
, JobBus<CTX,H>
, JobBusDirectory<CTX,String>
public class JobBusDirectoryImpl<CTX> extends AbstractJobBusDirectory<CTX,String>
JobBusDirectoryImpl
is a ready to use implementation of a
composite JobBusDirectory
extending the
AbstractJobBusDirectory
.Constructor | Description |
---|---|
JobBusDirectoryImpl(CTX aContext) |
Instantiates the
JobBusDirectoryImpl with the provided context
and and a pre-defined String objects generating
HandleGenerator . |
execute, execute, execute, flush, getException, getJob, getProgress, getResult, getResult, getResult, hasException, hasFlush, hasHandle, hasProgress, hasReset, hasResult, isExecuted, lookupHandle, removeHandle, reset, waitForExecution, waitForExecution
handleReferences, handles
hasHandle, lookupHandle, removeHandle
execute, execute, execute, getException, getResult, getResult, getResult, hasException, hasResult, isExecuted, waitForExecution, waitForExecution
public JobBusDirectoryImpl(CTX aContext)
JobBusDirectoryImpl
with the provided context
and and a pre-defined String
objects generating
HandleGenerator
. It is up to you which context (service,
Component
, POJO) you want to provide to a
job (Undoable
) when being executed.aContext
- The context which is passed to the job (Undoable
)
instances when being executed.Copyright © 2018. All rights reserved.