SourceForge.net Logo

org.springframework.web.jsf
Class SpringBeanFactory

java.lang.Object
  extended byorg.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

Constructor Summary
SpringBeanFactory()
          Default constructor.
 
Method Summary
 void afterPropertiesSet()
           
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 boolean isSingleton()
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setBeanName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBeanFactory

public SpringBeanFactory()
Default constructor.

Method Detail

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

SourceForge.net Logo