com.atlassian.plugin
Class TransPluginClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.atlassian.plugin.util.MultiDelegationClassLoader
          extended by com.atlassian.plugin.TransPluginClassLoader

public class TransPluginClassLoader
extends MultiDelegationClassLoader

This class loader will search the class loaders of all enabled dynamic plugins if it cannot find a class in the default class loader.


Constructor Summary
TransPluginClassLoader()
           
 
Method Summary
protected  java.util.List getClassLoaders()
          Override to return the list of classloaders that this classloader should search to find classes.
 void setPluginManager(PluginAccessor pluginAccessor)
           
 
Methods inherited from class com.atlassian.plugin.util.MultiDelegationClassLoader
getResource, getResourceAsStream, loadClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransPluginClassLoader

public TransPluginClassLoader()
Method Detail

getClassLoaders

protected java.util.List getClassLoaders()
Description copied from class: MultiDelegationClassLoader
Override to return the list of classloaders that this classloader should search to find classes. You do not need to add the context classloader or MultiDelegationClassLoader's own classloader, as both will be searched first anyway.

Specified by:
getClassLoaders in class MultiDelegationClassLoader
Returns:
the delegate classloaders to search for classes.

setPluginManager

public void setPluginManager(PluginAccessor pluginAccessor)


Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.