static class ActivateWrapper.ExportClassLoader extends PreferredClassLoader
PreferredClassLoader that overrides
getURLs to
return the URLs of the provided export codebase.
getURLs
is called by the RMI subsystem in order to annotate objects
leaving the virtual machine.| Modifier and Type | Field and Description |
|---|---|
private URL[] |
exportURLs
Cached value of the provided export codebase
URLs |
private Uuid |
id
Id field used to make toString() unique
|
| Constructor and Description |
|---|
ExportClassLoader(URL[] importURLs,
URL[] exportURLs,
ClassLoader parent)
Trivial constructor that calls
super(importURLs, parent, urlsToPath(exportURLs), false);
and assigns
exportURLs to an internal field. |
| Modifier and Type | Method and Description |
|---|---|
URL[] |
getURLs()
Returns the search list of this
URLClassLoader. |
String |
toString()
Returns a string representation of this class loader.
|
definePackage, getClassAnnotation, getPermissions, getResource, getResources, isPreferredResource, loadClass, newInstanceaddURL, close, definePackage, findClass, findResource, findResources, newInstance, newInstancegetResourceAsStreamdefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersprivate final URL[] exportURLs
URLsprivate final Uuid id
public ExportClassLoader(URL[] importURLs, URL[] exportURLs, ClassLoader parent)
super(importURLs, parent, urlsToPath(exportURLs), false);and assigns
exportURLs to an internal field.public URL[] getURLs()
RFC3986URLClassLoaderURLClassLoader.getURLs in class RFC3986URLClassLoaderpublic String toString()
PreferredClassLoadertoString in class PreferredClassLoaderCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.