Java Doc for ClassLoader.java in  » Apache-Harmony-Java-SE » java-package » java » lang » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » java package » java.lang 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.ClassLoader

All known Subclasses:   java.security.SecureClassLoader,
ClassLoader
abstract public class ClassLoader (Code)

author:
   Evgueni Brevnov
version:
   $Revision: 1.1.2.2.4.4 $

Inner Class :final static class BootstrapLoader

Field Summary
 Hashtable<String, Boolean>classAssertionStatus
     package private to access from the java.lang.Class class.
 Hashtable<String, Object[]>classSigners
     package private to access from the java.lang.Class class.
 booleanclearAssertionStatus
    
 intdefaultAssertionStatus
     package private to access from the java.lang.Class class.
 Hashtable<String, Boolean>packageAssertionStatus
     package private to access from the java.lang.Class class.

Constructor Summary
protected  ClassLoader()
    
protected  ClassLoader(ClassLoader parent)
    

Method Summary
public  voidclearAssertionStatus()
    
final protected  ClassdefineClass(byte[] data, int offset, int len)
    
final protected  ClassdefineClass(String name, byte[] data, int offset, int len)
    
final protected  ClassdefineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)
    
final protected synchronized  ClassdefineClass(String name, byte[] data, int offset, int len, ProtectionDomain domain)
    
protected  PackagedefinePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)
    
protected  ClassfindClass(String name)
    
protected  StringfindLibrary(String name)
    
final native protected  ClassfindLoadedClass(String name)
    
protected  URLfindResource(String name)
    
protected  Enumeration<URL>findResources(String name)
    
final protected  ClassfindSystemClass(String name)
    
protected  PackagegetPackage(String name)
    
protected  Package[]getPackages()
    
final public  ClassLoadergetParent()
    
public  URLgetResource(String name)
    
public  InputStreamgetResourceAsStream(String name)
    
public  Enumeration<URL>getResources(String name)
    
final static  ClassLoadergetStackClassLoader(int depth)
    
public static  ClassLoadergetSystemClassLoader()
    
public static  URLgetSystemResource(String name)
    
public static  InputStreamgetSystemResourceAsStream(String name)
    
public static  Enumeration<URL>getSystemResources(String name)
    
final  booleanisSameOrAncestor(ClassLoader loader)
    
final  booleanisSystemClassLoader()
    
public  ClassloadClass(String name)
    
protected synchronized  ClassloadClass(String name, boolean resolve)
    
final static  voidloadLibrary(String libName, ClassLoader loader, String libraryPath)
    
final static  voidloadLibraryWithClassLoader(String libName, ClassLoader loader)
    
native  voidregisterInitiatedClass(Class clazz)
    
final protected  voidresolveClass(Class clazz)
    
public  voidsetClassAssertionStatus(String name, boolean flag)
    
public  voidsetDefaultAssertionStatus(boolean flag)
    
public  voidsetPackageAssertionStatus(String name, boolean flag)
    
final protected  voidsetSigners(Class clazz, Object[] signers)
    

Field Detail
classAssertionStatus
Hashtable<String, Boolean> classAssertionStatus(Code)
package private to access from the java.lang.Class class. The following mapping is used , where name - class name, flag - true if assertion is enabled, false if disabled.



classSigners
Hashtable<String, Object[]> classSigners(Code)
package private to access from the java.lang.Class class. The following mapping is used , where name - class name, signers - array of signers.



clearAssertionStatus
boolean clearAssertionStatus(Code)



defaultAssertionStatus
int defaultAssertionStatus(Code)
package private to access from the java.lang.Class class.



packageAssertionStatus
Hashtable<String, Boolean> packageAssertionStatus(Code)
package private to access from the java.lang.Class class. The following mapping is used , where name - package name, flag - true if assertion is enabled, false if disabled.




Constructor Detail
ClassLoader
protected ClassLoader()(Code)



ClassLoader
protected ClassLoader(ClassLoader parent)(Code)




Method Detail
clearAssertionStatus
public void clearAssertionStatus()(Code)



defineClass
final protected Class defineClass(byte[] data, int offset, int len) throws ClassFormatError(Code)



defineClass
final protected Class defineClass(String name, byte[] data, int offset, int len) throws ClassFormatError(Code)



defineClass
final protected Class defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain) throws ClassFormatError(Code)



defineClass
final protected synchronized Class defineClass(String name, byte[] data, int offset, int len, ProtectionDomain domain) throws ClassFormatError(Code)



definePackage
protected Package definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase) throws IllegalArgumentException(Code)



findClass
protected Class findClass(String name) throws ClassNotFoundException(Code)



findLibrary
protected String findLibrary(String name)(Code)



findLoadedClass
final native protected Class findLoadedClass(String name)(Code)



findResource
protected URL findResource(String name)(Code)



findResources
protected Enumeration<URL> findResources(String name) throws IOException(Code)



findSystemClass
final protected Class findSystemClass(String name) throws ClassNotFoundException(Code)



getPackage
protected Package getPackage(String name)(Code)



getPackages
protected Package[] getPackages()(Code)



getParent
final public ClassLoader getParent()(Code)



getResource
public URL getResource(String name)(Code)



getResourceAsStream
public InputStream getResourceAsStream(String name)(Code)



getResources
public Enumeration<URL> getResources(String name) throws IOException(Code)



getStackClassLoader
final static ClassLoader getStackClassLoader(int depth)(Code)



getSystemClassLoader
public static ClassLoader getSystemClassLoader()(Code)



getSystemResource
public static URL getSystemResource(String name)(Code)



getSystemResourceAsStream
public static InputStream getSystemResourceAsStream(String name)(Code)



getSystemResources
public static Enumeration<URL> getSystemResources(String name) throws IOException(Code)



isSameOrAncestor
final boolean isSameOrAncestor(ClassLoader loader)(Code)



isSystemClassLoader
final boolean isSystemClassLoader()(Code)



loadClass
public Class loadClass(String name) throws ClassNotFoundException(Code)



loadClass
protected synchronized Class loadClass(String name, boolean resolve) throws ClassNotFoundException(Code)



loadLibrary
final static void loadLibrary(String libName, ClassLoader loader, String libraryPath)(Code)



loadLibraryWithClassLoader
final static void loadLibraryWithClassLoader(String libName, ClassLoader loader)(Code)



registerInitiatedClass
native void registerInitiatedClass(Class clazz)(Code)
Registers this class loader as initiating for a class Declared as package private to use it from java.lang.Class.forName



resolveClass
final protected void resolveClass(Class clazz)(Code)



setClassAssertionStatus
public void setClassAssertionStatus(String name, boolean flag)(Code)



setDefaultAssertionStatus
public void setDefaultAssertionStatus(boolean flag)(Code)



setPackageAssertionStatus
public void setPackageAssertionStatus(String name, boolean flag)(Code)



setSigners
final protected void setSigners(Class clazz, Object[] signers)(Code)



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final public Class<? extends Object> getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify()(Code)(Java Doc)
final public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait(long millis, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait(long millis) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.