Java Doc for SystemClassLoader.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » loader » 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 » EJB Server resin 3.1.5 » resin » com.caucho.loader 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.net.URLClassLoader
   com.caucho.loader.DynamicClassLoader
      com.caucho.loader.EnvironmentClassLoader
         com.caucho.loader.SystemClassLoader

SystemClassLoader
public class SystemClassLoader extends EnvironmentClassLoader implements EnvironmentBean(Code)
ClassLoader that initalizes the environment and allows byte code enhancement of classes in the system classpath.
 java -Djava.system.class.loader=com.caucho.loader.SystemClassLoader ...
 
If the system property "system.conf" is defined, it is used as a path to a configuration file that initializes the enviornment. Relative paths are relative to the current directory (See com.caucho.vfs.Vfs.getPwd .

Resources defined in system.conf are available to all classes loaded within the jvm.

 java -Dsystem.conf=tests/system.conf -Djava.system.class.loader=com.caucho.loader.SystemClassLoader ...
 



Constructor Summary
public  SystemClassLoader(ClassLoader parent)
     Creates a new SystemClassLoader.

Method Summary
public  ClassLoadergetClassLoader()
    
protected  StringgetSchema()
    
public  voidinit()
    
protected  voidinitEnvironment()
    
protected  ClassloadClassImpl(String name, boolean resolve)
    
public  StringtoString()
    


Constructor Detail
SystemClassLoader
public SystemClassLoader(ClassLoader parent)(Code)
Creates a new SystemClassLoader.




Method Detail
getClassLoader
public ClassLoader getClassLoader()(Code)



getSchema
protected String getSchema()(Code)



init
public void init()(Code)



initEnvironment
protected void initEnvironment()(Code)



loadClassImpl
protected Class loadClassImpl(String name, boolean resolve) throws ClassNotFoundException(Code)
Load a class using this class loader
Parameters:
  name - the classname to load
Parameters:
  resolve - if true, resolve the class the loaded classes



toString
public String toString()(Code)



Methods inherited from com.caucho.loader.EnvironmentClassLoader
void addChildListener(EnvironmentListener listener)(Code)(Java Doc)
public void addListener(EnvironmentListener listener)(Code)(Java Doc)
public void addLoaderListener(AddLoaderListener listener)(Code)(Java Doc)
public void addScanListener(ScanListener listener)(Code)(Java Doc)
public void addURL(URL url)(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
public Object getAttribute(String name)(Code)(Java Doc)
public Throwable getConfigException()(Code)(Java Doc)
protected ArrayList<EnvironmentListener> getEnvironmentListeners()(Code)(Java Doc)
protected ArrayList<AddLoaderListener> getLoaderListeners()(Code)(Java Doc)
public EnvironmentBean getOwner()(Code)(Java Doc)
public void init()(Code)(Java Doc)
protected void initEnvironment()(Code)(Java Doc)
public static synchronized void initializeEnvironment()(Code)(Java Doc)
public boolean isActive()(Code)(Java Doc)
public Object removeAttribute(String name)(Code)(Java Doc)
void removeChildListener(EnvironmentListener listener)(Code)(Java Doc)
public void removeListener(EnvironmentListener listener)(Code)(Java Doc)
protected void replace(EnvironmentClassLoader source)(Code)(Java Doc)
public void scan()(Code)(Java Doc)
protected void sendAddLoaderEventImpl()(Code)(Java Doc)
public Object setAttribute(String name, Object obj)(Code)(Java Doc)
public void setConfigException(Throwable e)(Code)(Java Doc)
public void setOwner(EnvironmentBean owner)(Code)(Java Doc)
public void start()(Code)(Java Doc)
public void stop()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void validate()(Code)(Java Doc)

Fields inherited from com.caucho.loader.DynamicClassLoader
final protected Lifecycle _lifecycle(Code)(Java Doc)

Methods inherited from com.caucho.loader.DynamicClassLoader
protected void addCodeBasePath(String path)(Code)(Java Doc)
public void addDependency(Dependency dependency)(Code)(Java Doc)
public void addJar(Path jar)(Code)(Java Doc)
public void addJarManifestClassPath(Path path) throws IOException(Code)(Java Doc)
final public void addListener(ClassLoaderListener listener)(Code)(Java Doc)
public void addLoader(Loader loader)(Code)(Java Doc)
public void addLoader(Loader loader, int offset)(Code)(Java Doc)
public void addManifestClassPath(String classPath, Path pwd)(Code)(Java Doc)
public void addNative(Path path)(Code)(Java Doc)
public void addParentPriorityPackage(String pkg)(Code)(Java Doc)
public void addParentPriorityPackages(String[] pkg)(Code)(Java Doc)
public void addPathClass(String className, Path path)(Code)(Java Doc)
public void addPermission(String path, String actions)(Code)(Java Doc)
public void addPermission(Permission permission)(Code)(Java Doc)
public void addPermissions(ArrayList<Permission> perms)(Code)(Java Doc)
public void addPriorityPackage(String pkg)(Code)(Java Doc)
public void addRoot(Path root)(Code)(Java Doc)
public void addTransformer(ClassFileTransformer transformer)(Code)(Java Doc)
public void addURL(Path path)(Code)(Java Doc)
public void addURL(URL url)(Code)(Java Doc)
public void addURL(int index, URL url)(Code)(Java Doc)
public void appendToClassPathForInstrumentation(String path)(Code)(Java Doc)
final protected void buildClassPath(StringBuilder head)(Code)(Java Doc)
final protected void buildResourcePathSpecificFirst(ArrayList<String> pathList)(Code)(Java Doc)
final protected void buildSourcePath(StringBuilder head)(Code)(Java Doc)
final public void clearModified()(Code)(Java Doc)
protected Package definePackage(String name, String a1, String a2, String a3, String b1, String b2, String b3, URL url)(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
protected Class findClass(String name) throws ClassNotFoundException(Code)(Java Doc)
protected Class findClassImpl(String name) throws ClassNotFoundException(Code)(Java Doc)
public String findLibrary(String name)(Code)(Java Doc)
public Path findPath(String name)(Code)(Java Doc)
public Enumeration<URL> findResources(String name)(Code)(Java Doc)
protected ClassEntry getClassEntry(String name) throws ClassNotFoundException(Code)(Java Doc)
final public String getClassPath()(Code)(Java Doc)
public long getDependencyCheckInterval()(Code)(Java Doc)
public static long getGlobalDependencyCheckInterval()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public ClassLoader getInstrumentableClassLoader()(Code)(Java Doc)
protected ArrayList<ClassLoaderListener> getListeners()(Code)(Java Doc)
public ArrayList<Loader> getLoaders()(Code)(Java Doc)
final public String getLocalClassPath()(Code)(Java Doc)
public ClassLoader getNewTempClassLoader()(Code)(Java Doc)
public ArrayList<Permission> getPermissions()(Code)(Java Doc)
protected PermissionCollection getPermissions(CodeSource codeSource)(Code)(Java Doc)
public URL getResource(String name)(Code)(Java Doc)
public InputStream getResourceAsStream(String name)(Code)(Java Doc)
final public String getResourcePathSpecificFirst()(Code)(Java Doc)
public SecurityManager getSecurityManager()(Code)(Java Doc)
final public String getSourcePath()(Code)(Java Doc)
public ClassLoader getThrowawayClassLoader()(Code)(Java Doc)
protected ArrayList<ClassFileTransformer> getTransformerList()(Code)(Java Doc)
public URL[] getURLs()(Code)(Java Doc)
public void init()(Code)(Java Doc)
public boolean isDestroyed()(Code)(Java Doc)
public static boolean isJarCacheEnabled()(Code)(Java Doc)
final public boolean isModified()(Code)(Java Doc)
final public boolean isModified(boolean enable)(Code)(Java Doc)
public static boolean isModified(ClassLoader loader)(Code)(Java Doc)
final public boolean isModifiedNow()(Code)(Java Doc)
public Class loadClass(String name) throws ClassNotFoundException(Code)(Java Doc)
protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc)
protected Class loadClass(ClassEntry entry) throws IOException, ClassNotFoundException(Code)(Java Doc)
protected Class loadClassImpl(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc)
final public boolean logModified(Logger log)(Code)(Java Doc)
final public void make() throws Exception(Code)(Java Doc)
final public void removeListener(ClassLoaderListener listener)(Code)(Java Doc)
protected void replace(DynamicClassLoader source)(Code)(Java Doc)
final public void resetDependencyCheckInterval()(Code)(Java Doc)
public void scan()(Code)(Java Doc)
final protected void sendAddLoaderEvent()(Code)(Java Doc)
protected void sendAddLoaderEventImpl()(Code)(Java Doc)
public void setDependencyCheckInterval(long interval)(Code)(Java Doc)
public void setEnableDependencyCheck(boolean enable)(Code)(Java Doc)
public static void setGlobalDependencyCheckInterval(long interval)(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)
public static void setJarCacheEnabled(boolean isEnabled)(Code)(Java Doc)
public static void setOldLoader(Thread thread, ClassLoader oldLoader)(Code)(Java Doc)
public void setServletHack(boolean servletHack)(Code)(Java Doc)
public void stop()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void validate() throws ConfigException(Code)(Java Doc)

Methods inherited from java.net.URLClassLoader
protected void addURL(URL url)(Code)(Java Doc)
protected Package definePackage(String name, Manifest man, URL url) throws IllegalArgumentException(Code)(Java Doc)
protected Class findClass(String name) throws ClassNotFoundException(Code)(Java Doc)
public URL findResource(String name)(Code)(Java Doc)
public Enumeration<URL> findResources(String name) throws IOException(Code)(Java Doc)
protected PermissionCollection getPermissions(CodeSource codesource)(Code)(Java Doc)
public URL[] getURLs()(Code)(Java Doc)
public static URLClassLoader newInstance(URL[] urls, ClassLoader parent)(Code)(Java Doc)
public static URLClassLoader newInstance(URL[] urls)(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.