org.apache.struts2.osgi
Class DelegatingObjectFactory
java.lang.Object
com.opensymphony.xwork2.ObjectFactory
org.apache.struts2.osgi.DelegatingObjectFactory
- All Implemented Interfaces:
- java.io.Serializable, org.apache.struts2.util.ObjectFactoryDestroyable
public class DelegatingObjectFactory
- extends com.opensymphony.xwork2.ObjectFactory
- implements org.apache.struts2.util.ObjectFactoryDestroyable
- See Also:
- Serialized Form
Fields inherited from class com.opensymphony.xwork2.ObjectFactory |
reflectionProvider |
Methods inherited from class com.opensymphony.xwork2.ObjectFactory |
buildAction, buildBean, buildInterceptor, buildResult, buildValidator, getObjectFactory, injectInternalBeans, setClassLoader, setContainer, setReflectionProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingObjectFactory
public DelegatingObjectFactory()
setDelegateObjectFactory
public void setDelegateObjectFactory(com.opensymphony.xwork2.inject.Container container,
java.lang.String delegate)
setBundleResourceLoader
public void setBundleResourceLoader(BundleAccessor rl)
isNoArgConstructorRequired
public boolean isNoArgConstructorRequired()
- Overrides:
isNoArgConstructorRequired
in class com.opensymphony.xwork2.ObjectFactory
buildBean
public java.lang.Object buildBean(java.lang.Class clazz,
java.util.Map extraContext)
throws java.lang.Exception
- Overrides:
buildBean
in class com.opensymphony.xwork2.ObjectFactory
- Throws:
java.lang.Exception
buildBean
public java.lang.Object buildBean(java.lang.String className,
java.util.Map<java.lang.String,java.lang.Object> extraContext,
boolean injectInternal)
throws java.lang.Exception
- Overrides:
buildBean
in class com.opensymphony.xwork2.ObjectFactory
- Throws:
java.lang.Exception
getClassInstance
public java.lang.Class getClassInstance(java.lang.String className)
throws java.lang.ClassNotFoundException
- Overrides:
getClassInstance
in class com.opensymphony.xwork2.ObjectFactory
- Throws:
java.lang.ClassNotFoundException
destroy
public void destroy()
- Specified by:
destroy
in interface org.apache.struts2.util.ObjectFactoryDestroyable
setOsgiConfigurationProvider
public void setOsgiConfigurationProvider(com.opensymphony.xwork2.config.PackageProvider osgiConfigurationProvider)
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.