|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.database.EmbeddedConnectionProvider
public class EmbeddedConnectionProvider
A connection provider for the embedded hsqlDB database. The database file is stored at home/database. The log file for this connection provider is stored at [home]/logs/EmbeddedConnectionProvider.log, so you should ensure that the [home]/logs directory exists.
Constructor Summary | |
---|---|
EmbeddedConnectionProvider()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedConnectionProvider()
Method Detail |
---|
public boolean isPooled()
ConnectionProvider
isPooled
in interface ConnectionProvider
public Connection getConnection() throws SQLException
ConnectionProvider
getConnection
in interface ConnectionProvider
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() throws Throwable
finalize
in class Object
Throwable
|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |