public class EmbeddedConnectionProvider extends Object implements ConnectionProvider
| Constructor and Description |
|---|
EmbeddedConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Tells the connection provider to destroy itself.
|
void |
finalize() |
Connection |
getConnection()
Returns a database connection.
|
boolean |
isPooled()
Returns true if this connection provider provides connections out
of a connection pool.
|
void |
restart()
This method should be called whenever properties have been changed so
that the changes will take effect.
|
void |
start()
Starts the connection provider.
|
public boolean isPooled()
ConnectionProviderisPooled in interface ConnectionProviderpublic Connection getConnection() throws SQLException
ConnectionProvidergetConnection in interface ConnectionProviderSQLException - is an SQL error occured while retrieving the connection.public void start()
ConnectionProviderstart in interface ConnectionProviderpublic void restart()
ConnectionProviderrestart in interface ConnectionProviderpublic void destroy()
ConnectionProviderdestroy in interface ConnectionProviderCopyright © 2003-2008 Jive Software.