|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.loading.LoadMgr3
A utility class used by the UnifiedClassLoader3 to manage the thread based class loading tasks.
Nested Class Summary | |
static class |
LoadMgr3.PkgClassLoader
A UCL and its relative ordering with respect to the class loading. |
Constructor Summary | |
LoadMgr3()
|
Method Summary | |
static boolean |
beginLoadTask(ClassLoadingTask task,
UnifiedLoaderRepository3 repository)
Initiate the class loading task. |
static void |
endLoadTask(ClassLoadingTask task)
Complete a ClassLoadingTask. |
static void |
nextTask(Thread t,
ClassLoadingTask task,
UnifiedLoaderRepository3 repository)
Called by threads owning a UCL3.loadLock from within UCL3.loadClass to process ThreadTasks assigned to them. |
static void |
registerLoaderThread(RepositoryClassLoader ucl,
Thread t)
Register that a thread owns the UCL3.loadClass monitor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoadMgr3()
Method Detail |
public static void registerLoaderThread(RepositoryClassLoader ucl, Thread t)
public static boolean beginLoadTask(ClassLoadingTask task, UnifiedLoaderRepository3 repository) throws ClassNotFoundException
ClassNotFoundException
- if there is no chance the class can
be loaded from the current repository class loaders.public static void nextTask(Thread t, ClassLoadingTask task, UnifiedLoaderRepository3 repository) throws InterruptedException
InterruptedException
public static void endLoadTask(ClassLoadingTask task)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |