info.magnolia.module.blossom.context
Class ConfiguredBeanFactoryBean
java.lang.Object
info.magnolia.module.blossom.context.ConfiguredBeanFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
public class ConfiguredBeanFactoryBean
- extends Object
- implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.BeanFactoryAware
BeanFactory that creates a bean and populates its properties with values from the repository.
- Since:
- 1.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfiguredBeanFactoryBean
public ConfiguredBeanFactoryBean()
getRepository
@Deprecated
public String getRepository()
- Deprecated.
setRepository
@Deprecated
public void setRepository(String repository)
- Deprecated.
getWorkspace
public String getWorkspace()
setWorkspace
public void setWorkspace(String workspace)
getPath
public String getPath()
setPath
public void setPath(String path)
getDefaultClass
public Class<?> getDefaultClass()
setDefaultClass
public void setDefaultClass(Class<?> defaultClass)
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
createInstance
protected Object createInstance()
throws Exception
- Throws:
Exception
destroyInstance
protected void destroyInstance()
transformNode
protected Object transformNode(javax.jcr.Node node)
throws info.magnolia.content2bean.Content2BeanException
- Throws:
info.magnolia.content2bean.Content2BeanException
getConfigurationNode
protected javax.jcr.Node getConfigurationNode()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.