com.sun.jini.start
Class ActivateWrapper.ExportClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
net.jini.loader.pref.PreferredClassLoader
com.sun.jini.start.ActivateWrapper.ExportClassLoader
- All Implemented Interfaces:
- ClassAnnotation
- Enclosing class:
- ActivateWrapper
static class ActivateWrapper.ExportClassLoader
- extends PreferredClassLoader
A simple subclass of PreferredClassLoader
that overrides
getURLs
to
return the URL
s of the provided export codebase.
getURLs
is called by the RMI subsystem in order to annotate objects
leaving the virtual machine.
Field Summary |
private URL[] |
exportURLs
Cached value of the provided export codebase URL s |
private Uuid |
id
Id field used to make toString() unique |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
exportURLs
private final URL[] exportURLs
- Cached value of the provided export codebase
URL
s
id
private final Uuid id
- Id field used to make toString() unique
ActivateWrapper.ExportClassLoader
public ActivateWrapper.ExportClassLoader(URL[] importURLs,
URL[] exportURLs,
ClassLoader parent)
- Trivial constructor that calls
super(importURLs, parent, urlsToPath(exportURLs), false);
and assigns exportURLs
to an internal field.
getURLs
public URL[] getURLs()
- Overrides:
getURLs
in class URLClassLoader
toString
public String toString()
- Description copied from class:
PreferredClassLoader
- Returns a string representation of this class loader.
- Overrides:
toString
in class PreferredClassLoader
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.