org.skife.intercept.interceptors.tx
Class ODMGTransactionFactory

java.lang.Object
  |
  +--org.skife.intercept.interceptors.tx.ODMGTransactionFactory
All Implemented Interfaces:
TransactionFactory

public class ODMGTransactionFactory
extends java.lang.Object
implements TransactionFactory

Provides a wrapper around ODMG transactions for the TransactionInterceptor


Constructor Summary
ODMGTransactionFactory()
          For Type 2 IoC
ODMGTransactionFactory(Implementation impl)
          Create a new ODMGTransactionFactory
 
Method Summary
 org.skife.intercept.interceptors.tx.Transaction build()
          Obtain the current transaction
 void setImplementation(Implementation impl)
          Specify the ODMG Implementation to use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODMGTransactionFactory

public ODMGTransactionFactory(Implementation impl)
Create a new ODMGTransactionFactory


ODMGTransactionFactory

public ODMGTransactionFactory()
For Type 2 IoC

If this constructor is used the setImplementation(Implementation) method must be called.

Method Detail

setImplementation

public void setImplementation(Implementation impl)
Specify the ODMG Implementation to use

Parameters:
impl -

build

public org.skife.intercept.interceptors.tx.Transaction build()
Obtain the current transaction

Specified by:
build in interface TransactionFactory