Java Doc for SharedLibrary.java in  » ESB » open-esb » com » sun » jbi » framework » 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 » ESB » open esb » com.sun.jbi.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.framework.SharedLibrary

SharedLibrary
public class SharedLibrary implements com.sun.jbi.ComponentInfo,java.io.Serializable(Code)
SharedLibrary holds the name and class path for a Shared Library.
author:
   Sun Microsystems, Inc.



Constructor Summary
 SharedLibrary(String name, String desc, String root, List elementList)
     Constructs a SharedLibrary object with the specified name, description, installation root directory, and list of class path elements.
Parameters:
  name - The unique name of this Shared Library.
Parameters:
  desc - The description of this Shared Library.
Parameters:
  root - The installation root directory for this Shared Library.
Parameters:
  elementList - A list of class path elements comprising thisShared Library.
 SharedLibrary(String name, String desc, String root, boolean isSelfFirst, List elementList)
     Constructs a SharedLibrary object with the specified component name, description, component root directory, and list of class path elements.
Parameters:
  name - The unique name of this Shared Library.
Parameters:
  desc - The description of this Shared Library.
Parameters:
  root - The component root directory for this Shared Library.
Parameters:
  isSelfFirst - A flag set to true to force the class loader forthis Shared Library to use a self-first hierarchy, or false to use thenormal parent-first hierarchy.
Parameters:
  elementList - A list of class path elements comprising thisShared Library.
 SharedLibrary(com.sun.jbi.ComponentInfo slInfo)
    

Method Summary
public  booleanequals(Object object)
     Compare another object with this one for equality.
Parameters:
  object - The object to be compared with this one.
public  StringgetBootstrapClassName()
     Get the class name of the bootstrap implementation.
public  java.util.ListgetBootstrapClassPathElements()
     Get the class path elements needed in the bootstrap runtime environment.
public  StringgetClassPathAsString()
     Get the complete classpath for this Shared Library.
public  ListgetClassPathElements()
     Get the list of elements that comprise the classpath for this Shared Library.
public  StringgetComponentClassName()
     Get the component class name.
public  ComponentTypegetComponentType()
     Get the component type.
public  StringgetComponentTypeAsString()
     Get the component type as a string.
public  StringgetDescription()
     Get the description of this Shared Library.
public  StringgetInstallRoot()
     Get the installation root directory for this Shared Library.
public  StringgetInstallationDescriptor()
    
public  StringgetName()
     Get the unique name of this Shared Library.
public  java.util.MapgetProperties()
     Get the installation properties.
public  ListgetServiceUnitList()
     Get the list of deployed SUs.
public  ListgetSharedLibraryNames()
     Get the list of required Shared Library names.
public  ComponentStategetStatus()
     Get the component status.
public  StringgetStatusAsString()
     Get the component status as a string.
public  StringgetWorkspaceRoot()
     Get the workspace root directory.
public  inthashCode()
     Get the hash code for this Shared Library.
public  booleanisBootstrapClassLoaderSelfFirst()
     Check to see if the bootstrap class loader should use a self-first search hierarchy.
public  booleanisClassLoaderSelfFirst()
     Check to see if the shared class loader should use the self-first hierarchy.
public  voidsetClassLoaderSelfFirst(boolean isSelfFirst)
     Set the flag that determines the hierarchy for the shared class loader, which is true for self-first or false for parent-first.
public  voidsetInstallationDescriptor(String jbiXml)
    
public  StringtoString()
     Convert to a String.


Constructor Detail
SharedLibrary
SharedLibrary(String name, String desc, String root, List elementList)(Code)
Constructs a SharedLibrary object with the specified name, description, installation root directory, and list of class path elements.
Parameters:
  name - The unique name of this Shared Library.
Parameters:
  desc - The description of this Shared Library.
Parameters:
  root - The installation root directory for this Shared Library.
Parameters:
  elementList - A list of class path elements comprising thisShared Library. Each element is a string containing either a directorypath or a jar file path. The elements must be in the order in whichthey should appear in the class path.
throws:
  java.lang.IllegalArgumentException - if any arguments are invalid.



SharedLibrary
SharedLibrary(String name, String desc, String root, boolean isSelfFirst, List elementList)(Code)
Constructs a SharedLibrary object with the specified component name, description, component root directory, and list of class path elements.
Parameters:
  name - The unique name of this Shared Library.
Parameters:
  desc - The description of this Shared Library.
Parameters:
  root - The component root directory for this Shared Library.
