|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RMIClassLoaderSpi
org.nuxeo.runtime.launcher.NuxeoRMIClassLoader
public class NuxeoRMIClassLoader
Copied from org.jboss.system.JBossRMIClassLoader and modified getClassAnnotation to avoid delegating to default loader since it has a bug.
Constructor Summary | |
---|---|
NuxeoRMIClassLoader()
Required constructor |
Method Summary | |
---|---|
String |
getClassAnnotation(Class<?> cl)
Try to delegate an default to the java.rmi.server.codebase on any failure. |
ClassLoader |
getClassLoader(String codebase)
Just delegate |
Class<?> |
loadClass(String codebase,
String name,
ClassLoader ignored)
Just delegate |
Class<?> |
loadProxyClass(String codebase,
String[] interfaces,
ClassLoader ignored)
Ignore the JVM, use the thread context classloader for proxy caching |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NuxeoRMIClassLoader()
Method Detail |
---|
public Class<?> loadProxyClass(String codebase, String[] interfaces, ClassLoader ignored) throws MalformedURLException, ClassNotFoundException
loadProxyClass
in class RMIClassLoaderSpi
MalformedURLException
ClassNotFoundException
public Class<?> loadClass(String codebase, String name, ClassLoader ignored) throws MalformedURLException, ClassNotFoundException
loadClass
in class RMIClassLoaderSpi
MalformedURLException
ClassNotFoundException
public ClassLoader getClassLoader(String codebase) throws MalformedURLException
getClassLoader
in class RMIClassLoaderSpi
MalformedURLException
public String getClassAnnotation(Class<?> cl)
getClassAnnotation
in class RMIClassLoaderSpi
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |