|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.astroshare.astroonline.database.Pool
public class Pool
Implementation of the Astro-Online database connection Pool.
By default Astro-Online uses class Pool for connection pooling. This behaviour can be influenced by modifying the node AstroOnlineConfiguration.server.database in the configuration file. The default value for this node is DATABASE, leading to the usage of class Pool for connection pooling. Changing the node value to JNDI leads to the usage of connection pooling through JNDI.
Database| Constructor Summary | |
|---|---|
Pool()
|
|
| Method Summary | |
|---|---|
static java.sql.Connection |
getConnection()
Get a connection from the pool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pool()
| Method Detail |
|---|
public static java.sql.Connection getConnection()
throws java.sql.SQLException
Get a connection from the pool.
java.sql.SQLException - Exception trown if an SQL error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Astro-Online © 2001 − 2008 Astro Share
Documentation generated on: Thursday August 12th 2008 (PS)