KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

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