org.picocontainer.web.struts2
Class PicoObjectFactory
java.lang.Object
com.opensymphony.xwork2.ObjectFactory
org.picocontainer.web.struts2.PicoObjectFactory
- All Implemented Interfaces:
- Serializable
public class PicoObjectFactory
- extends com.opensymphony.xwork2.ObjectFactory
XWork2 ObjectFactory implementation to delegate action/component/bean lookups
to PicoContainer.
- Author:
- Paul Hammant, Mauro Talevi
- See Also:
- Serialized Form
| Methods inherited from class com.opensymphony.xwork2.ObjectFactory |
buildAction, buildBean, buildBean, buildResult, buildValidator, getObjectFactory, injectInternalBeans, setClassLoader, setContainer, setObjectFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PicoObjectFactory
public PicoObjectFactory()
getClassInstance
public Class getClassInstance(String name)
throws ClassNotFoundException
- Overrides:
getClassInstance in class com.opensymphony.xwork2.ObjectFactory
- Throws:
ClassNotFoundException
buildBean
public Object buildBean(Class clazz,
Map extraContext)
throws Exception
- Overrides:
buildBean in class com.opensymphony.xwork2.ObjectFactory
- Throws:
Exception
buildInterceptor
public com.opensymphony.xwork2.interceptor.Interceptor buildInterceptor(com.opensymphony.xwork2.config.entities.InterceptorConfig config,
Map params)
throws com.opensymphony.xwork2.config.ConfigurationException
- Overrides:
buildInterceptor in class com.opensymphony.xwork2.ObjectFactory
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
isNoArgConstructorRequired
public boolean isNoArgConstructorRequired()
- Overrides:
isNoArgConstructorRequired in class com.opensymphony.xwork2.ObjectFactory
Copyright © 2008. All Rights Reserved.