|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.jboss.mx.loading.RepositoryClassLoader (src)
org.jboss.mx.loading.UnifiedClassLoader (src)
org.jboss.mx.loading.UnifiedClassLoader3
An extension of UnifiedClassLoader that manages a thread based loading strategy to work around the locking problems associated with the VM initiated locking due to the synchronized loadClassInternal method of ClassLoader which cannot be overriden.
| Field Summary |
| Fields inherited from class org.jboss.mx.loading.UnifiedClassLoader (src) |
origURL, url |
| Fields inherited from class org.jboss.mx.loading.RepositoryClassLoader (src) |
loadLock, parent, repository, unregisterTrace |
| Constructor Summary | |
UnifiedClassLoader3(java.net.URL url)
Construct a UnifiedClassLoader without registering it to the classloader repository. |
|
UnifiedClassLoader3(java.net.URL url,
java.net.URL origURL)
Construct a UnifiedClassLoader without registering it to the classloader repository. |
|
UnifiedClassLoader3(java.net.URL url,
java.net.URL origURL,
java.lang.ClassLoader parent,
LoaderRepository (src) repository)
Construct a UnifiedClassLoader and associate it with the given repository. |
|
UnifiedClassLoader3(java.net.URL url,
java.net.URL origURL,
LoaderRepository (src) repository)
Construct a UnifiedClassLoader and associate it with the given repository. |
|
| Method Summary | |
java.lang.String |
toString()
Retruns a string representaion of this UCL. |
| Methods inherited from class org.jboss.mx.loading.UnifiedClassLoader (src) |
getObjectName, getOrigURL, getPermissions, getProtectionDomain, getURL, unregister |
| Methods inherited from class java.net.URLClassLoader |
definePackage, findResource, newInstance, newInstance |
| Methods inherited from class java.security.SecureClassLoader |
defineClass |
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.util.loading.Translatable (src) |
getResourceLocally |
| Constructor Detail |
public UnifiedClassLoader3(java.net.URL url)
url - the single URL to load classes from.
public UnifiedClassLoader3(java.net.URL url,
java.net.URL origURL)
url - the single URL to load classes from.origURL - the possibly null original URL from which url may
be a local copy or nested jar.
public UnifiedClassLoader3(java.net.URL url,
java.net.URL origURL,
LoaderRepository (src) repository)
url - The single URL to load classes from.origURL - the possibly null original URL from which url may
be a local copy or nested jar.repository - the repository this classloader delegates to
public UnifiedClassLoader3(java.net.URL url,
java.net.URL origURL,
java.lang.ClassLoader parent,
LoaderRepository (src) repository)
url - The single URL to load classes from.origURL - the possibly null original URL from which url may
be a local copy or nested jar.parent - the parent class loader to userepository - the repository this classloader delegates to| Method Detail |
public java.lang.String toString()
toString in class RepositoryClassLoader (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||