KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

13     protected String JavaDoc getName() {
14         return "javax.transaction.TransactionManager";
15     }
16
17     public String JavaDoc getUserTransactionName() {
18         return "javax.transaction.UserTransaction";
19     }
20
21 }
22
23
24
25
26
27
28
Popular Tags