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, setUseClassCache
buildAction, buildConverter, buildInterceptor, buildResult, buildUnknownHandler, buildValidator, injectInternalBeans, setActionFactory, setClassLoader, setContainer, setConverterFactory, setInterceptorFactory, setResultFactory, setUnknownHandlerFactory, setValidatorFactory
public Object buildBean(String beanName, Map<String,Object> extraContext) throws Exception
ObjectFactory
buildBean
in class ObjectFactory
beanName
- the type of Object to buildextraContext
- a Map of extra context which uses the same keys as the ActionContext
Exception
- 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–2020 Apache Software Foundation. All rights reserved.