* @return ICompositeCacheAttributes
*/
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 )
{
if ( log.isInfoEnabled() )
{
log.info( "No special CompositeCacheAttributes class defined for key [" + attrName + "], using default class." );
}
ICompositeCacheAttributes ccAttr2 = compositeCacheManager.getDefaultCacheAttributes();
ccAttr = ccAttr2.copy();
}
if ( log.isDebugEnabled() )
{
log.debug( "Parsing options for '" + attrName + "'" );