protected ICompositeCacheAttributes
parseCompositeCacheAttributes( Properties props,
String regName,
String regionPrefix )
{
ICompositeCacheAttributes ccAttr;
String attrName = regionPrefix + regName + CACHE_ATTRIBUTE_PREFIX;
// auxFactory was not previously initialized.
//String prefix = regionPrefix + regName + ATTRIBUTE_PREFIX;
ccAttr = ( ICompositeCacheAttributes ) OptionConverter.instantiateByKey( props, attrName,
org.apache.jcs.engine.behavior.ICompositeCacheAttributes.class,
null );
if ( ccAttr == null )
{
log.warn( "Could not instantiate ccAttr named '" + attrName +
"', using defaults." );
ICompositeCacheAttributes ccAttr2 = ccMgr.getDefaultCacheAttributes();
ccAttr = ccAttr2.copy();
}
log.debug( "Parsing options for '" + attrName + "'" );
PropertySetter.setProperties( ccAttr, props, attrName + "." );