public class SpringProxyableObjectFactory extends SpringObjectFactory
appContext, autowireStrategy, autoWiringFactory| Constructor and Description |
|---|
SpringProxyableObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
buildBean(String beanName,
Map<String,Object> extraContext)
Build a generic Java object of the given type.
|
protected org.springframework.context.ApplicationContext |
getApplicationContext(Map<String,Object> context)
Subclasses may override this to return a different application context.
|
autoWireBean, autoWireBean, buildBean, buildBean, findAutoWiringBeanFactory, getAutowireStrategy, getClassInstance, isNoArgConstructorRequired, setAlwaysRespectAutowireStrategy, setApplicationContext, setApplicationContextPath, setAutowireStrategy, setEnableAopSupport, setUseClassCachebuildAction, buildConverter, buildInterceptor, buildResult, buildUnknownHandler, buildValidator, injectInternalBeans, setActionFactory, setClassLoader, setContainer, setConverterFactory, setInterceptorFactory, setResultFactory, setUnknownHandlerFactory, setValidatorFactorypublic Object buildBean(String beanName, Map<String,Object> extraContext) throws Exception
ObjectFactorybuildBean in class ObjectFactorybeanName - the type of Object to buildextraContext - a Map of extra context which uses the same keys as the ActionContextException - in case of any errorprotected org.springframework.context.ApplicationContext getApplicationContext(Map<String,Object> context)
autoWiringFactory, so the application context should be either
the original or a child context of the original.context - provided context.Copyright © 2000–2018 Apache Software Foundation. All rights reserved.