Java Doc for Component.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.Component

All known Subclasses:   deploytest.BadInstallBindingComponent,  com.sun.jbi.management.engine.ModelEngineComponent,  com.sun.jbi.binding.file.FileBindingComponent,  deploytest.BindingComponent,  classloaderregresstests.sharedlibtest.binding.rt.SharedNamespaceTestBinding,  com.sun.jbi.ui.cli.test.statistics.SimpleTestEngine,  classloaderregresstests.classloaderchaintest.engine.rt.ClassloaderChainTestEngine,  com.sun.jbi.internal.security.test.binding1.rt.LifeCycleImpl,  com.sun.jbi.messaging.NMRComponent,  classloaderregresstests.selffirstloading.engine.rt.EngineLifeCycle,  com.sun.jbi.ui.cli.test.engine4.rt.Engine4Runtime,  com.sun.jbi.ui.cli.test.engine1.rt.Engine1Runtime,  com.sun.jbi.ui.ant.test.binding1.rt.Binding1Runtime,  com.sun.jbi.binding.jms.JMSBindingComponent,  java4ant.BindingComponent,  com.sun.jbi.ui.ant.test.engine1.rt.Engine1Runtime,  com.sun.jbi.ui.ant.test.engine2.rt.Engine2Runtime,  com.sun.jbi.ui.cli.test.engine2.rt.Engine2Runtime,  com.sun.jbi.ui.ant.test.engine3.rt.Engine3Runtime,  deploytest.StartOneDeploymentComponent,  deploytest.FileLockingComponent,  testengine2.FooEngine,  deploytest.DeployBinding,  testcomponent1.BindingComponent1,  com.sun.jbi.management.binding.ModelBindingComponent,  com.sun.jbi.ui.ant.test.engine4.rt.Engine4Runtime,  deploytest.ConsolidatedSchemaComponent,  com.sun.jbi.ui.ant.test.binding2.rt.Binding2Runtime,  com.sun.jbi.ui.ant.test.statistics.SimpleTestEngine,  deploytest.BadUninstallBindingComponent,  testengine.PBTestEngine,  deploytest.UpgradableComponent,  com.sun.jbi.ui.cli.test.engine3.rt.Engine3Runtime,  deploytest.ExtensionBindingComponent,  com.sun.jbi.ui.cli.test.binding2.rt.Binding2Runtime,  com.sun.jbi.engine.xslt.TransformationEngineComponent,  TestBinding.PBTestBinding,  com.sun.jbi.messaging.Engine,  com.sun.jbi.binding.proxy.ProxyBindingLifeCycle,  com.sun.jbi.engine.sequencing.SequencingEngineComponent,  testcomponent.BindingComponent,  deploytest.DeployOnceBindingComponent,  classloaderregresstests.sharedlibtest.engine.rt.SharedNamespaceTestEngine,  testengine.FooEngine,  classloaderregresstests.privatelibtest.engine.rt.PrivateNamespaceTestEngine,  test.SimpleTestEngine,  test.BindingComponent,  com.sun.jbi.ui.cli.test.binding1.rt.Binding1Runtime,  feederengine.CSVFeederEngineLifeCycle,  testengine1.FooEngine,
Component
public interface Component (Code)
This interface, implemented by component implementations, allows the JBI implementation to query the component for various types of information. This includes:
  • The component's life cycle control interface.
  • The component's service unit manager, for handling deployments.
  • A method for querying service metadata describing services provided by this component.
  • "Policy" methods that are called by the JBI implementation to query if proposed matches of this component to a provider (or consumer) are acceptable, according to this component's policies.
  • Endpoint reference (EPR) resolution. Some components will provide the ability to resolve EPRs (typically binding components). This ability to resolve EPRs is used by JBI to facilitate resolution of EPRs received by service consumers.

The name of the class that implements this interface for a component is specified in the installation descriptor for that component.
author:
   JSR208 Expert Group





