@Deprecated public abstract static class DsContext.CommitListenerAdapter extends java.lang.Object implements DsContext.CommitListener
DsContext.CommitListener
. Use it if you need to implement only one of two methods.Constructor and Description |
---|
CommitListenerAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterCommit(CommitContext context,
java.util.Set<Entity> result)
Deprecated.
Called after a successful commit to the middleware.
|
void |
beforeCommit(CommitContext context)
Deprecated.
Called before sending data to the middleware.
|
public void beforeCommit(CommitContext context)
DsContext.CommitListener
beforeCommit
in interface DsContext.CommitListener
context
- commit contextpublic void afterCommit(CommitContext context, java.util.Set<Entity> result)
DsContext.CommitListener
afterCommit
in interface DsContext.CommitListener
context
- commit contextresult
- set of committed entities returning from the middleware service