|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use ClassLoader |
|
Provides classes that are fundamental to the design of the Java
programming language.
|
|
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
|
Uses of ClassLoader in java.lang |
Methods in java.lang that return ClassLoader |
|
Class.getClassLoader()
Returns the class loader for the class.
|
|
final ClassLoader |
ClassLoader.getParent()
Returns the parent class loader for delegation.
|
static ClassLoader |
ClassLoader.getPlatformClassLoader()
Returns the platform class loader.
|
static ClassLoader |
ClassLoader.getSystemClassLoader()
Returns the system class loader.
|
Module.getClassLoader()
Returns the ClassLoader for this module.
|
|
ModuleLayer.findLoader(String name)
Returns the ClassLoader for the module with the given name.
|
|
Thread.getContextClassLoader()
Returns the context ClassLoader for this thread.
|
Methods in java.lang with parameters of type ClassLoader |
|
static Class<?> |
Returns the Class object associated with the class or
interface with the given string name, using the given class loader.
|
Creates a new module layer, with this layer as its parent, by defining the
modules in the given Configuration to the Java virtual machine.
|
|
static ModuleLayer.Controller |
ModuleLayer.defineModulesWithManyLoaders(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader)
Creates a new module layer by defining the modules in the given
Configuration to the Java virtual machine.
|
Creates a new module layer, with this layer as its parent, by defining the
modules in the given Configuration to the Java virtual machine.
|
|
static ModuleLayer.Controller |
ModuleLayer.defineModulesWithOneLoader(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader)
Creates a new module layer by defining the modules in the given
Configuration to the Java virtual machine.
|
void |
Thread.setContextClassLoader(ClassLoader cl)
Sets the context ClassLoader for this Thread.
|
Method parameters in java.lang with type arguments of type ClassLoader |
|
Creates a new module layer, with this layer as its parent, by defining the
modules in the given Configuration to the Java virtual machine.
|
|
static ModuleLayer.Controller |
ModuleLayer.defineModules(Configuration cf, List<ModuleLayer> parentLayers, Function<String,ClassLoader> clf)
Creates a new module layer by defining the modules in the given
Configuration to the Java virtual machine.
|
Constructors in java.lang with parameters of type ClassLoader |
|
protected |
ClassLoader(ClassLoader parent)
Creates a new class loader using the specified parent class loader for
delegation.
|
protected |
Creates a new class loader of the specified name and using the
specified parent class loader for delegation.
|
Uses of ClassLoader in java.util |
Methods in java.util with parameters of type ClassLoader |
|
static final void |
ResourceBundle.clearCache(ClassLoader loader)
Removes all resource bundles from the cache that have been loaded
by the given class loader.
|
static ResourceBundle |
Gets a resource bundle using the specified base name, locale, and class
loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale, class loader and control.
|
boolean |
ResourceBundle.Control.needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime)
Determines if the expired bundle in the cache needs
to be reloaded based on the loading time given by
loadTime or some other criteria.
|
ResourceBundle.Control.newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
|
Creates a new service loader for the given service.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |