Uses of Class java.lang.ClassLoader

Uses in package java.lang.reflect

Methods with parameter type java.lang.ClassLoader

Class
Proxy.getProxyClass(ClassLoader loader, Class... interfaces)
Returns the proxy Class for the given ClassLoader and array of interfaces, dynamically generating it if necessary.
Object
Proxy.newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler)
Combines several methods into one.

Uses in package java.net

Classes derived from java.lang.ClassLoader

class
A secure class loader that can load classes and resources from multiple locations.

Constructors with parameter type java.lang.ClassLoader

Creates a URLClassLoader that gets classes from the supplied URLs.
Creates a URLClassLoader that gets classes from the supplied URLs.

Methods with parameter type java.lang.ClassLoader

URLClassLoader
Creates a new instance of a URLClassLoader that gets classes from the supplied URLs and with the supplied loader as parent class loader.

Uses in package javax.imageio.spi

Methods with parameter type java.lang.ClassLoader

Finds service providers that are implementing the specified Service Provider Interface.

Uses in package java.awt.datatransfer

Constructors with parameter type java.lang.ClassLoader

DataFlavor.DataFlavor(String mimeType, String humanPresentableName, ClassLoader classLoader)
Initializes a new instance of DataFlavor with the specified MIME type and description.

Methods with parameter type java.lang.ClassLoader

Class
DataFlavor.tryToLoadClass(String className, ClassLoader classLoader)
This method attempts to load the named class.

Uses in package java.beans

Constructors with parameter type java.lang.ClassLoader

Creates a XMLDecoder instance that parses the XML data of the given input stream.

Methods with parameter type java.lang.ClassLoader

Object
Creates a bean.
Object
Beans.instantiate(ClassLoader cl, String beanName, BeanContext beanContext)
Creates a bean.
Object
Beans.instantiate(ClassLoader cl, String beanName, BeanContext beanContext, AppletInitializer initializer)
Instantiates a bean according to Beans 1.0.

Uses in package java.lang

Constructors with parameter type java.lang.ClassLoader

Create a new ClassLoader with the specified parent.

Methods with parameter type java.lang.ClassLoader

Class
Class<T>.forName(String name, boolean initialize, ClassLoader classloader)
Use the specified classloader to load and link a class.
void
Sets the context classloader for this Thread.

Methods with return type java.lang.ClassLoader

ClassLoader
Find the ClassLoader of the first non-system class on the execution stack.
ClassLoader
Get the ClassLoader that loaded this class.
ClassLoader
Returns the context classloader of this Thread.
ClassLoader
Returns the parent of this classloader.
ClassLoader
Returns the system classloader.

Uses in package javax.management

Methods with parameter type java.lang.ClassLoader

Class<T>
Attempts to load the given class using class loaders supplied by the repository of each MBeanServer.

Methods with return type java.lang.ClassLoader

ClassLoader
Returns the specified class loader.
ClassLoader
Returns the class loader of the specified management bean.

Uses in package java.security

Classes derived from java.lang.ClassLoader

class
A Secure Class Loader for loading classes with additional support for specifying code source and permissions when they are retrieved by the system policy handler.

Constructors with parameter type java.lang.ClassLoader

ProtectionDomain.ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)
This method initializes a new instance of ProtectionDomain given its CodeSource, granted permissions, associated ClassLoader and Principals.

Methods with return type java.lang.ClassLoader

ClassLoader
Returns the ClassLoader of this domain.

Uses in package javax.rmi.CORBA

Methods with parameter type java.lang.ClassLoader

Class<T>
Util.loadClass(String className, String remoteCodebase, ClassLoader loader)
Load the class.
Class<T>
UtilDelegate.loadClass(String className, String remoteCodebase, ClassLoader loader)

Uses in package java.rmi.server

Methods with parameter type java.lang.ClassLoader

Object
Object
Class
RMIClassLoader.loadClass(String codebase, String name, ClassLoader defaultLoader)
Class
RMIClassLoaderSpi.loadClass(String codeBase, String name, ClassLoader defaultLoader)
Class
RMIClassLoader.loadProxyClass(String codeBase, String[] interfaces, ClassLoader defaultLoader)
Class
RMIClassLoaderSpi.loadProxyClass(String codeBase, String[] interfaces, ClassLoader defaultLoader)

Methods with return type java.lang.ClassLoader

ClassLoader
Gets a classloader for the given codebase and with the current context classloader as parent.
ClassLoader

Uses in package java.util

Methods with parameter type java.lang.ClassLoader

Creates a new service loader for the given service, using the specified class loader.
ResourceBundle
ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader classLoader)
Get the appropriate ResourceBundle for the given locale.

Uses in package javax.management.loading

Methods with parameter type java.lang.ClassLoader

Class
Attempts to load the given class using class loaders supplied by the list, stopping when the specified loader is reached.
Class
Attempts to load the given class using class loaders supplied by the list, excluding the one specified.

Uses in package java.lang.instrument

Methods with parameter type java.lang.ClassLoader

Class<T>[]
Get all the classes loaded by a given class loader
byte[]
ClassFileTransformer.transform(ClassLoader loader, String className, Class classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
Implementation of this method transforms a class by redefining its bytecodes.

Uses in package javax.xml.stream

Methods with parameter type java.lang.ClassLoader

XMLInputFactory
XMLInputFactory.newInstance(String factoryId, ClassLoader classLoader)
Creates a new factory instance.
XMLInputFactory
Creates a new input factory.

Uses in package javax.swing

Methods with parameter type java.lang.ClassLoader

Class
Returns the ComponentUI class that renders a component.
void
Establishes the default bindings of type to classname.