|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ObjectFactory
com.opensymphony.webwork.pico.PicoObjectFactory
public class PicoObjectFactory
XWork ObjectFactory which uses a PicoContainer to create component instances.
| Constructor Summary | |
|---|---|
PicoObjectFactory(org.picocontainer.defaults.ObjectReference objectReference)
Creates a PicoObjectFactory with given object reference, used to pass the http request to the factory |
|
| Method Summary | |
|---|---|
Object |
buildAction(String actionName,
String namespace,
com.opensymphony.xwork.config.entities.ActionConfig config,
Map extraContext)
|
Object |
buildBean(Class actionClass)
Instantiates an action using the PicoContainer found in the request scope. |
Object |
buildBean(Class clazz,
Map extraContext)
Webwork-2.2 / XWork-1.1 method. |
Object |
buildBean(String className)
|
Object |
buildBean(String className,
Map extraContext)
Webwork-2.2 / XWork-1.1 method. |
com.opensymphony.xwork.interceptor.Interceptor |
buildInterceptor(com.opensymphony.xwork.config.entities.InterceptorConfig interceptorConfig,
Map interceptorRefParams)
|
com.opensymphony.xwork.Result |
buildResult(com.opensymphony.xwork.config.entities.ResultConfig resultConfig,
Map extraContext)
|
com.opensymphony.xwork.validator.Validator |
buildValidator(String className,
Map params,
Map extraContext)
|
Class |
getClassInstance(String className)
Webwork-2.2 / XWork-1.1 method. |
boolean |
isNoArgConstructorRequired()
|
| Methods inherited from class com.opensymphony.xwork.ObjectFactory |
|---|
getContinuationPackage, getObjectFactory, setContinuationPackage, setObjectFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PicoObjectFactory(org.picocontainer.defaults.ObjectReference objectReference)
objectReference - the ObjectReference| Method Detail |
|---|
public boolean isNoArgConstructorRequired()
isNoArgConstructorRequired in class com.opensymphony.xwork.ObjectFactory
public Object buildBean(Class clazz,
Map extraContext)
throws Exception
buildBean in class com.opensymphony.xwork.ObjectFactoryException
public Object buildBean(String className,
Map extraContext)
throws Exception
buildBean in class com.opensymphony.xwork.ObjectFactoryException
public Class getClassInstance(String className)
throws ClassNotFoundException
getClassInstance in class com.opensymphony.xwork.ObjectFactoryClassNotFoundException
public Object buildAction(String actionName,
String namespace,
com.opensymphony.xwork.config.entities.ActionConfig config,
Map extraContext)
throws Exception
buildAction in class com.opensymphony.xwork.ObjectFactoryException
public com.opensymphony.xwork.interceptor.Interceptor buildInterceptor(com.opensymphony.xwork.config.entities.InterceptorConfig interceptorConfig,
Map interceptorRefParams)
throws com.opensymphony.xwork.config.ConfigurationException
buildInterceptor in class com.opensymphony.xwork.ObjectFactorycom.opensymphony.xwork.config.ConfigurationException
public com.opensymphony.xwork.Result buildResult(com.opensymphony.xwork.config.entities.ResultConfig resultConfig,
Map extraContext)
throws Exception
buildResult in class com.opensymphony.xwork.ObjectFactoryException
public com.opensymphony.xwork.validator.Validator buildValidator(String className,
Map params,
Map extraContext)
throws Exception
buildValidator in class com.opensymphony.xwork.ObjectFactoryException
public Object buildBean(Class actionClass)
throws Exception
Exception
public Object buildBean(String className)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||