Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Standard Ed. 5.0
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.ClassLoader

Packages that use ClassLoader
java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications.
java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture.
java.lang | Provides classes that are fundamental to the design of the Java programming language.
java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM.
java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects.
java.net | Provides the classes for implementing networking applications.
java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.
java.security | Provides the classes and interfaces for the security framework.
java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry.
javax.management | Provides the core classes for the Java Management Extensions.
javax.management.loading | Provides the classes which implement advanced dynamic loading.
javax.management.remote.rmi | The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.
javax.rmi.CORBA | Contains portability APIs for RMI-IIOP.
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

Uses of ClassLoader in java.awt.datatransfer

Methods in java.awt.datatransfer with parameters of type ClassLoader
`protected static Class<?>` | `DataFlavor.tryToLoadClass(String className, ClassLoader fallback)` Tries to load a class from: the bootstrap loader, the system loader, the context loader (if one is present) and finally the loader specified.

Constructors in java.awt.datatransfer with parameters of type ClassLoader
`DataFlavor(String mimeType, String humanPresentableName, ClassLoader classLoader)` Constructs a `DataFlavor` that represents a `MimeType`.

Uses of ClassLoader in java.beans

Methods in java.beans with parameters of type ClassLoader
`static Object` | `Beans.instantiate(ClassLoader cls, String beanName)` Instantiate a JavaBean.
`static Object` | `Beans.instantiate(ClassLoader cls, String beanName, BeanContext beanContext)` Instantiate a JavaBean.
`static Object` | `Beans.instantiate(ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer)` Instantiate a bean.

Constructors in java.beans with parameters of type ClassLoader
`XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener, ClassLoader cl)` Creates a new input stream for reading archives created by the `XMLEncoder` class.

Uses of ClassLoader in java.lang

Methods in java.lang that return ClassLoader
`protected ClassLoader` | `SecurityManager.currentClassLoader()` Deprecated. This type of security checking is not recommended. It is recommended that the `checkPermission` call be used instead.
`ClassLoader` | `Class.getClassLoader()` Returns the class loader for the class.
`ClassLoader` | `Thread.getContextClassLoader()` Returns the context ClassLoader for this Thread.
`ClassLoader` | `ClassLoader.getParent()` Returns the parent class loader for delegation.
`static ClassLoader` | `ClassLoader.getSystemClassLoader()` Returns the system class loader for delegation.

Methods in java.lang with parameters of type ClassLoader
`static Class<?>` | `Class.forName(String name, boolean initialize, ClassLoader loader)` Returns the `Class` object associated with the class or interface with the given string name, using the given class loader.
`void` | `Thread.setContextClassLoader(ClassLoader cl)` Sets the context ClassLoader for this Thread.

Constructors in java.lang with parameters of type ClassLoader
`ClassLoader(ClassLoader parent)` Creates a new class loader using the specified parent class loader for delegation.

Uses of ClassLoader in java.lang.instrument

Methods in java.lang.instrument with parameters of type ClassLoader
`Class[]` | `Instrumentation.getInitiatedClasses(ClassLoader loader)` Returns an array of all classes for which `loader` is an initiating loader.
`byte[]` | `ClassFileTransformer.transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)` The implementation of this method may transform the supplied class file and return a new replacement class file.

Uses of ClassLoader in java.lang.reflect

Methods in java.lang.reflect with parameters of type ClassLoader
`static Class<?>` | `Proxy.getProxyClass(ClassLoader loader, Class<?>... interfaces)` Returns the `java.lang.Class` object for a proxy class given a class loader and an array of interfaces.
`static Object` | `Proxy.newProxyInstance(ClassLoader loader, Class<?>[] interfaces, InvocationHandler h)` Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler.

Uses of ClassLoader in java.net

Subclasses of ClassLoader in java.net
`class` | `URLClassLoader` This class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories.

Methods in java.net with parameters of type ClassLoader
`static URLClassLoader` | `URLClassLoader.newInstance(URL[] urls, ClassLoader parent)` Creates a new instance of URLClassLoader for the specified URLs and parent class loader.

Constructors in java.net with parameters of type ClassLoader
`URLClassLoader(URL[] urls, ClassLoader parent)` Constructs a new URLClassLoader for the given URLs.
`URLClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)` Constructs a new URLClassLoader for the specified URLs, parent class loader, and URLStreamHandlerFactory.

Uses of ClassLoader in java.rmi.server

Methods in java.rmi.server that return ClassLoader
`abstract ClassLoader` | `RMIClassLoaderSpi.getClassLoader(String codebase)` Provides the implementation for `RMIClassLoader.getClassLoader(String)`.
`static ClassLoader` | `RMIClassLoader.getClassLoader(String codebase)` Returns a class loader that loads classes from the given codebase URL path.

Methods in java.rmi.server with parameters of type ClassLoader
`Object` | `LoaderHandler.getSecurityContext(ClassLoader loader)` Deprecated. no replacement
`static Object` | `RMIClassLoader.getSecurityContext(ClassLoader loader)` Deprecated. no replacement. As of the Java 2 platform v1.2, RMI no longer uses this method to obtain a class loader's security context.
`abstract Class<?>` | `RMIClassLoaderSpi.loadClass(String codebase, String name, ClassLoader defaultLoader)` Provides the implementation for `RMIClassLoader.loadClass(URL,String)`, `RMIClassLoader.loadClass(String,String)`, and `RMIClassLoader.loadClass(String,String,ClassLoader)`.
`static Class<?>` | `RMIClassLoader.loadClass(String codebase, String name, ClassLoader defaultLoader)` Loads a class from a codebase URL path, optionally using the supplied loader.
`abstract Class<?>` | `RMIClassLoaderSpi.loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)` Provides the implementation for `RMIClassLoader.loadProxyClass(String,String[],ClassLoader)`.
`static Class<?>` | `RMIClassLoader.loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)` Loads a dynamic proxy class (see `Proxy`) that implements a set of interfaces with the given names from a codebase URL path.

