public class TransactionFilter extends Object implements DataChannelFilter
DataChannelFilter that provides transactions.| Modifier and Type | Field and Description |
|---|---|
protected TransactionManager |
transactionManager |
| Constructor and Description |
|---|
TransactionFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(DataChannel channel) |
QueryResponse |
onQuery(ObjectContext originatingContext,
Query query,
DataChannelFilterChain filterChain) |
GraphDiff |
onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType,
DataChannelFilterChain filterChain) |
protected TransactionManager transactionManager
public void init(DataChannel channel)
init in interface DataChannelFilterpublic QueryResponse onQuery(ObjectContext originatingContext, Query query, DataChannelFilterChain filterChain)
onQuery in interface DataChannelFilterpublic GraphDiff onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelFilterChain filterChain)
onSync in interface DataChannelFilterCopyright © 2001–2023 Apache Cayenne. All rights reserved.