|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Database
Represents a database.
| Method Summary | |
|---|---|
int |
getActiveConnections()
Gets the number of active connections from the pool. |
java.lang.String |
getExternalJdbcUrl()
Gets the external Jdbc URL to connect to this database from other JVMs. |
java.lang.String |
getJdbcUrl()
Gets the Jdbc Url to connect to this database. |
java.lang.String |
getPassword()
Gets the password to connect to the database. |
java.lang.String |
getUsername()
Gets the username to connect to the database. |
javax.sql.DataSource |
start()
Starts a database. |
void |
stop()
Stops a database. |
| Method Detail |
|---|
javax.sql.DataSource start()
int getActiveConnections()
java.lang.String getJdbcUrl()
java.lang.String getExternalJdbcUrl()
java.lang.String getUsername()
java.lang.String getPassword()
void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||