|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.database.DerbyEmbeddedConnectionProvider
public class DerbyEmbeddedConnectionProvider
A connection provider for the embedded derby database. The database file is stored at jiveHome/database.
Constructor Summary | |
---|---|
DerbyEmbeddedConnectionProvider()
|
Method Summary | |
---|---|
void |
destroy()
Tells the connection provider to destroy itself. |
void |
finalize()
|
java.sql.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DerbyEmbeddedConnectionProvider()
Method Detail |
---|
public boolean isPooled()
ConnectionProvider
isPooled
in interface ConnectionProvider
public java.sql.Connection getConnection() throws java.sql.SQLException
ConnectionProvider
getConnection
in interface ConnectionProvider
java.sql.SQLException
public void start()
ConnectionProvider
start
in interface ConnectionProvider
public void restart()
ConnectionProvider
restart
in interface ConnectionProvider
public void destroy()
ConnectionProvider
destroy
in interface ConnectionProvider
public void finalize()
finalize
in class java.lang.Object
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |