|
JBossMX Parent POM 6.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.loading.LoadMgr3
public class 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)
ucl
- the classloadert
- the threadpublic static boolean beginLoadTask(ClassLoadingTask task, UnifiedLoaderRepository3 repository) throws ClassNotFoundException
task
- repository
-
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
t
- task
- repository
-
InterruptedException
public static void endLoadTask(ClassLoadingTask task)
task
-
|
JBossMX Parent POM 6.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |