1 25 26 package org.objectweb.jonas.jtests.tables; 27 28 import java.rmi.RemoteException ; 29 import javax.naming.NamingException ; 30 import javax.sql.DataSource ; 31 import org.objectweb.jonas.common.Log; 32 import org.objectweb.util.monolog.api.Logger; 33 34 public class Tmanager { 35 36 static protected Logger logger = null; 37 static DataSource dataSource = null; 38 39 42 public static void mgrInit() throws NamingException , RemoteException { 43 logger = Log.getLogger(Log.JONAS_TESTS_PREFIX); 44 dataSource = DBEnvSL.getDataSource("jdbc_1"); 45 } 46 } 47 48 49 | Popular Tags |