Uses of Class java.lang.ClassLoader

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 gnu.java.lang

Methods with parameter type java.lang.ClassLoader

byte[]
InstrumentationImpl.callTransformers(ClassLoader loader, String className, Class classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
Called by the VM or redefineClasses to call each transformer
Class<T>[]
Get all the classes loaded by a given class loader

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.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 javax.xml.stream

Methods with parameter type java.lang.ClassLoader

XMLEventFactory
XMLEventFactory.newInstance(String factoryId, ClassLoader classLoader)
Create a new factory instance.
XMLInputFactory
XMLInputFactory.newInstance(String factoryId, ClassLoader classLoader)
Creates a new factory instance.
XMLOutputFactory
Creates a new output factory.

Uses in package gnu.javax.rmi.CORBA

Methods with parameter type java.lang.ClassLoader

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

Uses in package gnu.classpath.jdwp.id

Methods with return type java.lang.ClassLoader

ClassLoader
Gets the ClassLoader represented by this ID

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 className, boolean initialize, ClassLoader loader)
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 gnu.java.rmi.server

Classes derived from java.lang.ClassLoader

class
This class supports the multiple class loaders to load the resources.

Methods with parameter type java.lang.ClassLoader

Class<T>
RMIClassLoaderImpl.loadClass(String codeBase, String name, ClassLoader defaultLoader)
Class<T>
RMIClassLoaderImpl.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.

Uses in package gnu.java.lang.reflect

Methods with parameter type java.lang.ClassLoader

Class<T>
TypeSignature.getClassForEncoding(String type_code, boolean descriptor, ClassLoader loader)
This function is the inverse of getEncodingOfClass.

Uses in package gnu.classpath

Methods with parameter type java.lang.ClassLoader

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

ServiceFactory.Iterator

lookupProviders(Class

 spi, ClassLoader loader, boolean error)

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

Methods with return type java.lang.ClassLoader

ClassLoader
Walk up the stack and return the first non-null class loader.
ClassLoader
Get the class loader associated with the Class returned by getCallingClass(), or null if no such class exists or it is the boot loader.
ClassLoader
Retrieve the class's ClassLoader, or null if loaded by the bootstrap loader.

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 gnu.classpath.jdwp

Methods with parameter type java.lang.ClassLoader

ArrayList<E>
Returns a list of all classes which this class loader has been requested to load

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 gnu.java.io

Constructors with parameter type java.lang.ClassLoader

Create the new ClassLoaderObjectInputStream.

Uses in package gnu.gcj.runtime

Classes derived from java.lang.ClassLoader

class
This is a helper for the bootstrap class loader.
class
class
A ClassLoader backed by a gcj-compiled shared library.
class

Constructors with parameter type java.lang.ClassLoader

SharedLibLoader.SharedLibLoader(String libname, ClassLoader parent, int flags)
Load a shared library, and associate a ClassLoader with it.

Methods with parameter type java.lang.ClassLoader

SharedLibHelper
SharedLibHelper.findHelper(ClassLoader loader, String libname, CodeSource source, boolean tryParents)
SharedLibHelper
SharedLibHelper.findHelper(ClassLoader loader, String libname, CodeSource source, ProtectionDomain domain, boolean tryParents)

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.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 javax.activation

Methods with parameter type java.lang.ClassLoader

Object
Returns the instantiated bean.

Uses in package gnu.javax.management

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 gnu.java.beans.decoder

Constructors with parameter type java.lang.ClassLoader

Creates a PersistenceParser which reads XML data from the given InputStream, reports exceptions to ExceptionListener instance, stores resulting object in the DecoderContext and uses the given ClassLoader to resolve classes.

Uses in package javax.management

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 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.util

Methods with parameter type java.lang.ClassLoader

Creates a new service loader for the given service, using the specified class loader.
void
Remove all resources from the cache that were loaded 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 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.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.