KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: SunONETransactionManagerLookup.java,v 1.2 2004/10/20 01:35:06 oneovthafew Exp $
2
package org.hibernate.transaction;
3
4 /**
5  * TransactionManager lookup strategy for Sun ONE Application Server 7
6  * @author Robert Davidson, Sanjeev Krishnan
7  */

8 public class SunONETransactionManagerLookup extends JNDITransactionManagerLookup {
9
10     protected String JavaDoc getName() {
11         return "java:pm/TransactionManager";
12     }
13
14     public String JavaDoc getUserTransactionName() {
15         return "java:comp/UserTransaction";
16     }
17     
18 }
19
Popular Tags