Uses of Class
java.lang.ClassLoader
| Package | Description |
|---|---|
| dalvik.system | |
| java.lang | |
| java.lang.reflect | |
| java.net | |
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| java.util | |
| javax.xml.datatype | |
| javax.xml.parsers | |
| javax.xml.transform | |
| javax.xml.validation | |
| javax.xml.xpath | |
| libcore.reflect | |
| org.apache.commons.logging |
Simple wrapper API around multiple logging APIs.
|
| org.apache.commons.logging.impl |
Concrete implementations of commons-logging wrapper APIs.
|
| org.apache.http.util |
Mostly utility classes with static helper methods for various purposes.
|
| org.robovm.rt |
-
Uses of ClassLoader in dalvik.system
Methods in dalvik.system that return ClassLoader Modifier and Type Method Description static ClassLoaderVMStack. getCallingClassLoader()Returns the defining class loader of the caller's caller.static ClassLoaderVMStack. getClosestUserClassLoader(ClassLoader bootstrap, ClassLoader system)Returns the first ClassLoader on the call stack that isn't either of the passed-in ClassLoaders.Methods in dalvik.system with parameters of type ClassLoader Modifier and Type Method Description static ClassLoaderVMStack. getClosestUserClassLoader(ClassLoader bootstrap, ClassLoader system)Returns the first ClassLoader on the call stack that isn't either of the passed-in ClassLoaders. -
Uses of ClassLoader in java.lang
Methods in java.lang that return ClassLoader Modifier and Type Method Description protected ClassLoaderSecurityManager. currentClassLoader()Deprecated.ClassLoaderClass. getClassLoader()Returns the class loader which was used to load the class represented by thisClass.ClassLoaderThread. getContextClassLoader()Returns the context ClassLoader for this Thread.ClassLoaderClassLoader. getParent()Returns this class loader's parent.static ClassLoaderClassLoader. getSystemClassLoader()Returns the system class loader.Methods in java.lang with parameters of type ClassLoader Modifier and Type Method Description static Class<?>Class. forName(String className, boolean shouldInitialize, ClassLoader classLoader)Returns aClassobject which represents the class with the given name.voidThread. setContextClassLoader(ClassLoader cl)Set the context ClassLoader for the receiver.Constructors in java.lang with parameters of type ClassLoader Constructor Description ClassLoader(ClassLoader parentLoader)Constructs a new instance of this class with the specified class loader as its parent. -
Uses of ClassLoader in java.lang.reflect
Methods in java.lang.reflect with parameters of type ClassLoader Modifier and Type Method Description static Class<?>Proxy. getProxyClass(ClassLoader loader, Class<?>... interfaces)Returns the dynamically builtClassfor the specified interfaces.static ObjectProxy. newProxyInstance(ClassLoader loader, Class<?>[] interfaces, InvocationHandler h)Returns an instance of the dynamically built class for the specified interfaces. -
Uses of ClassLoader in java.net
Subclasses of ClassLoader in java.net Modifier and Type Class Description classURLClassLoaderThis class loader is responsible for loading classes and resources from a list of URLs which can refer to either directories or JAR files.Methods in java.net with parameters of type ClassLoader Modifier and Type Method Description static URLClassLoaderURLClassLoader. newInstance(URL[] urls, ClassLoader parentCl)Returns a newURLClassLoaderinstance for the given URLs and the specifiedClassLoaderas its parent.Constructors in java.net with parameters of type ClassLoader Constructor Description URLClassLoader(URL[] urls, ClassLoader parent)Constructs a new URLClassLoader instance.URLClassLoader(URL[] searchUrls, ClassLoader parent, URLStreamHandlerFactory factory)Constructs a newURLClassLoaderinstance. -
Uses of ClassLoader in java.security
Subclasses of ClassLoader in java.security Modifier and Type Class Description classSecureClassLoaderSecureClassLoaderrepresents aClassLoaderwhich associates the classes it loads with a code source and provide mechanisms to allow the relevant permissions to be retrieved.Methods in java.security that return ClassLoader Modifier and Type Method Description ClassLoaderProtectionDomain. getClassLoader()Constructors in java.security with parameters of type ClassLoader Constructor Description ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals)SecureClassLoader(ClassLoader parent)Constructs a new instance ofSecureClassLoaderwith the specified parentClassLoader. -
Uses of ClassLoader in java.util
Methods in java.util with parameters of type ClassLoader Modifier and Type Method Description static voidResourceBundle. clearCache(ClassLoader loader)static ResourceBundleResourceBundle. getBundle(String bundleName, Locale locale, ClassLoader loader)Finds the named resource bundle for the specifiedLocaleandClassLoader.static ResourceBundleResourceBundle. getBundle(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control)Finds the named resource bundle for the specified base name and control.static <S> ServiceLoader<S>ServiceLoader. load(Class<S> service, ClassLoader classLoader)Constructs a service loader.booleanResourceBundle.Control. needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime)Returns true if the ResourceBundle needs to reload.ResourceBundleResourceBundle.Control. newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)Returns a new ResourceBundle. -
Uses of ClassLoader in javax.xml.datatype
Methods in javax.xml.datatype with parameters of type ClassLoader Modifier and Type Method Description static DatatypeFactoryDatatypeFactory. newInstance(String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofDatatypeFactory. -
Uses of ClassLoader in javax.xml.parsers
Methods in javax.xml.parsers with parameters of type ClassLoader Modifier and Type Method Description static DocumentBuilderFactoryDocumentBuilderFactory. newInstance(String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofDocumentBuilderFactory.static SAXParserFactorySAXParserFactory. newInstance(String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofSAXParserFactory. -
Uses of ClassLoader in javax.xml.transform
Methods in javax.xml.transform with parameters of type ClassLoader Modifier and Type Method Description static TransformerFactoryTransformerFactory. newInstance(String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofTransformerFactory. -
Uses of ClassLoader in javax.xml.validation
Methods in javax.xml.validation with parameters of type ClassLoader Modifier and Type Method Description static SchemaFactorySchemaFactory. newInstance(String schemaLanguage, String factoryClassName, ClassLoader classLoader)Returns an instance of the named implementation ofSchemaFactory. -
Uses of ClassLoader in javax.xml.xpath
Methods in javax.xml.xpath with parameters of type ClassLoader Modifier and Type Method Description static XPathFactoryXPathFactory. newInstance(String uri, String factoryClassName, ClassLoader classLoader) -
Uses of ClassLoader in libcore.reflect
Fields in libcore.reflect declared as ClassLoader Modifier and Type Field Description ClassLoaderGenericSignatureParser. loaderMethods in libcore.reflect with parameters of type ClassLoader Modifier and Type Method Description static Class<?>InternalNames. getClass(ClassLoader classLoader, String internalName)Constructors in libcore.reflect with parameters of type ClassLoader Constructor Description GenericSignatureParser(ClassLoader loader)ParameterizedTypeImpl(ParameterizedTypeImpl ownerType, String rawTypeName, ListOfTypes args, ClassLoader loader) -
Uses of ClassLoader in org.apache.commons.logging
Methods in org.apache.commons.logging that return ClassLoader Modifier and Type Method Description protected static ClassLoaderLogFactory. directGetContextClassLoader()Return the thread context class loader if available; otherwise return null.protected static ClassLoaderLogFactory. getClassLoader(Class clazz)Safely get access to the classloader for the specified class.protected static ClassLoaderLogFactory. getContextClassLoader()Calls LogFactory.directGetContextClassLoader under the control of an AccessController class.Methods in org.apache.commons.logging with parameters of type ClassLoader Modifier and Type Method Description protected static ObjectLogFactory. createFactory(String factoryClass, ClassLoader classLoader)Implements the operations described in the javadoc for newFactory.protected static LogFactoryLogFactory. newFactory(String factoryClass, ClassLoader classLoader)Method provided for backwards compatibility; see newFactory version that takes 3 parameters.protected static LogFactoryLogFactory. newFactory(String factoryClass, ClassLoader classLoader, ClassLoader contextClassLoader)Return a new instance of the specifiedLogFactoryimplementation class, loaded by the specified class loader.static voidLogFactory. release(ClassLoader classLoader)Release any internal references to previously createdLogFactoryinstances that have been associated with the specified class loader (if any), after calling the instance methodrelease()on each of them. -
Uses of ClassLoader in org.apache.commons.logging.impl
Methods in org.apache.commons.logging.impl that return ClassLoader Modifier and Type Method Description protected static ClassLoaderLogFactoryImpl. getClassLoader(Class clazz)Workaround for bug in Java1.2; in theory this method is not needed.protected static ClassLoaderLogFactoryImpl. getContextClassLoader()Gets the context classloader. -
Uses of ClassLoader in org.apache.http.util
Methods in org.apache.http.util with parameters of type ClassLoader Modifier and Type Method Description protected static VersionInfoVersionInfo. fromMap(String pckg, Map info, ClassLoader clsldr)Instantiates version information from properties.static VersionInfo[]VersionInfo. loadVersionInfo(String[] pckgs, ClassLoader clsldr)Loads version information for a list of packages.static VersionInfoVersionInfo. loadVersionInfo(String pckg, ClassLoader clsldr)Loads version information for a package. -
Uses of ClassLoader in org.robovm.rt
Methods in org.robovm.rt with parameters of type ClassLoader Modifier and Type Method Description static Class<?>[]VM. listClasses(Class<?> assignableToClass, ClassLoader classLoader)
SecurityManager.checkPermission(java.security.Permission)instead.