|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.support.AbstractBeanFactory org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory org.springframework.beans.factory.support.DefaultListableBeanFactory de.mindmatters.faces.spring.factory.DefaultConfigurableBeanFactory de.mindmatters.faces.spring.factory.context.AbstractManagedBeanFactory de.mindmatters.faces.spring.context.support.SpringManagedBeanFactory
ManagedBeanFactory
implementation used as internal bean factory for the configured
FacesWebApplicationContext
.
This implementation uses spring features to create and populate the requested managed bean.
This internal bean factory is the default implementation for the configured
FacesWebApplicationContext
loaded
by the ContextLoader. If the internal bean factory should be changed, use the
servlet context-param
ContextLoader.FACTORY_CLASS_PARAM
to define the appropiate ManagedBeanFactory class (e.g.
FacesDelegatingManagedBeanFactory
).
ContextLoader
,
ContextLoaderListener
,
ContextLoaderServlet
Field Summary |
Fields inherited from class org.springframework.beans.factory.support.AbstractBeanFactory |
logger |
Fields inherited from interface org.springframework.beans.factory.BeanFactory |
FACTORY_BEAN_PREFIX |
Fields inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory |
AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR |
Constructor Summary | |
SpringManagedBeanFactory(ConfigurableInstantiationStrategy strategy,
BeanFactory parentBeanFactory)
Creates a Factory with the given ConfigurableInstantiationStrategy strategy and the given parent BeanFactory
parentBeanFactory . |
Method Summary | |
protected java.lang.Object |
createManagedBean(java.lang.String beanName,
ManagedBeanDefinition beanDefinition)
Creates a managed bean declared in a faces configuration file. |
Methods inherited from class de.mindmatters.faces.spring.factory.context.AbstractManagedBeanFactory |
createBean, createNonManagedBean, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getMergedBeanDefinition, getScopedBeanStorage, setScopedBeanStorage |
Methods inherited from class de.mindmatters.faces.spring.factory.DefaultConfigurableBeanFactory |
addInstantiationProcessor, doTypeConversionIfNecessary, getConfigurableInstantiationStrategy, setInstantiationStrategy |
Methods inherited from class org.springframework.beans.factory.support.DefaultListableBeanFactory |
containsBeanDefinition, findMatchingBeans, getBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeanNamesForType, getBeansOfType, getBeansOfType, preInstantiateSingletons, registerBeanDefinition, setAllowBeanDefinitionOverriding, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.mindmatters.faces.spring.factory.ConfigurableBeanFactory |
addInstantiationProcessor |
Methods inherited from interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory |
getBeanDefinition, ignoreDependencyInterface, ignoreDependencyType, preInstantiateSingletons |
Methods inherited from interface org.springframework.beans.factory.ListableBeanFactory |
containsBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeanNamesForType, getBeansOfType, getBeansOfType |
Methods inherited from interface org.springframework.beans.factory.BeanFactory |
containsBean, getAliases, getBean, getBean, getType, isSingleton |
Methods inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory |
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPropertyValues, autowire, autowireBeanProperties |
Methods inherited from interface org.springframework.beans.factory.config.ConfigurableBeanFactory |
addBeanPostProcessor, containsSingleton, destroySingletons, getBeanPostProcessorCount, registerAlias, registerCustomEditor, registerSingleton, setParentBeanFactory |
Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory |
getParentBeanFactory |
Methods inherited from interface org.springframework.beans.factory.support.BeanDefinitionRegistry |
getAliases, registerAlias |
Constructor Detail |
public SpringManagedBeanFactory(ConfigurableInstantiationStrategy strategy, BeanFactory parentBeanFactory)
strategy
and the given parent BeanFactory
parentBeanFactory
.
strategy
- the InstantiationStrategy to useparentBeanFactory
- the parent factoryMethod Detail |
protected java.lang.Object createManagedBean(java.lang.String beanName, ManagedBeanDefinition beanDefinition)
createManagedBean
in class AbstractManagedBeanFactory
beanName
- the name of the requested beanbeanDefinition
- the definition of the requested bean
BeansException
- if the bean could not be created#createManagedBean(String, ManagedBeanDefinition)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |