public class JdbcActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
JdbcActivator() |
Modifier and Type | Method and Description |
---|---|
javax.sql.DataSource |
getDataSource() |
static JdbcActivator |
getInstance() |
java.lang.String |
getSchemaName() |
void |
restartDataSource() |
void |
setDataSource(javax.sql.DataSource dataSource) |
void |
setSchemaName(java.lang.String schemaName) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
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 static JdbcActivator getInstance()
public javax.sql.DataSource getDataSource()
public void setDataSource(javax.sql.DataSource dataSource)
public void restartDataSource() throws java.lang.Exception
java.lang.Exception
public java.lang.String getSchemaName()
public void setSchemaName(java.lang.String schemaName)
Copyright © 2021. All Rights Reserved.