Uses of ClassLoader in java.security

Subclasses of ClassLoader in java.security
`class` | `SecureClassLoader` This class extends ClassLoader with additional support for defining classes with an associated code source and permissions which are retrieved by the system policy by default.

Methods in java.security that return ClassLoader
`ClassLoader` | `ProtectionDomain.getClassLoader()` Returns the ClassLoader of this domain.

Constructors in java.security with parameters of type ClassLoader
`ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)` Creates a new ProtectionDomain qualified by the given CodeSource, Permissions, ClassLoader and array of Principals.
`SecureClassLoader(ClassLoader parent)` Creates a new SecureClassLoader using the specified parent class loader for delegation.

Uses of ClassLoader in java.util

Methods in java.util with parameters of type ClassLoader
`static ResourceBundle` | `ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader loader)` Gets a resource bundle using the specified base name, locale, and class loader.

Uses of ClassLoader in javax.imageio.spi

Methods in javax.imageio.spi with parameters of type ClassLoader
`static
`<T> Iterator<T>`
` | `ServiceRegistry.lookupProviders(Class<T> providerClass, ClassLoader loader)` Searches for implementations of a particular service class using the given class loader.

Uses of ClassLoader in javax.management

Methods in javax.management that return ClassLoader
`ClassLoader` | `MBeanServer.getClassLoader(ObjectName loaderName)` Return the named `ClassLoader`.
`ClassLoader` | `MBeanServer.getClassLoaderFor(ObjectName mbeanName)` Return the `ClassLoader` that was used for loading the class of the named MBean.

Methods in javax.management with parameters of type ClassLoader
`static Class` | `DefaultLoaderRepository.loadClassWithout(ClassLoader loader, String className)` Deprecated. Go through the list of class loaders but exclude the given class loader, then try to load the requested class.

Uses of ClassLoader in javax.management.loading

Subclasses of ClassLoader in javax.management.loading
`class` | `MLet` Allows you to instantiate and register one or several MBeans in the MBean server coming from a remote URL.
`class` | `PrivateMLet` An MLet that is not added to the `ClassLoaderRepository`.

Methods in javax.management.loading with parameters of type ClassLoader
`Class` | `ClassLoaderRepository.loadClassBefore(ClassLoader stop, String className)` Load the given class name through the list of class loaders, stopping at the given one.
`static Class` | `DefaultLoaderRepository.loadClassWithout(ClassLoader loader, String className)` Deprecated. Go through the list of class loaders but exclude the given class loader, then try to load the requested class.
`Class` | `ClassLoaderRepository.loadClassWithout(ClassLoader exclude, String className)` Load the given class name through the list of class loaders, excluding the given one.

Constructors in javax.management.loading with parameters of type ClassLoader
`MLet(URL[] urls, ClassLoader parent)` Constructs a new MLet for the given URLs.
`MLet(URL[] urls, ClassLoader parent, boolean delegateToCLR)` Constructs a new MLet for the given URLs.
`MLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)` Constructs a new MLet for the specified URLs, parent class loader, and URLStreamHandlerFactory.
`MLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory, boolean delegateToCLR)` Constructs a new MLet for the specified URLs, parent class loader, and URLStreamHandlerFactory.
`PrivateMLet(URL[] urls, ClassLoader parent, boolean delegateToCLR)` Constructs a new PrivateMLet for the given URLs.
`PrivateMLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory, boolean delegateToCLR)` Constructs a new PrivateMLet for the specified URLs, parent class loader, and URLStreamHandlerFactory.

Uses of ClassLoader in javax.management.remote.rmi

Methods in javax.management.remote.rmi that return ClassLoader
`ClassLoader` | `RMIServerImpl.getDefaultClassLoader()` Gets the default `ClassLoader` used by this connector server.

Methods in javax.management.remote.rmi with parameters of type ClassLoader
`void` | `RMIServerImpl.setDefaultClassLoader(ClassLoader cl)` Sets the default `ClassLoader` for this connector server.

Constructors in javax.management.remote.rmi with parameters of type ClassLoader
`RMIConnectionImpl(RMIServerImpl rmiServer, String connectionId, ClassLoader defaultClassLoader, Subject subject, Map<String,?> env)` Constructs a new `RMIConnection`.

Uses of ClassLoader in javax.rmi.CORBA

Methods in javax.rmi.CORBA with parameters of type ClassLoader
`Class` | `UtilDelegate.loadClass(String className, String remoteCodebase, ClassLoader loader)` Delegation call for `Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader)`.
`static Class` | `Util.loadClass(String className, String remoteCodebase, ClassLoader loader)` Returns a class instance for the specified class.

Uses of ClassLoader in javax.swing

Methods in javax.swing with parameters of type ClassLoader
`Class<? extends ComponentUI>` | `UIDefaults.getUIClass(String uiClassID, ClassLoader uiClassLoader)` The value of `get(uidClassID)` must be the `String` name of a class that implements the corresponding `ComponentUI` class.
`static void` | `JEditorPane.registerEditorKitForContentType(String type, String classname, ClassLoader loader)` Establishes the default bindings of `type` to `classname`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Standard Ed. 5.0
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.