com.atlassian.bamboo.plugin.xwork
Class PluginAwareObjectFactory

java.lang.Object
  extended by com.opensymphony.xwork.ObjectFactory
      extended by com.opensymphony.xwork.spring.SpringObjectFactory
          extended by com.opensymphony.webwork.spring.WebWorkSpringObjectFactory
              extended by com.atlassian.bamboo.plugin.xwork.PluginAwareObjectFactory
All Implemented Interfaces:
com.opensymphony.webwork.util.ObjectFactoryInitializable, org.springframework.context.ApplicationContextAware

public class PluginAwareObjectFactory
extends com.opensymphony.webwork.spring.WebWorkSpringObjectFactory

An Spring autowiring object factory that uses the classloader of the of PluginAware action configs to load and wire up the action class.

Non-plugin actions are wired up using the standard WebWorkSpringObjectFactory mechanism.


Field Summary
 
Fields inherited from class com.opensymphony.xwork.spring.SpringObjectFactory
appContext, autowireStrategy, autoWiringFactory
 
Constructor Summary
PluginAwareObjectFactory()
           
 
Method Summary
 java.lang.Object buildAction(java.lang.String s, java.lang.String s1, com.opensymphony.xwork.config.entities.ActionConfig actionConfig, java.util.Map map)
           
 
Methods inherited from class com.opensymphony.webwork.spring.WebWorkSpringObjectFactory
init
 
Methods inherited from class com.opensymphony.xwork.spring.SpringObjectFactory
autoWireBean, autoWireBean, buildBean, buildBean, findAutoWiringBeanFactory, getAutowireStrategy, getClassInstance, initObjectFactory, isNoArgConstructorRequired, setApplicationContext, setAutowireStrategy, setUseClassCache
 
Methods inherited from class com.opensymphony.xwork.ObjectFactory
buildInterceptor, buildResult, buildValidator, getContinuationPackage, getObjectFactory, setContinuationPackage, setObjectFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginAwareObjectFactory

public PluginAwareObjectFactory()
Method Detail

buildAction

public java.lang.Object buildAction(java.lang.String s,
                                    java.lang.String s1,
                                    com.opensymphony.xwork.config.entities.ActionConfig actionConfig,
                                    java.util.Map map)
                             throws java.lang.Exception
Overrides:
buildAction in class com.opensymphony.xwork.ObjectFactory
Throws:
java.lang.Exception


Copyright © 2011 Atlassian. All Rights Reserved.