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 DataChannelFilter
public QueryResponse onQuery(ObjectContext originatingContext, Query query, DataChannelFilterChain filterChain)
onQuery
in interface DataChannelFilter
public GraphDiff onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelFilterChain filterChain)
onSync
in interface DataChannelFilter
Copyright © 2001–2023 Apache Cayenne. All rights reserved.