com.atlassian.confluence.plugin
Class ConfluencePluginObjectFactory

java.lang.Object
  extended by com.opensymphony.xwork.ObjectFactory
      extended by com.atlassian.confluence.plugin.ConfluencePluginObjectFactory

public class ConfluencePluginObjectFactory
extends com.opensymphony.xwork.ObjectFactory

Custom ObjectFactory that will delegate to the provided class loader.


Constructor Summary
ConfluencePluginObjectFactory(java.lang.ClassLoader applicationClassLoader)
           
 
Method Summary
 com.opensymphony.xwork.Action buildAction(com.opensymphony.xwork.config.entities.ActionConfig actionConfig)
           
 java.lang.Class<?> getClassInstance(java.lang.String className)
           
 
Methods inherited from class com.opensymphony.xwork.ObjectFactory
buildBean, buildBean, buildInterceptor, buildResult, buildValidator, getObjectFactory, setObjectFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluencePluginObjectFactory

public ConfluencePluginObjectFactory(java.lang.ClassLoader applicationClassLoader)
Method Detail

getClassInstance

public java.lang.Class<?> getClassInstance(java.lang.String className)
                                    throws java.lang.ClassNotFoundException
Overrides:
getClassInstance in class com.opensymphony.xwork.ObjectFactory
Throws:
java.lang.ClassNotFoundException

buildAction

public com.opensymphony.xwork.Action buildAction(com.opensymphony.xwork.config.entities.ActionConfig actionConfig)
                                          throws java.lang.Exception
Overrides:
buildAction in class com.opensymphony.xwork.ObjectFactory
Throws:
java.lang.Exception


Copyright © 2003-2014 Atlassian. All Rights Reserved.