|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCachePoolAccessManager
public class JDBCDiskCachePoolAccessManager
Manages JDBCDiskCachePoolAccess instances. If a connectionPoolName value is supplied, the JDBC disk cache will try to use this manager to create a pool. Assuming the name is "MyPool":
jcs.jdbcconnectionpool.MyPool.attributes.userName=MyUserName jcs.jdbcconnectionpool.MyPool.attributes.password=MyPassword jcs.jdbcconnectionpool.MyPool.attributes.url=MyUrl jcs.jdbcconnectionpool.MyPool.attributes.maxActive=MyMaxActive jcs.jdbcconnectionpool.MyPool.attributes.driverClassName=MyDriverClassName
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIBUTE_PREFIX
.attributes |
static java.lang.String |
POOL_CONFIGURATION_PREFIX
props prefix |
| Method Summary | |
|---|---|
protected JDBCDiskCachePoolAccessAttributes |
configurePoolAccessAttributes(java.lang.String poolName)
Configures the attributes using the properties. |
static JDBCDiskCachePoolAccessManager |
getInstance(java.util.Properties props)
returns a singleton instance |
JDBCDiskCachePoolAccess |
getJDBCDiskCachePoolAccess(java.lang.String poolName)
Returns a pool for the name if one has been created. |
protected java.util.Properties |
getProps()
|
protected void |
setProps(java.util.Properties props)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String POOL_CONFIGURATION_PREFIX
public static final java.lang.String ATTRIBUTE_PREFIX
| Method Detail |
|---|
public static JDBCDiskCachePoolAccessManager getInstance(java.util.Properties props)
props -
public JDBCDiskCachePoolAccess getJDBCDiskCachePoolAccess(java.lang.String poolName)
poolName -
protected JDBCDiskCachePoolAccessAttributes configurePoolAccessAttributes(java.lang.String poolName)
poolName -
protected void setProps(java.util.Properties props)
props - the props to setprotected java.util.Properties getProps()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||