The JDO objectstore provides an implementation of the applib CommandService that persists the command data into a
CommandJdo entity. This is mapped to an
This supports a number of use cases:
Commands, it enables profiling of actions (eg identify slow actions, or simply to identify the most commonly used transactions)
Commands to be associated with any background child
Commands created through the applib BackgroundService.
Command(the 'cause' of an action) can be correlated to the audit records (the "effect" of the action) through the unique
Commandis also correlated with any published events, again through the unique
There are a further repository that can also be used:
CommandServiceJdoRepositoryservice provides a set of finders to query
Note that this service does not provide any infrastructure for executing background
Commands (actions annotated with
@Command(executeIn=BACKGROUND)). To execute these, configure the JDO implementation of the applib BackgroundCommandService.
This service is intended to be deployed in conjunction with the JDO implementation of the applib BackgroundCommandService, which provides the ability to persist "foreground"
Commands also as
CommandJdos (and to the same
Register like any other service in
isis.services=...,\ org.apache.isis.objectstore.jdo.applib.service.command.CommandServiceJdo,\ org.apache.isis.objectstore.jdo.applib.service.command.CommandServiceJdoRepository,\ ...
Assuming that you've also configured Isis to use the JDO objectstore, you should be good to go...
All edits are reviewed before going live, so feel free to do much more than fix typos or links. If you see a page that could benefit from an entire rewrite, we'd be thrilled to review it. Don't be surprised if we like it so much we ask you for help with other pages :)NOTICE: unless indicated otherwise on the pages in question, all editable content available from apache.org is presumed to be licensed under the Apache License (AL) version 2.0 and hence all submissions to apache.org treated as formal Contributions under the license terms.