|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RMIClassLoaderSpi
wt.boot.WTRMIClassLoaderSpi
Nested Class Summary | |
private static class |
WTRMIClassLoaderSpi.InitAction
|
private static class |
WTRMIClassLoaderSpi.InstallAction
|
Field Summary | |
private static String |
CLASSNAME
|
private static RMIClassLoaderSpi |
defaultSpi
|
private static Object |
defaultSpiLock
|
private static boolean |
inited
|
private static boolean |
installed
|
Constructor Summary | |
WTRMIClassLoaderSpi()
Default constructor |
Method Summary | |
String |
getClassAnnotation(Class cl)
Return null to avoid wasting bandwidth on this silliness! |
ClassLoader |
getClassLoader(String codebase)
Delegates to RMIClassLoader.getDefaultProviderInstance(). |
private static void |
initDefaultSpi()
Must not be called until after install() if it is to have any effect... |
static boolean |
install()
Returns true if installation is ostensibly successful. |
Class |
loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Delegates to RMIClassLoader.getDefaultProviderInstance(). |
Class |
loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Delegates to RMIClassLoader.getDefaultProviderInstance(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String CLASSNAME
private static boolean installed
private static RMIClassLoaderSpi defaultSpi
private static final Object defaultSpiLock
private static boolean inited
Constructor Detail |
public WTRMIClassLoaderSpi()
Method Detail |
public static boolean install()
private static void initDefaultSpi()
public String getClassAnnotation(Class cl)
public ClassLoader getClassLoader(String codebase) throws MalformedURLException
MalformedURLException
public Class loadClass(String codebase, String name, ClassLoader defaultLoader) throws MalformedURLException, ClassNotFoundException
MalformedURLException
ClassNotFoundException
public Class loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader) throws MalformedURLException, ClassNotFoundException
MalformedURLException
ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |