|
Openfire 3.3.0 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 ConnectionProviderSQLExceptionpublic void start()
ConnectionProvider
start in interface ConnectionProviderpublic void restart()
ConnectionProvider
restart in interface ConnectionProviderpublic void destroy()
ConnectionProvider
destroy in interface ConnectionProvider
public void finalize()
throws Throwable
finalize in class ObjectThrowable
|
Openfire 3.3.0 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||