public class TransactionTemplate
extends java.lang.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 java.io.IOException
java.io.IOExceptionpublic ConnectionContext getContext()
public PersistenceAdapter getPersistenceAdapter()
Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.