1 45 package org.openejb.alt.containers.castor_cmp11; 46 47 import javax.naming.NamingException ; 48 49 import org.openejb.core.ivm.naming.Reference; 50 57 public class JndiTxReference implements Reference { 58 59 javax.transaction.TransactionManager txMngr; 60 61 public Object getObject( ) throws NamingException { 62 if(txMngr==null) 63 txMngr = org.openejb.OpenEJB.getTransactionManager(); 64 return txMngr; 65 } 66 67 } | Popular Tags |