@Deprecated public class DsContextCommitListenerWrapper extends java.lang.Object implements DsContext.BeforeCommitListener, DsContext.AfterCommitListener
Constructor and Description |
---|
DsContextCommitListenerWrapper(DsContext.CommitListener commitListener)
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.
|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
public DsContextCommitListenerWrapper(DsContext.CommitListener commitListener)
public void afterCommit(CommitContext context, java.util.Set<Entity> result)
DsContext.AfterCommitListener
afterCommit
in interface DsContext.AfterCommitListener
context
- commit contextresult
- set of committed entities returning from the middleware servicepublic void beforeCommit(CommitContext context)
DsContext.BeforeCommitListener
beforeCommit
in interface DsContext.BeforeCommitListener
context
- commit contextpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object