public class JdbcTestHelper
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
JdbcTestHelper() |
Modifier and Type | Method and Description |
---|---|
void |
afterTest() |
void |
beforeTest() |
void |
beforeTest(java.lang.String schemaName) |
void |
beforeTestWithoutSchema() |
javax.sql.DataSource |
getDataSource() |
DbSchemaService |
getDbSchemaService() |
static JdbcTestHelper |
getInstance() |
javax.transaction.UserTransaction |
getUserTransaction() |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
void |
stopPool() |
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public void beforeTest() throws java.lang.Exception
java.lang.Exception
public void beforeTest(java.lang.String schemaName) throws java.lang.Exception
java.lang.Exception
public void beforeTestWithoutSchema() throws java.lang.Exception
java.lang.Exception
public void stopPool() throws java.lang.Exception
java.lang.Exception
public void afterTest() throws java.lang.Exception
java.lang.Exception
public javax.sql.DataSource getDataSource()
public javax.transaction.UserTransaction getUserTransaction()
public static JdbcTestHelper getInstance()
public DbSchemaService getDbSchemaService()
Copyright © 2021. All Rights Reserved.