|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ObjectFactory
org.apache.struts2.osgi.SpringOsgiObjectFactory
public class SpringOsgiObjectFactory
This Object factory uses the ActionContext(s) published by Spring OSGi to lookup beans
Constructor Summary | |
---|---|
SpringOsgiObjectFactory()
|
Method Summary | |
---|---|
Object |
buildBean(Class clazz,
Map<String,Object> extraContext)
|
Object |
buildBean(String className,
Map<String,Object> extraContext,
boolean injectInternal)
|
protected boolean |
containsBean(String beanName)
|
protected Object |
getBean(String beanName)
|
Class |
getClassInstance(String className)
|
void |
setBundleAccessor(BundleAccessor bundleAccessor)
|
Methods inherited from class com.opensymphony.xwork2.ObjectFactory |
---|
buildAction, buildBean, buildConverter, buildInterceptor, buildResult, buildUnknownHandler, buildValidator, getObjectFactory, injectInternalBeans, isNoArgConstructorRequired, setActionFactory, setClassLoader, setContainer, setConverterFactory, setInterceptorFactory, setResultFactory, setUnknownHandlerFactory, setValidatorFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringOsgiObjectFactory()
Method Detail |
---|
public Object buildBean(String className, Map<String,Object> extraContext, boolean injectInternal) throws Exception
buildBean
in class com.opensymphony.xwork2.ObjectFactory
Exception
public Object buildBean(Class clazz, Map<String,Object> extraContext) throws Exception
buildBean
in class com.opensymphony.xwork2.ObjectFactory
Exception
public Class getClassInstance(String className) throws ClassNotFoundException
getClassInstance
in class com.opensymphony.xwork2.ObjectFactory
ClassNotFoundException
protected Object getBean(String beanName)
protected boolean containsBean(String beanName)
public void setBundleAccessor(BundleAccessor bundleAccessor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |