1 25 package org.objectweb.easybeans.tests.common.helper; 26 27 import org.objectweb.easybeans.server.EmbeddedException; 28 import org.objectweb.easybeans.tests.common.core.EmbeddedTest; 29 30 36 public final class EmbeddedHelper { 37 38 42 private EmbeddedHelper(){ 43 44 } 45 49 public static void bindDatasource() throws EmbeddedException{ 50 EmbeddedTest embTest = new EmbeddedTest(); 51 embTest.bindDatabases(); 52 } 53 54 58 public static void unbindDatasource() throws EmbeddedException{ 59 EmbeddedTest embTest = new EmbeddedTest(); 60 embTest.unbindDataBases(); 61 } 62 63 } 64 | Popular Tags |