KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.hibernate.transaction;
2
3 /**
4  * TransactionManager lookup strategy for JRun4
5  * @author Joseph Bissen
6  */

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