public class JdbcActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
JdbcActivator() |
Modifier and Type | Method and Description |
---|---|
void |
addMailboxDataSource(java.lang.String dataLocation,
javax.sql.DataSource ds) |
javax.sql.DataSource |
getDataSource() |
static JdbcActivator |
getInstance() |
java.util.Map<java.lang.String,javax.sql.DataSource> |
getMailboxDataSource() |
javax.sql.DataSource |
getMailboxDataSource(java.lang.String datalocation) |
java.lang.String |
getSchemaName() |
void |
restartDataSource() |
void |
setDataSource(javax.sql.DataSource dataSource) |
void |
setMailboxDataSource(java.util.Map<java.lang.String,javax.sql.DataSource> mailboxDataSource) |
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 java.util.Map<java.lang.String,javax.sql.DataSource> getMailboxDataSource()
public void setDataSource(javax.sql.DataSource dataSource)
public void setMailboxDataSource(java.util.Map<java.lang.String,javax.sql.DataSource> mailboxDataSource)
public javax.sql.DataSource getMailboxDataSource(java.lang.String datalocation)
public void addMailboxDataSource(java.lang.String dataLocation, javax.sql.DataSource ds)
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.