public class TransactionTemplate extends Object
Constructor and Description |
---|
TransactionTemplate(PersistenceAdapter persistenceAdapter,
ConnectionContext context) |
Modifier and Type | Method and Description |
---|---|
ConnectionContext |
getContext() |
PersistenceAdapter |
getPersistenceAdapter() |
void |
run(Callback task) |
public TransactionTemplate(PersistenceAdapter persistenceAdapter, ConnectionContext context)
public void run(Callback task) throws IOException
IOException
public ConnectionContext getContext()
public PersistenceAdapter getPersistenceAdapter()
Copyright © 2005–2019 FuseSource, Corp.. All rights reserved.