Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.mx » loading » [javadoc | source]
org.jboss.mx.loading
public class: ClassLoadingTask [javadoc | source]
java.lang.Object
   org.jboss.mx.loading.ClassLoadingTask

Direct Known Subclasses:
    MyClassLoadingTask, MyClassLoadingTask

An encapsulation of a UCL3.loadClass task.
Nested Class Summary:
static class  ClassLoadingTask.ThreadTaskComparator  Compare ThreadTask first based on their order ivar, and then the relative ordering with which their UCLs were added to the ULR. 
class  ClassLoadingTask.ThreadTask  An ecapsulation of a task used when requestingClassLoader needs to ask another UCL3 to perform the class loading. 
Field Summary
protected static  Logger log     
protected static  Comparator taskComparator     
public static final  int FOUND_CLASS_LOADER     
public static final  int NEXT_EVENT     
public static final  int WAIT_ON_EVENT     
public static final  int FINISHED     
protected  String classname     
protected  Thread requestingThread     
protected  RepositoryClassLoader requestingClassLoader     
protected  Class loadedClass     
protected  int loadOrder     
protected  int stopOrder     
protected  Throwable loadException     
protected  int threadTaskCount    The number of ThreadTasks remaining 
protected  int state    The state of the requestingThread 
protected  boolean trace    The Logger trace level flag 
protected  int numCCE     
Constructor:
 protected ClassLoadingTask(String classname,
    RepositoryClassLoader requestingClassLoader,
    Thread requestingThread) 
 protected ClassLoadingTask(String classname,
    RepositoryClassLoader requestingClassLoader,
    Thread requestingThread,
    int stopAt) 
Method from org.jboss.mx.loading.ClassLoadingTask Summary:
incNumCCE,   newThreadTask,   setLoadError,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.mx.loading.ClassLoadingTask Detail:
 synchronized int incNumCCE() 
 ClassLoadingTask.ThreadTask newThreadTask(RepositoryClassLoader ucl,
    Thread t,
    int order,
    boolean reschedule,
    boolean releaseInNextTask) 
 synchronized  void setLoadError(Throwable t) 
 public String toString()