@Deprecated
public static interface DsContext.CommitListener
CommitContext
with entities which must be committed in the
same transaction as datasources content. To do this, add needed entity instances to
CommitContext.getCommitInstances()
or
CommitContext.getRemoveInstances()
collections.Modifier and Type | Method and Description |
---|---|
void |
afterCommit(CommitContext context,
java.util.Set<Entity> result)
Deprecated.
Called after a succesfull commit to the middleware.
|
void |
beforeCommit(CommitContext context)
Deprecated.
Called before sending data to the middleware.
|
void beforeCommit(CommitContext context)
context
- commit contextvoid afterCommit(CommitContext context, java.util.Set<Entity> result)
context
- commit contextresult
- set of committed entities returning from the middleware service