public class NuxeoRMIClassLoader extends RMIClassLoaderSpi
Constructor and Description |
---|
NuxeoRMIClassLoader()
Required constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
public NuxeoRMIClassLoader()
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
Copyright © 2018 Nuxeo. All rights reserved.