More Javadoc fixes.
This commit is contained in:
parent
409b1bf7ee
commit
122b14c8f4
5 changed files with 119 additions and 105 deletions
|
@ -72,6 +72,20 @@ public class SimplePoolServlet extends HttpServlet {
|
|||
|
||||
/**
|
||||
* Initializes the connection pool.
|
||||
* <p/>
|
||||
* The required intialization parameters are:
|
||||
* <p/>
|
||||
* <ul>
|
||||
* <li><code>varName</code> – Name of the variable used to hold a reference to the {@link SimplePoolDataSource}.</li>
|
||||
* <li><code>driver</code> – JDBC driver. e.g. 'oracle.jdbc.driver.OracleDriver'</li>
|
||||
* <li><code>jdbcUrl</code> – JDBC connect string. e.g. 'jdbc:oracle:thin:@203.92.21.109:1526:orcl'</li>
|
||||
* <li><code>user</code> – Database login name. e.g. 'Scott'</li>
|
||||
* <li><code>password</code> – Database password. e.g. 'Tiger'</li>
|
||||
* <li><code>minConns</code> – Minimum number of connections to start with.</li>
|
||||
* <li><code>maxConns</code> – Maximum number of connections in dynamic pool.</li>
|
||||
* <li><code>maxConnTime</code> – Time in days between connection resets.</li>
|
||||
* <li><code>maxCheckoutSeconds</code> – Max time a connection can be checked out before being recycled.</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see javax.servlet.http.HttpServlet#init(ServletConfig)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue