public class StatefulFactory extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
StatefulFactory()
The default constructor will build the StatefulJ Framework using the binders and persisters from the
"org.stateful" package
|
StatefulFactory(String... packages)
Will build the StatefulJ Framework using the binders and persisters from the packages specified
in the parameter list.
|
Modifier and Type | Method and Description |
---|---|
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry reg) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory reg) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public StatefulFactory()
public StatefulFactory(String... packages)
packages
- This list of packages to scan for the binders and persisterspublic void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory reg) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry reg) throws org.springframework.beans.BeansException
postProcessBeanDefinitionRegistry
in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
org.springframework.beans.BeansException
Copyright © 2016. All rights reserved.