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 look through the Confluence uber class loader for the requested class if it does not exist in the default class hierarchy.

See Also:
MultiDelegationClassLoader

Constructor Summary
ConfluencePluginObjectFactory()
           
 
Method Summary
 java.lang.Class getClassInstance(java.lang.String className)
           
 void setUberClassLoader(java.lang.ClassLoader uberClassLoader)
           
 
Methods inherited from class com.opensymphony.xwork.ObjectFactory
buildAction, 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()
Method Detail

setUberClassLoader

public void setUberClassLoader(java.lang.ClassLoader uberClassLoader)

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


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.