cluster5.terminal.utils
Class IbiClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by cluster5.terminal.utils.IbiClassLoader

public class IbiClassLoader
extends java.lang.ClassLoader

Version:
cluster5
Author:
ibisek

Constructor Summary
IbiClassLoader()
           
 
Method Summary
 java.lang.Class findClass(java.lang.String className)
          Returns a Class object located in path given in constructor by given name.
 ClusterTask getClusterTaskInstance(java.lang.String className)
           
 java.lang.Exception getLastException()
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IbiClassLoader

public IbiClassLoader()
Method Detail

findClass

public java.lang.Class findClass(java.lang.String className)
Returns a Class object located in path given in constructor by given name.

Overrides:
findClass in class java.lang.ClassLoader

getClusterTaskInstance

public ClusterTask getClusterTaskInstance(java.lang.String className)
Returns:
instance of ClusterTask or null if an exception has been thrown. In such case, you can get the cause by calling the getLastException() method

getLastException

public java.lang.Exception getLastException()
Returns:
last exception raised within instance of this class or null if no exception has been thrown