info.magnolia.module.cache.ehcache
Class CacheConfigurationTransformer
java.lang.Object
info.magnolia.content2bean.impl.Content2BeanTransformerImpl
info.magnolia.module.cache.ehcache.CacheConfigurationTransformer
- All Implemented Interfaces:
- Content.ContentFilter, Content2BeanTransformer
public class CacheConfigurationTransformer
- extends 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
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 |
CacheConfigurationTransformer
public CacheConfigurationTransformer()
setProperty
public void setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map values)
- Description copied from class:
Content2BeanTransformerImpl
- Do not set class property. In case of a map/collection try to use adder method.
- Specified by:
setProperty
in interface Content2BeanTransformer
- Overrides:
setProperty
in class Content2BeanTransformerImpl
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.