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


java.lang.Object
   com.sun.jbi.management.ComponentInstallationContext

ComponentInstallationContext
public class ComponentInstallationContext implements com.sun.jbi.component.InstallationContext(Code)
Contains information necessary for a component (BC or SE) to perform special installation/uninstallation processing. This context is provided to the init method of the javax.jbi.component.Bootstrap implementation for the component.
author:
   Sun Microsystems, Inc.



Constructor Summary
public  ComponentInstallationContext(String componentName, int componentType, String className, List classPathElements, org.w3c.dom.DocumentFragment extensionData)
     Public constructor.
Parameters:
  componentName - the unique component name.
Parameters:
  componentType - the type of this component - either BINDING orENGINE.
Parameters:
  className - the name of the class the implements thejavax.jbi.component.Component interface for this component.
Parameters:
  classPathElements - the list of elements that comprise theruntime class path for this component.

Method Summary
public  ListgetAbsoluteClassPathElements()
     Get a list of elements that comprise the class path for this component. Each element represents either a directory (containing class files) or a jar file.
public  ListgetClassPathElements()
     Get a list of elements that comprise the class path for this component. Each element represents either a directory (containing class files) or a jar file.
public  StringgetComponentClassName()
     Get the name of the class that implements javax.jbi.component.Component for this component.
public  StringgetComponentName()
     Get the unique name assigned to this component.
public  javax.jbi.component.ComponentContextgetContext()
     Get the component context.
public  StringgetDescription()
     Return the description of this component.
public  StringgetInstallRoot()
     Get the installation root directory for this component.
public  org.w3c.dom.DocumentFragmentgetInstallationDescriptorExtension()
     Return a DOM document fragment representing the installation descriptor (jbi.xml) extension data for this component, if any is present.
public  StringgetWorkspaceRoot()
     Return the workspace root directory for the component.
public  booleanisBinding()
     Return an indication as to whether the component being installed is a Binding Component.
public  booleanisBootstrapClassLoaderSelfFirst()
     Return an indication as to whether the bootstrap class loader should use the normal hierarchy (parent-first) or an inverted hierarchy (self-first).
public  booleanisComponentClassLoaderSelfFirst()
     Return an indication as to whether the component class loader should use the normal hierarchy (parent-first) or an inverted hierarchy (self-first).
public  booleanisEngine()
     Return an indication as to whether the component being installed is a Service Engine.
public  booleanisInstall()
     Return an indication as to whether this context is for an install or an uninstall.
public  voidsetBootstrapClassLoaderSelfFirst()
     Set a flag to force the bootstrap class loader to use an inverted hierarchy (self-first).
public  voidsetClassPathElements(List classPathElements)
     Set the list of elements that comprise the class path for this component. Each element represents either a directory (containing class files) or a jar file.
public  voidsetComponentClassLoaderSelfFirst()
     Set a flag to force the component class loader to use an inverted hierarchy (self-first).
public  voidsetComponentClassName(String name)
     Set the name of the class that implements javax.jbi.component.Component for this component.
public  voidsetComponentName(String name)
     Set the name of this component.
public  voidsetContext(javax.jbi.component.ComponentContext context)
     Set the context for this component.
public  voidsetDescription(String description)
     Set the description of this component.
public  voidsetInstallRoot(String installRoot)
     Set the installation root directory name for this component.
public  voidsetInstallationDescriptorExtension(org.w3c.dom.DocumentFragment extension)
     Set the installation descriptor extension.
public  voidsetIsInstall(boolean isInstall)
     Set the flag to indicate whether this is an install or an uninstall.
public  voidsetWorkspaceRoot(String workspaceRoot)
     Set the workspace root directory name for this component.


Constructor Detail
ComponentInstallationContext
public ComponentInstallationContext(String componentName, int componentType, String className, List classPathElements, org.w3c.dom.DocumentFragment extensionData)(Code)
Public constructor.
Parameters:
  componentName - the unique component name.
Parameters:
  componentType - the type of this component - either BINDING orENGINE.
Parameters:
  className - the name of the class the implements thejavax.jbi.component.Component interface for this component.
Parameters:
  classPathElements - the list of elements that comprise theruntime class path for this component. NOTE: The elements in this listare relative paths based off the component's install root.
Parameters:
  extensionData - the DOM document fragment representing the contentsof the installation descriptor extension from the jbi.xml file.




Method Detail
getAbsoluteClassPathElements
public List getAbsoluteClassPathElements()(Code)
Get a list of elements that comprise the class path for this component. Each element represents either a directory (containing class files) or a jar file. The elements are absolute paths and are returned with a forward slash as their file separators. a list of String objects containing class path elements.



