KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > DummyTransactionManagerLookup


1 package org.jboss.cache;
2
3 import org.jboss.cache.transaction.DummyTransactionManager;
4
5 import javax.transaction.TransactionManager JavaDoc;
6
7
8 /**
9  * Returns an instance of DummyTransactionManager, used by standalone cache.
10  *
11  * @author Bela Ban Sept 5 2003
12  * @version $Id: DummyTransactionManagerLookup.java,v 1.1.1.1 2005/03/31 10:14:59 belaban Exp $
13  */

14 public class DummyTransactionManagerLookup implements TransactionManagerLookup {
15
16    public TransactionManager getTransactionManager() throws Exception JavaDoc {
17       return DummyTransactionManager.getInstance();
18    }
19 }
20
Popular Tags