info.magnolia.module.blossom.content2bean
Class ProxyCapableContent2BeanProcessor
java.lang.Object
info.magnolia.content2bean.impl.Content2BeanProcessorImpl
info.magnolia.module.blossom.content2bean.ProxyCapableContent2BeanProcessor
- All Implemented Interfaces:
- info.magnolia.content2bean.Content2BeanProcessor
public class ProxyCapableContent2BeanProcessor
- extends info.magnolia.content2bean.impl.Content2BeanProcessorImpl
Extension for Content2BeanProcessor that enables created objects to be proxied thereby enabling AOP. This is needed
until MAGNOLIA-3339 is implemented, after that this class will be obsolete.
- Since:
- 1.2
Nested classes/interfaces inherited from interface info.magnolia.content2bean.Content2BeanProcessor |
info.magnolia.content2bean.Content2BeanProcessor.Factory |
Method Summary |
Object |
setProperties(Object bean,
info.magnolia.cms.core.Content node,
boolean recursive,
info.magnolia.content2bean.Content2BeanTransformer transformer)
Set properties on the supplied bean from content, the bean itself will not be subjected to proxying but inner
beans will. |
protected Object |
toBean(info.magnolia.cms.core.Content node,
boolean recursive,
info.magnolia.content2bean.Content2BeanTransformer transformer,
info.magnolia.content2bean.TransformationState state)
|
Methods inherited from class info.magnolia.content2bean.impl.Content2BeanProcessorImpl |
isForceCreation, resolveTransformer, setForceCreation, setProperties, toBean, toMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyCapableContent2BeanProcessor
public ProxyCapableContent2BeanProcessor()
setProperties
public Object setProperties(Object bean,
info.magnolia.cms.core.Content node,
boolean recursive,
info.magnolia.content2bean.Content2BeanTransformer transformer)
throws info.magnolia.content2bean.Content2BeanException
- Set properties on the supplied bean from content, the bean itself will not be subjected to proxying but inner
beans will.
- Specified by:
setProperties
in interface info.magnolia.content2bean.Content2BeanProcessor
- Overrides:
setProperties
in class info.magnolia.content2bean.impl.Content2BeanProcessorImpl
- Throws:
info.magnolia.content2bean.Content2BeanException
toBean
protected Object toBean(info.magnolia.cms.core.Content node,
boolean recursive,
info.magnolia.content2bean.Content2BeanTransformer transformer,
info.magnolia.content2bean.TransformationState state)
throws info.magnolia.content2bean.Content2BeanException
- Overrides:
toBean
in class info.magnolia.content2bean.impl.Content2BeanProcessorImpl
- Throws:
info.magnolia.content2bean.Content2BeanException
Copyright © 2009-2011 Magnolia International Ltd.. All Rights Reserved.