public class BackgroundCommandServiceJdo extends org.apache.isis.applib.AbstractService implements org.apache.isis.applib.services.background.BackgroundCommandService
memento-ized action such that it can be executed asynchronously,
for example through a Quartz scheduler (using
BackgroundCommandExecutionFromBackgroundCommandServiceJdo).
This implementation has no UI and there are no other implementations of the service API, and so it annotated
with DomainService. This class is implemented in the
o.a.i.module:isis-module-command-jdo module. If that module is included in the classpath, it this means
that this service is automatically registered; no further configuration is required.
(That said, do note that other services in the o.a.i.module:isis-module-command-jdo do require explicit registration as services, eg in isis.properties).
| Constructor and Description |
|---|
BackgroundCommandServiceJdo() |
| Modifier and Type | Method and Description |
|---|---|
void |
schedule(org.apache.isis.applib.services.background.ActionInvocationMemento aim,
org.apache.isis.applib.services.command.Command parentCommand,
String targetClassName,
String targetActionName,
String targetArgs) |
allInstances, allMatches, allMatches, allMatches, allMatches, allMatches, firstMatch, firstMatch, firstMatch, firstMatch, firstMatch, getContainer, getUser, informUser, isPersistent, isValid, newAggregatedInstance, newAggregatedInstance, newTransientInstance, newViewModelInstance, persist, persistIfNotAlready, raiseError, remove, removeIfNotAlready, setContainer, uniqueMatch, uniqueMatch, uniqueMatch, uniqueMatch, uniqueMatch, validate, warnUserpublic BackgroundCommandServiceJdo()
public void schedule(org.apache.isis.applib.services.background.ActionInvocationMemento aim, org.apache.isis.applib.services.command.Command parentCommand, String targetClassName, String targetActionName, String targetArgs)
schedule in interface org.apache.isis.applib.services.background.BackgroundCommandServiceCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.