intarsys runtime library

de.intarsys.tools.transaction
Class TransactionTools

java.lang.Object
  extended by de.intarsys.tools.transaction.TransactionTools

public class TransactionTools
extends Object

Tools for handling transactions.

Currently this lso implements the missing link between transactions and Resources.


Constructor Summary
TransactionTools()
           
 
Method Summary
static void delist(IResource resource)
           
static void enlist(IResource resource)
           
static
<T extends IResource>
T
getResource(IResourceType<T> type, boolean create)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionTools

public TransactionTools()
Method Detail

delist

public static void delist(IResource resource)
                   throws TransactionException
Throws:
TransactionException

enlist

public static void enlist(IResource resource)
                   throws TransactionException
Throws:
TransactionException

getResource

public static <T extends IResource> T getResource(IResourceType<T> type,
                                                  boolean create)
                                       throws TransactionException
Throws:
TransactionException

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.