public class PoolActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
PoolActivator() |
Modifier and Type | Method and Description |
---|---|
DataSource |
createDataSource(java.lang.String driverClass,
java.lang.String url,
java.lang.String login,
java.lang.String password,
int max,
java.lang.String pingQuery,
java.lang.String schema,
java.lang.String consumer) |
static PoolActivator |
getDefault()
Returns the shared instance
|
TransactionManager |
getTransactionManager() |
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 PoolActivator getDefault()
public TransactionManager getTransactionManager()
public DataSource createDataSource(java.lang.String driverClass, java.lang.String url, java.lang.String login, java.lang.String password, int max, java.lang.String pingQuery, java.lang.String schema, java.lang.String consumer) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.