Parameters:
  isSelfFirst - A flag set to true to force the class loader forthis Shared Library to use a self-first hierarchy, or false to use thenormal parent-first hierarchy.
Parameters:
  elementList - A list of class path elements comprising thisShared Library. Each element is a string containing either a directorypath or a jar file path. The elements must be in the order in whichthey should appear in the class path.
throws:
  java.lang.IllegalArgumentException - if any arguments are invalid.



SharedLibrary
SharedLibrary(com.sun.jbi.ComponentInfo slInfo)(Code)
Constructor for building an instance from a ComponentInfo
Parameters:
  slInfo - - SharedLibrary Info




Method Detail
equals
public boolean equals(Object object)(Code)
Compare another object with this one for equality.
Parameters:
  object - The object to be compared with this one. True if the object is equal to this one, falseif they are not equal.



getBootstrapClassName
public String getBootstrapClassName()(Code)
Get the class name of the bootstrap implementation. nothing, always throws an exception.
throws:
  UnsupportedOperationException - if called.



getBootstrapClassPathElements
public java.util.List getBootstrapClassPathElements()(Code)
Get the class path elements needed in the bootstrap runtime environment. nothing, always throws an exception.
throws:
  UnsupportedOperationException - if called.



getClassPathAsString
public String getClassPathAsString()(Code)
Get the complete classpath for this Shared Library. The list of elements of the classpath for this Shared Library,in the correct order, as a valid class path string.



getClassPathElements
public List getClassPathElements()(Code)
Get the list of elements that comprise the classpath for this Shared Library. The list of elements of the classpath for this Shared Library,in the correct search order.



getComponentClassName
public String getComponentClassName()(Code)
Get the component class name. For a Shared Library, this method always returns null. Always null.



getComponentType
public ComponentType getComponentType()(Code)
Get the component type. This always returns SHARED_LIBRARY. The component type, which is always SHARED_LIBRARY.



getComponentTypeAsString
public String getComponentTypeAsString()(Code)
Get the component type as a string. The component type as a string ("Shared Library").



getDescription
public String getDescription()(Code)
Get the description of this Shared Library. The description of the Shared Library.



getInstallRoot
public String getInstallRoot()(Code)
Get the installation root directory for this Shared Library. The installation root directory path.



getInstallationDescriptor
public String getInstallationDescriptor()(Code)
the Installation Descriptor [jbi.xml] for theShared Library.



getName
public String getName()(Code)
Get the unique name of this Shared Library. The unique name of the Shared Library.



getProperties
public java.util.Map getProperties()(Code)
Get the installation properties. nothing, always throws exception.
throws:
  UnsupportedOperationException - if called.



getServiceUnitList
public List getServiceUnitList()(Code)
Get the list of deployed SUs. For a Shared Library, this method always returns null. Always null.



getSharedLibraryNames
public List getSharedLibraryNames()(Code)
Get the list of required Shared Library names. For a Shared Library, this method call always returns null. Always null.



getStatus
public ComponentState getStatus()(Code)
Get the component status. This always returns SHUTDOWN. The component status, which is always SHUTDOWN.



getStatusAsString
public String getStatusAsString()(Code)
Get the component status as a string. This always returns "Installed". The component status string, which is always "Installed".



getWorkspaceRoot
public String getWorkspaceRoot()(Code)
Get the workspace root directory. nothing, always throws exception.
throws:
  UnsupportedOperationException - if called.



hashCode
public int hashCode()(Code)
Get the hash code for this Shared Library. The hash code.



isBootstrapClassLoaderSelfFirst
public boolean isBootstrapClassLoaderSelfFirst()(Code)
Check to see if the bootstrap class loader should use a self-first search hierarchy. nothing, always throws an exception.
throws:
  UnsupportedOperationException - if called.



isClassLoaderSelfFirst
public boolean isClassLoaderSelfFirst()(Code)
Check to see if the shared class loader should use the self-first hierarchy. true if the class loader should use the self-first hierarchy,false if it should use parent-first.



setClassLoaderSelfFirst
public void setClassLoaderSelfFirst(boolean isSelfFirst)(Code)
Set the flag that determines the hierarchy for the shared class loader, which is true for self-first or false for parent-first.
Parameters:
  isSelfFirst - is true for a self-first class loading hierarchy, orfalse for a parent-first hierarchy.



setInstallationDescriptor
public void setInstallationDescriptor(String jbiXml)(Code)

Parameters:
  jbiXml - - the string representation of the installation descriptorfor this Shared Library



toString
public String toString()(Code)
Convert to a String. The String representation of this SharedLibrary.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) 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.