KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: OrionTransactionManagerLookup.java,v 1.1 2004/06/03 16:31:29 steveebersole Exp $
2
package org.hibernate.transaction;
3
4 /**
5  * TransactionManager lookup strategy for Orion
6  * @author Gavin King
7  */

8 public class OrionTransactionManagerLookup
9 extends JNDITransactionManagerLookup {
10
11     /**
12      * @see org.hibernate.transaction.JNDITransactionManagerLookup#getName()
13      */

14     protected String JavaDoc getName() {
15         return "java:comp/UserTransaction";
16     }
17
18     public String JavaDoc getUserTransactionName() {
19         return "java:comp/UserTransaction";
20     }
21
22 }
23
24
25
26
27
28
29
Popular Tags