Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 216 (Maintenance Release)

Uses of Class
java.lang.ClassLoader

Packages that use ClassLoader
java.beans Contains classes for run-time Java Beans support. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
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.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.microedition.xlet Provides interfaces used by applications and the application manager to communicate. 
 

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.
 

Uses of ClassLoader in java.lang
 

Methods in java.lang that return ClassLoader
 ClassLoader ClassLoader.getParent()
          Returns the parent class loader for delegation.
static ClassLoader ClassLoader.getSystemClassLoader()
          Returns the system class loader for delegation.
 ClassLoader Class.getClassLoader()
          Returns the class loader for the class.
 ClassLoader Thread.getContextClassLoader()
          Returns the context ClassLoader for this Thread.
 

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.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.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.microedition.xlet
 

Methods in javax.microedition.xlet that return ClassLoader
 ClassLoader XletContext.getClassLoader()
          Returns the base class loader of the Xlet.
 


JSR 216 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 216 specification.