Java Doc for UnifiedClassLoader3.java in  » EJB-Server-JBoss-4.2.1 » jmx » org » jboss » mx » loading » 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 JBoss 4.2.1 » jmx » org.jboss.mx.loading 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.mx.loading.RepositoryClassLoader
   org.jboss.mx.loading.UnifiedClassLoader
      org.jboss.mx.loading.UnifiedClassLoader3

UnifiedClassLoader3
public class UnifiedClassLoader3 extends UnifiedClassLoader implements UnifiedClassLoader3MBean(Code)
An extension of UnifiedClassLoader that manages a thread based loading strategy to work around the locking problems associated with the VM initiated locking due to the synchronized loadClassInternal method of ClassLoader which cannot be overriden.
author:
   Scott Stark
version:
   $Revision: 57200 $



Constructor Summary
public  UnifiedClassLoader3(URL url)
     Construct a UnifiedClassLoader without registering it to the classloader repository.
public  UnifiedClassLoader3(URL url, URL origURL)
     Construct a UnifiedClassLoader without registering it to the classloader repository.
public  UnifiedClassLoader3(URL url, URL origURL, LoaderRepository repository)
     Construct a UnifiedClassLoader and associate it with the given repository.
public  UnifiedClassLoader3(URL url, URL origURL, ClassLoader parent, LoaderRepository repository)
     Construct a UnifiedClassLoader and associate it with the given repository.

Method Summary
public  StringtoString()
     Retruns a string representaion of this UCL.


Constructor Detail
UnifiedClassLoader3
public UnifiedClassLoader3(URL url)(Code)
Construct a UnifiedClassLoader without registering it to the classloader repository.
Parameters:
  url - the single URL to load classes from.



UnifiedClassLoader3
public UnifiedClassLoader3(URL url, URL origURL)(Code)
Construct a UnifiedClassLoader without registering it to the classloader repository.
Parameters:
  url - the single URL to load classes from.
Parameters:
  origURL - the possibly null original URL from which url maybe a local copy or nested jar.



UnifiedClassLoader3
public UnifiedClassLoader3(URL url, URL origURL, LoaderRepository repository)(Code)
Construct a UnifiedClassLoader and associate it with the given repository.
Parameters:
  url - The single URL to load classes from.
Parameters:
  origURL - the possibly null original URL from which url maybe a local copy or nested jar.
Parameters:
  repository - the repository this classloader delegates to



UnifiedClassLoader3
public UnifiedClassLoader3(URL url, URL origURL, ClassLoader parent, LoaderRepository repository)(Code)
Construct a UnifiedClassLoader and associate it with the given repository.
Parameters:
  url - The single URL to load classes from.
Parameters:
  origURL - the possibly null original URL from which url maybe a local copy or nested jar.
Parameters:
  parent - the parent class loader to use
Parameters:
  repository - the repository this classloader delegates to




Method Detail
toString
public String toString()(Code)
Retruns a string representaion of this UCL.



Fields inherited from org.jboss.mx.loading.UnifiedClassLoader
protected URL origURL(Code)(Java Doc)
protected URL url(Code)(Java Doc)

Methods inherited from org.jboss.mx.loading.UnifiedClassLoader
public ObjectName getObjectName() throws MalformedObjectNameException(Code)(Java Doc)
public URL getOrigURL()(Code)(Java Doc)
protected PermissionCollection getPermissions(CodeSource cs)(Code)(Java Doc)
protected ProtectionDomain getProtectionDomain()(Code)(Java Doc)
public URL getURL()(Code)(Java Doc)
public void unregister()(Code)(Java Doc)

Fields inherited from org.jboss.mx.loading.RepositoryClassLoader
protected ReentrantLock loadLock(Code)(Java Doc)
protected ClassLoader parent(Code)(Java Doc)
protected LoaderRepository repository(Code)(Java Doc)
protected Exception unregisterTrace(Code)(Java Doc)

Methods inherited from org.jboss.mx.loading.RepositoryClassLoader
protected void acquire()(Code)(Java Doc)
public void addToClassBlackList(String name)(Code)(Java Doc)
public void addToResourceBlackList(String name)(Code)(Java Doc)
public void addURL(URL url)(Code)(Java Doc)
protected boolean attempt(long waitMS)(Code)(Java Doc)
public void clearBlackLists()(Code)(Java Doc)
public void clearClassBlackList()(Code)(Java Doc)
public void clearResourceBlackList()(Code)(Java Doc)
protected void definePackage(String className)(Code)(Java Doc)
final public boolean equals(Object other)(Code)(Java Doc)
protected Class findClass(String name) throws ClassNotFoundException(Code)(Java Doc)
protected Class findClassLocally(String name) throws ClassNotFoundException(Code)(Java Doc)
public Enumeration findResources(String name) throws IOException(Code)(Java Doc)
public Enumeration findResourcesLocally(String name) throws IOException(Code)(Java Doc)
public int getAddedOrder()(Code)(Java Doc)
public URL[] getAllURLs()(Code)(Java Doc)
public URL[] getClasspath()(Code)(Java Doc)
public LoaderRepository getLoaderRepository()(Code)(Java Doc)
abstract public ObjectName getObjectName() throws MalformedObjectNameException(Code)(Java Doc)
public Package getPackage(String name)(Code)(Java Doc)
public Package[] getPackages()(Code)(Java Doc)
protected ProtectionDomain getProtectionDomain(URL codesourceUrl)(Code)(Java Doc)
public URL getResource(String name)(Code)(Java Doc)
public URL getResourceLocally(String name)(Code)(Java Doc)
public URL getURL()(Code)(Java Doc)
public URL[] getURLs()(Code)(Java Doc)
final public int hashCode()(Code)(Java Doc)
public boolean isClassBlackListed(String name)(Code)(Java Doc)
public boolean isResourceBlackListed(String name)(Code)(Java Doc)
protected byte[] loadByteCode(String classname) throws ClassNotFoundException, IOException(Code)(Java Doc)
protected byte[] loadByteCode(URL classURL) throws ClassNotFoundException, IOException(Code)(Java Doc)
public Class loadClass(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc)
public Class loadClassBefore(String name) throws ClassNotFoundException(Code)(Java Doc)
public synchronized Class loadClassImpl(String name, boolean resolve, int stopAt) throws ClassNotFoundException(Code)(Java Doc)
public Class loadClassLocally(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc)
protected void release()(Code)(Java Doc)
public void removeFromClassBlackList(String name)(Code)(Java Doc)
public void removeFromResourceBlackList(String name)(Code)(Java Doc)
public void setAddedOrder(int addedOrder)(Code)(Java Doc)
public void setRepository(LoaderRepository repository)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void unregister()(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.