public class PlexusObjectFactory
extends com.opensymphony.xwork2.ObjectFactory
<plexus>
<components>
<component>
<role>com.acme.MyBean</role>
<implementation>com.acme.MyBean|com.acme.MyBeanImpl</implementation>
<componentComposer>field|setter|?</componentComposer>
<requirements>
<requirement>
<role>com.acme.MyOtherBean</role>
</requirement>
</requirements>
<configuration>
<foo>123</foo>
<bar>hello, world</bar>
</configuration>
</component>
</components>
</plexus>
| Constructor and Description |
|---|
PlexusObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
buildAction(String actionName,
String namespace,
com.opensymphony.xwork2.config.entities.ActionConfig config,
Map extraContext) |
Object |
buildBean(Class clazz,
Map extraContext) |
com.opensymphony.xwork2.interceptor.Interceptor |
buildInterceptor(com.opensymphony.xwork2.config.entities.InterceptorConfig interceptorConfig,
Map interceptorRefParams) |
com.opensymphony.xwork2.Result |
buildResult(com.opensymphony.xwork2.config.entities.ResultConfig resultConfig,
Map extraContext) |
com.opensymphony.xwork2.validator.Validator |
buildValidator(String className,
Map params,
Map extraContext) |
Class |
getClassInstance(String className) |
void |
setReflectionProvider(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider) |
void |
setServletConfig(javax.servlet.ServletContext servletContext) |
buildBean, buildBean, buildConverter, getObjectFactory, injectInternalBeans, isNoArgConstructorRequired, setActionFactory, setClassLoader, setContainer, setConverterFactory, setInterceptorFactory, setResultFactory, setValidatorFactorypublic void setReflectionProvider(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider)
public void setServletConfig(javax.servlet.ServletContext servletContext)
public Object buildAction(String actionName, String namespace, com.opensymphony.xwork2.config.entities.ActionConfig config, Map extraContext) throws Exception
buildAction in class com.opensymphony.xwork2.ObjectFactoryExceptionpublic com.opensymphony.xwork2.interceptor.Interceptor buildInterceptor(com.opensymphony.xwork2.config.entities.InterceptorConfig interceptorConfig,
Map interceptorRefParams)
throws com.opensymphony.xwork2.config.ConfigurationException
buildInterceptor in class com.opensymphony.xwork2.ObjectFactorycom.opensymphony.xwork2.config.ConfigurationExceptionpublic com.opensymphony.xwork2.Result buildResult(com.opensymphony.xwork2.config.entities.ResultConfig resultConfig,
Map extraContext)
throws Exception
buildResult in class com.opensymphony.xwork2.ObjectFactoryExceptionpublic com.opensymphony.xwork2.validator.Validator buildValidator(String className, Map params, Map extraContext) throws Exception
buildValidator in class com.opensymphony.xwork2.ObjectFactoryExceptionpublic Object buildBean(Class clazz, Map extraContext) throws Exception
buildBean in class com.opensymphony.xwork2.ObjectFactoryExceptionpublic Class getClassInstance(String className) throws ClassNotFoundException
getClassInstance in class com.opensymphony.xwork2.ObjectFactoryClassNotFoundExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.