|
CDC 1.1.2 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClassLoader | |
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). |
Uses of ClassLoader in java.lang |
Methods in java.lang that return ClassLoader | |
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. |
ClassLoader |
Class.getClassLoader()
Returns the class loader for the class. |
Methods in java.lang with parameters of type ClassLoader | |
void |
Thread.setContextClassLoader(ClassLoader cl)
Sets the context ClassLoader for this Thread. |
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. |
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. |
|
CDC 1.1.2 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |