info.magnolia.module.cache.ehcache
Class CacheConfigurationTransformer

java.lang.Object
  extended by info.magnolia.content2bean.impl.Content2BeanTransformerImpl
      extended by info.magnolia.module.cache.ehcache.CacheConfigurationTransformer
All Implemented Interfaces:
info.magnolia.cms.core.Content.ContentFilter, info.magnolia.content2bean.Content2BeanTransformer

public class CacheConfigurationTransformer
extends info.magnolia.content2bean.impl.Content2BeanTransformerImpl

A Content2BeanTransformer for net.ehcache.config.CacheConfiguration, because it does not respect javabeans conventions for setting the MemoryStoreEvictionPolicy. (getter returns a MemoryStoreEvictionPolicy, setter takes a String as argument)

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.content2bean.Content2BeanTransformer
info.magnolia.content2bean.Content2BeanTransformer.Factory
 
Constructor Summary
CacheConfigurationTransformer()
           
 
Method Summary
 void setProperty(info.magnolia.content2bean.TypeMapping typeMapping, info.magnolia.content2bean.TransformationState state, info.magnolia.content2bean.PropertyTypeDescriptor descriptor, Map values)
           
 
Methods inherited from class info.magnolia.content2bean.impl.Content2BeanTransformerImpl
accept, convertPropertyValue, getChildren, getTypeMapping, initBean, newBeanInstance, newState, onResolveType, onResolveType, resolveType, resolveType, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheConfigurationTransformer

public CacheConfigurationTransformer()
Method Detail

setProperty

public void setProperty(info.magnolia.content2bean.TypeMapping typeMapping,
                        info.magnolia.content2bean.TransformationState state,
                        info.magnolia.content2bean.PropertyTypeDescriptor descriptor,
                        Map values)
Specified by:
setProperty in interface info.magnolia.content2bean.Content2BeanTransformer
Overrides:
setProperty in class info.magnolia.content2bean.impl.Content2BeanTransformerImpl


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.