|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.Object>
org.pajes.db.ConnectionPoolDefinition
public class ConnectionPoolDefinition
Contains the definition of a ConnectionPool as loaded by ConnectionPoolConfiguration.
Handlers for deployment descriptor elements are invoked using reflection. New
handlers may be defined by creating a protected method with the lower-case
name of the element. The method signature must accept a single
Object and return the same or modified Object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Constructor Summary | |
|---|---|
ConnectionPoolDefinition(javax.servlet.ServletContext context)
Creates a new ConnectionPoolDefinition object. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
init(java.lang.Object value)
Handling of the ConnectionPoolConfiguration.INIT_ELEMENT to
return an Integer object. |
protected java.lang.Object |
interval(java.lang.Object value)
Handling of the ConnectionPoolConfiguration.INTERVAL_ELEMENT to
return a Long object. |
protected java.lang.Object |
max(java.lang.Object value)
Handling of the ConnectionPoolConfiguration.MAX_ELEMENT to return
an Integer object. |
protected java.lang.Object |
password(java.lang.Object value)
Handling of the ConnectionPoolConfiguration.PASSWORD_ELEMENT to
return the decrypted value. |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Performs any required conversion on the String value read
from the configuration file. |
protected java.lang.Object |
server(java.lang.Object value)
Handling of the ConnectionPoolConfiguration.SERVER_ELEMENT for HSQLDB and
InstantDB Java databases. |
protected java.lang.Object |
timeout(java.lang.Object value)
Handling of the ConnectionPoolConfiguration.TIMEOUT_ELEMENT to
return a Long object. |
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public ConnectionPoolDefinition(javax.servlet.ServletContext context)
context - the Servlet Context.| Method Detail |
|---|
public java.lang.Object put(java.lang.String key,
java.lang.Object value)
String value read
from the configuration file.
put in interface java.util.Map<java.lang.String,java.lang.Object>put in class java.util.HashMap<java.lang.String,java.lang.Object>Map.put(java.lang.Object, java.lang.Object)protected java.lang.Object init(java.lang.Object value)
ConnectionPoolConfiguration.INIT_ELEMENT to
return an Integer object.
value - the value from the configuration file.
protected java.lang.Object interval(java.lang.Object value)
ConnectionPoolConfiguration.INTERVAL_ELEMENT to
return a Long object.
value - the value from the configuration file.
protected java.lang.Object max(java.lang.Object value)
ConnectionPoolConfiguration.MAX_ELEMENT to return
an Integer object.
value - the value from the configuration file.
protected java.lang.Object password(java.lang.Object value)
ConnectionPoolConfiguration.PASSWORD_ELEMENT to
return the decrypted value.
value - the value from the configuration file.
protected java.lang.Object server(java.lang.Object value)
ConnectionPoolConfiguration.SERVER_ELEMENT for HSQLDB and
InstantDB Java databases.
If the pathname portion of the database server URL does not
exist, it will be substituted with the result of a call to
ServletContext.getRealPath(pathname). This
enables the database to exist within the context with no specific
configuration at run time.
value - the value from the configuration file.
protected java.lang.Object timeout(java.lang.Object value)
ConnectionPoolConfiguration.TIMEOUT_ELEMENT to
return a Long object.
value - the value from the configuration file.
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||