KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > transaction > JBossTransactionManagerLookup


1 //$Id: JBossTransactionManagerLookup.java,v 1.1 2004/06/03 16:31:14 steveebersole Exp $
2
package org.hibernate.transaction;
3
4 /**
5  * A <tt>TransactionManager</tt> lookup strategy for JBoss
6  * @author Gavin King
7  */

8 public final class JBossTransactionManagerLookup extends JNDITransactionManagerLookup {
9
10     protected String JavaDoc getName() {
11         return "java:/TransactionManager";
12     }
13
14     public String JavaDoc getUserTransactionName() {
15         return "UserTransaction";
16     }
17
18 }
19
20
21
22
23
24
25
Popular Tags