org.apache.struts2.osgi
Class DelegatingObjectFactory

java.lang.Object
  extended by com.opensymphony.xwork2.ObjectFactory
      extended by org.apache.struts2.osgi.DelegatingObjectFactory
All Implemented Interfaces:
java.io.Serializable, ObjectFactoryDestroyable

public class DelegatingObjectFactory
extends ObjectFactory
implements ObjectFactoryDestroyable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ObjectFactory
reflectionProvider
 
Constructor Summary
DelegatingObjectFactory()
           
 
Method Summary
 java.lang.Object buildBean(java.lang.Class clazz, java.util.Map extraContext)
           
 java.lang.Object buildBean(java.lang.String className, java.util.Map<java.lang.String,java.lang.Object> extraContext, boolean injectInternal)
           
 void destroy()
           
 java.lang.Class getClassInstance(java.lang.String className)
           
 boolean isNoArgConstructorRequired()
           
 void setBundleResourceLoader(BundleAccessor rl)
           
 void setDelegateObjectFactory(Container container, java.lang.String delegate)
           
 void setOsgiConfigurationProvider(PackageProvider osgiConfigurationProvider)
           
 
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
 

Constructor Detail

DelegatingObjectFactory

public DelegatingObjectFactory()
Method Detail

setDelegateObjectFactory

public void setDelegateObjectFactory(Container container,
                                     java.lang.String delegate)

setBundleResourceLoader

public void setBundleResourceLoader(BundleAccessor rl)

isNoArgConstructorRequired

public boolean isNoArgConstructorRequired()
Overrides:
isNoArgConstructorRequired in class ObjectFactory

buildBean

public java.lang.Object buildBean(java.lang.Class clazz,
                                  java.util.Map extraContext)
                           throws java.lang.Exception
Overrides:
buildBean in class 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 ObjectFactory
Throws:
java.lang.Exception

getClassInstance

public java.lang.Class getClassInstance(java.lang.String className)
                                 throws java.lang.ClassNotFoundException
Overrides:
getClassInstance in class ObjectFactory
Throws:
java.lang.ClassNotFoundException

destroy

public void destroy()
Specified by:
destroy in interface ObjectFactoryDestroyable

setOsgiConfigurationProvider

public void setOsgiConfigurationProvider(PackageProvider osgiConfigurationProvider)


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.