public class JDBCDiskCachePoolAccessManager
extends java.lang.Object
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
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_PREFIX
.attributes
|
static java.lang.String |
POOL_CONFIGURATION_PREFIX
props prefix
|
Modifier and Type | Method and Description |
---|---|
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) |
public static final java.lang.String POOL_CONFIGURATION_PREFIX
public static final java.lang.String ATTRIBUTE_PREFIX
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()
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.