org.springframework.web.jsf
Class SpringBeanFactory
java.lang.Object
org.springframework.web.jsf.SpringBeanFactory
- All Implemented Interfaces:
- ApplicationContextAware, BeanNameAware, FactoryBean, InitializingBean
- public final class SpringBeanFactory
- extends java.lang.Object
- implements FactoryBean, ApplicationContextAware, BeanNameAware, InitializingBean
Wraps and enables JSF specific scope definition and management for
a bean declared in the Spring context.
- Author:
- Andreas Kuhrwahl, Thomas Jachmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringBeanFactory
public SpringBeanFactory()
- Default constructor.
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
java.lang.Exception
getObject
public java.lang.Object getObject()
throws java.lang.Exception
- Specified by:
getObject in interface FactoryBean
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class getObjectType()
- Specified by:
getObjectType in interface FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface FactoryBean
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext in interface ApplicationContextAware
- Throws:
BeansException
setBeanName
public void setBeanName(java.lang.String name)
- Specified by:
setBeanName in interface BeanNameAware