Java Doc for InstallationContext.java in  » ESB » open-esb » javax » jbi » component » 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 » javax.jbi.component 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.jbi.component.InstallationContext

InstallationContext
public interface InstallationContext (Code)
This context contains information necessary for a JBI component to perform its installation/uninstallation processing. This is provided to the init() method of the component Bootstrap interface.
author:
   JSR208 Expert Group




Method Summary
 java.util.ListgetClassPathElements()
     Get a list of elements that comprise the class path for this component.
 StringgetComponentClassName()
     Get the name of the class that implements the Component interface for this component.
 StringgetComponentName()
     Get the unique name assigned to this component.
 ComponentContextgetContext()
     Get the JBI context for this component.
 StringgetInstallRoot()
     Get the installation root directory full path name for this component.
 DocumentFragmentgetInstallationDescriptorExtension()
     Return a DOM document fragment representing the installation descriptor (jbi.xml) extension data for the component, if any.
 booleanisInstall()
     Returns true if this context was created in order to install a component into the JBI environment.
 voidsetClassPathElements(java.util.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 library file.



Method Detail
getClassPathElements
java.util.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 library file. All elements are reachable from the install root. These elements represent class path items that the component's execution-time component class loader uses, in search order. All path elements must use the file separator character appropriate to the system (i.e., File.separator). a list of String objects, each of which contains a class path elements. The list must contain at least one class path element.



getComponentClassName
String getComponentClassName()(Code)
Get the name of the class that implements the Component interface for this component. This must be the component class name given in the component's installation descriptor. the Component implementation class name, which must benon-null and non-empty.



getComponentName
String getComponentName()(Code)
Get the unique name assigned to this component. This name must be assigned from the component's installation descriptor identification section. the unique component name, which must be non-null and non-empty.



getContext
ComponentContext getContext()(Code)
Get the JBI context for this component. The following methods are valid to use on the context: All other methods on the returned context must throw a IllegalStateException exception if invoked. the JBI context for this component, which must be non-null.



getInstallRoot
String getInstallRoot()(Code)
Get the installation root directory full path name for this component. This path name must be formatted for the platform the JBI environment is running on. the installation root directory name, which must be non-null andnon-empty.



getInstallationDescriptorExtension
DocumentFragment getInstallationDescriptorExtension()(Code)
Return a DOM document fragment representing the installation descriptor (jbi.xml) extension data for the component, if any.

The Installation Descriptor Extension data are located at the end of the <component> element of the installation descriptor. a DOM document fragment containing the installation descriptor (jbi.xml) extension data, or null if none is present in the descriptor.




isInstall
boolean isInstall()(Code)
Returns true if this context was created in order to install a component into the JBI environment. Returns false if this context was created to uninstall a previously installed component.

This method is provided to allow Bootstrap implementations to tailor their behaviour according to use case. For example, the Bootstrap.init(InstallationContext) method implementation may create different types of extension MBeans, depending on the use case specified by this method. true if this context was created in order to installa component into the JBI environment; otherwise the contextwas created to uninstall an existing component.




setClassPathElements
void setClassPathElements(java.util.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 library file. Elements are reached from the install root. These elements represent class path items that the component's execution-time component class loader uses, in search order. All file paths are relative to the install root of the component.

This method allows the component's bootstrap to alter the execution-time class path specified by the component's installation descriptor. The component configuration determined during installation can affect the class path needed by the component at execution-time. All path elements must use the file separator character appropriate to the system (i.e., File.separator.
Parameters:
  classPathElements - a list of String objects, each of which containsa class path elements; the list must be non-null and contain at least one class path element.
exception:
  IllegalArgumentException - if the class path elements is null, empty, or if an individual element is ill-formed.




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