public class JdbcConnector extends Object implements Closeable
| Constructor and Description |
|---|
JdbcConnector(org.osgi.framework.BundleContext bundleContext,
org.osgi.framework.ServiceReference<?> reference) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Connection |
connect() |
Statement |
createStatement() |
<T extends AutoCloseable> |
register(T closeable) |
XAConnection |
register(XAConnection closeable) |
public JdbcConnector(org.osgi.framework.BundleContext bundleContext,
org.osgi.framework.ServiceReference<?> reference)
public Connection connect() throws SQLException
SQLExceptionpublic Statement createStatement() throws SQLException
SQLExceptionpublic <T extends AutoCloseable> T register(T closeable)
public XAConnection register(XAConnection closeable)
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.