Fork me on GitHub

The BackgroundCommandExecutionFromBackgroundCommandServiceJdo is a concrete subclass of BackgroundCommandExecution. The intended use is for the class to be instantiated regularly (eg every 10 seconds) by a scheduler such as Quartz) to poll for Commands to be executed, and then execute them. As you might imagine, this implementation queries for Commands persisted by the JDO implementations of CommandService and BackgroundCommandService, using the BackgroundCommandServiceJdoRepository.

The diagram below shows how the inheritance hierarchy for this class:

neat!

The diagrams on this page were created using yuml.me.

DSL (edit):

[AbstractIsisSessionTemplate|#doExecute()]^-[BackgroundCommandExecution|#findBackgroundCommandsToExecute()]
[BackgroundCommandExecution]^-[BackgroundCommandExecutionFromBackgroundCommandServiceJdo]
[BackgroundCommandExecutionFromBackgroundCommandServiceJdo]->injected[BackgroundCommandServiceJdoRepository|findBackgroundCommandsNotYetStarted()]