|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.jdbc.ReferenceableDataSource
org.apache.derby.jdbc.EmbeddedDataSource
org.apache.shale.examples.sqlbrowser.InternalDataSource
public class InternalDataSource
Trivial implementation of DataSource that wraps a data source
provided by Derby, and provides a shutdown hook.
| Field Summary |
|---|
| Fields inherited from class org.apache.derby.jdbc.EmbeddedDataSource |
|---|
driver |
| Constructor Summary | |
|---|---|
InternalDataSource(String url)
Construct a connection pool for the specified URL. |
|
| Method Summary | |
|---|---|
void |
shutdown()
Cause the embedded Derby database to be shut down. |
| Methods inherited from class org.apache.derby.jdbc.EmbeddedDataSource |
|---|
equals, getAttributesAsPassword, getConnection, getConnection, getConnectionAttributes, getCreateDatabase, getShutdownDatabase, setAttributesAsPassword, setConnectionAttributes, setCreateDatabase, setShutdownDatabase |
| Methods inherited from class org.apache.derby.jdbc.ReferenceableDataSource |
|---|
getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getObjectInstance, getPassword, getReference, getUser, setDatabaseName, setDataSourceName, setDescription, setLoginTimeout, setLogWriter, setPassword, setUser |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sql.DataSource |
|---|
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
| Constructor Detail |
|---|
public InternalDataSource(String url)
throws SQLException
Construct a connection pool for the specified URL.
SQLException| Method Detail |
|---|
public void shutdown()
throws SQLException
Cause the embedded Derby database to be shut down.
SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||