getClassPathElements
public List getClassPathElements()(Code)
Get a list of elements that comprise the class path for this component. Each element represents either a directory (containing class files) or a jar file. The elements are relative paths based off of the component's install root, and are returned with the File.separator character as their file separators. a list of String objects containing class path elements.



getComponentClassName
public String getComponentClassName()(Code)
Get the name of the class that implements javax.jbi.component.Component for this component. the class name.



getComponentName
public String getComponentName()(Code)
Get the unique name assigned to this component. the unique component name.



getContext
public javax.jbi.component.ComponentContext getContext()(Code)
Get the component context. the component context.



getDescription
public String getDescription()(Code)
Return the description of this component. the description of this component.



getInstallRoot
public String getInstallRoot()(Code)
Get the installation root directory for this component. the name of the installation root directory, with the levelsseparated by the local File.separator character.



getInstallationDescriptorExtension
public org.w3c.dom.DocumentFragment getInstallationDescriptorExtension()(Code)
Return a DOM document fragment representing the installation descriptor (jbi.xml) extension data for this component, if any is present. the DOM document fragment for the extension data.



getWorkspaceRoot
public String getWorkspaceRoot()(Code)
Return the workspace root directory for the component. the workspace root directory path.



isBinding
public boolean isBinding()(Code)
Return an indication as to whether the component being installed is a Binding Component. true if the component is a BC, false if not.



isBootstrapClassLoaderSelfFirst
public boolean isBootstrapClassLoaderSelfFirst()(Code)
Return an indication as to whether the bootstrap class loader should use the normal hierarchy (parent-first) or an inverted hierarchy (self-first). true if the bootstrap class loader should use the self-firsthierarchy, false if it should use parent-first.



isComponentClassLoaderSelfFirst
public boolean isComponentClassLoaderSelfFirst()(Code)
Return an indication as to whether the component class loader should use the normal hierarchy (parent-first) or an inverted hierarchy (self-first). true if the component class loader should use the self-firsthierarchy, false if it should use parent-first.



isEngine
public boolean isEngine()(Code)
Return an indication as to whether the component being installed is a Service Engine. true if the component is a SE, false if not.



isInstall
public boolean isInstall()(Code)
Return an indication as to whether this context is for an install or an uninstall. true for an install, false for an uninstall.



setBootstrapClassLoaderSelfFirst
public void setBootstrapClassLoaderSelfFirst()(Code)
Set a flag to force the bootstrap class loader to use an inverted hierarchy (self-first).



setClassPathElements
public void setClassPathElements(List classPathElements)(Code)
Set the list of elements that comprise the class path for this component. Each element represents either a directory (containing class files) or a jar file. This method is provided to allow the component's installer to modify the list of class path elements. Each element must be formatted using the File.separator character, and must be a relative path based on the component's install root.
Parameters:
  classPathElements - a list of String objects containing class pathelements.



setComponentClassLoaderSelfFirst
public void setComponentClassLoaderSelfFirst()(Code)
Set a flag to force the component class loader to use an inverted hierarchy (self-first).



setComponentClassName
public void setComponentClassName(String name)(Code)
Set the name of the class that implements javax.jbi.component.Component for this component.
Parameters:
  name - the component class name of this component.



setComponentName
public void setComponentName(String name)(Code)
Set the name of this component.
Parameters:
  name - the name of this component.



setContext
public void setContext(javax.jbi.component.ComponentContext context)(Code)
Set the context for this component. This method is used by the Component Framework to set the context during installation processing.
Parameters:
  context - the component context.



setDescription
public void setDescription(String description)(Code)
Set the description of this component.
Parameters:
  description - the description of this component.



setInstallRoot
public void setInstallRoot(String installRoot)(Code)
Set the installation root directory name for this component.
Parameters:
  installRoot - the installation root directory name.



setInstallationDescriptorExtension
public void setInstallationDescriptorExtension(org.w3c.dom.DocumentFragment extension)(Code)
Set the installation descriptor extension.
Parameters:
  extension - the extension portion of the component's installationdescriptor.



setIsInstall
public void setIsInstall(boolean isInstall)(Code)
Set the flag to indicate whether this is an install or an uninstall.
Parameters:
  isInstall - is true for an install, false for an uninstall.



setWorkspaceRoot
public void setWorkspaceRoot(String workspaceRoot)(Code)
Set the workspace root directory name for this component.
Parameters:
  workspaceRoot - the workspace root directory name.



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.