Class SpringBeanFactory
java.lang.Object
org.apache.cxf.service.invoker.spring.SpringBeanFactory
- All Implemented Interfaces:
- Factory,- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationContextAware
public class SpringBeanFactory
extends Object
implements Factory, org.springframework.context.ApplicationContextAware
Factory that will query the Spring ApplicationContext for the
 appropriate bean for each request.
 This can be expensive.  If the bean is "prototype" or similar such that a
 new instance is created each time, this could slow things down.  In that
 case, it's recommended to use this in conjunction with the PooledFactory
 to pool the beans or the SessionFactory or similar.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCreates the object that will be used for the invokevoidPost invoke, this is called to allow the factory to release the object, store it, etc...voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) 
- 
Constructor Details- 
SpringBeanFactory
- 
SpringBeanFactory
 
- 
- 
Method Details- 
createCreates the object that will be used for the invoke
- 
releasePost invoke, this is called to allow the factory to release the object, store it, etc...
- 
setApplicationContextpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
- setApplicationContextin interface- org.springframework.context.ApplicationContextAware
 
 
-