Method Summary
 ComponentLifeCyclegetLifeCycle()
     Get the life cycle control interface for this component.
 DocumentgetServiceDescription(ServiceEndpoint endpoint)
     Retrieves a DOM representation containing metadata which describes the service provided by this component, through the given endpoint.
 ServiceUnitManagergetServiceUnitManager()
     Get the Service Unit manager for this component.
 booleanisExchangeWithConsumerOkay(ServiceEndpoint endpoint, MessageExchange exchange)
     This method is called by JBI to check if this component, in the role of provider of the service indicated by the given exchange, can actually perform the operation desired.
 booleanisExchangeWithProviderOkay(ServiceEndpoint endpoint, MessageExchange exchange)
     This method is called by JBI to check if this component, in the role of consumer of the service indicated by the given exchange, can actually interact with the provider properly.
 ServiceEndpointresolveEndpointReference(DocumentFragment epr)
     Resolve the given endpoint reference.



Method Detail
getLifeCycle
ComponentLifeCycle getLifeCycle()(Code)
Get the life cycle control interface for this component. This interface allows the JBI implementation to control the running state of this component.

This method must be called before any other methods of this interface are called. In addition, the JBI implementation must call the init() method of the component life cycle returned by this method before calling any other methods on this interface, or the component life cycle interface. the life cycle control interface for this component; must benon-null.




getServiceDescription
Document getServiceDescription(ServiceEndpoint endpoint)(Code)
Retrieves a DOM representation containing metadata which describes the service provided by this component, through the given endpoint. The result can use WSDL 1.1 or WSDL 2.0.
Parameters:
  endpoint - the service endpoint. the description for the specified service endpoint.



getServiceUnitManager
ServiceUnitManager getServiceUnitManager()(Code)
Get the Service Unit manager for this component. If this component does not support deployments, it must return null. the ServiceUnitManager for this component, ornull if there is none.



isExchangeWithConsumerOkay
boolean isExchangeWithConsumerOkay(ServiceEndpoint endpoint, MessageExchange exchange)(Code)
This method is called by JBI to check if this component, in the role of provider of the service indicated by the given exchange, can actually perform the operation desired.
Parameters:
  endpoint - the endpoint to be used by the consumer; must benon-null.
Parameters:
  exchange - the proposed message exchange to be performed; must benon-null. true if this provider component can perform thegiven exchange with the described consumer.



isExchangeWithProviderOkay
boolean isExchangeWithProviderOkay(ServiceEndpoint endpoint, MessageExchange exchange)(Code)
This method is called by JBI to check if this component, in the role of consumer of the service indicated by the given exchange, can actually interact with the provider properly. The provider is described by the given endpoint and the service description supplied by that endpoint.
Parameters:
  endpoint - the endpoint to be used by the provider; must benon-null.
Parameters:
  exchange - the proposed message exchange to be performed; must benon-null. true if this consumer component can interact withthe described provider to perform the given exchange.



resolveEndpointReference
ServiceEndpoint resolveEndpointReference(DocumentFragment epr)(Code)
Resolve the given endpoint reference. This is called by JBI when it is attempting to resolve the given EPR on behalf of a component.

If this component returns a non-null result, it must conform to the following:

  • This component implements the ServiceEndpoint returned.
  • The result must not be registered or activated with the JBI implementation.
Dynamically resolved endpoints are distinct from static ones; they must not be activated (see ComponentContext.activateEndpoint(QNameString) ), nor registered (see ComponentContext ) by components. They can only be used to address message exchanges; the JBI implementation must deliver such exchanges to the component that resolved the endpoint reference (see ComponentContext.resolveEndpointReference(DocumentFragment) ).
Parameters:
  epr - the endpoint reference, in some XML dialect understood bythe appropriate component (usually a binding); must be non-null. the service endpoint for the EPR; null if theEPR cannot be resolved by this component.



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