com.atlassian.bamboo.agent.bootstrap
Class AgentClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.atlassian.bamboo.agent.bootstrap.AgentClassLoader

public class AgentClassLoader
extends java.lang.ClassLoader

Class loader that loads classes remotely from Bamboo.


Method Summary
protected  java.net.URL checkIfResourceExists(java.lang.String name)
           
protected  java.lang.Class<?> findClass(java.lang.String className)
           
protected  java.net.URL findResource(java.lang.String name)
           
protected  java.util.Enumeration<java.net.URL> findResources(java.lang.String name)
           
protected  java.lang.Class<?> loadClass(java.lang.String name, boolean resolve)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, 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
 

Method Detail

findClass

protected java.lang.Class<?> findClass(java.lang.String className)
                                throws java.lang.ClassNotFoundException
Overrides:
findClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException

findResource

protected java.net.URL findResource(java.lang.String name)
Overrides:
findResource in class java.lang.ClassLoader

checkIfResourceExists

protected java.net.URL checkIfResourceExists(java.lang.String name)

findResources

protected java.util.Enumeration<java.net.URL> findResources(java.lang.String name)
                                                     throws java.io.IOException
Overrides:
findResources in class java.lang.ClassLoader
Throws:
java.io.IOException

loadClass

protected java.lang.Class<?> loadClass(java.lang.String name,
                                       boolean resolve)
                                throws java.lang.ClassNotFoundException
Overrides:
loadClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException


Copyright © 2010 Atlassian. All Rights Reserved.