Java Doc for WSBinding.java in  » 6.0-JDK-Modules » jax-ws-runtime » com » sun » xml » ws » api » 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 » 6.0 JDK Modules » jax ws runtime » com.sun.xml.ws.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.xml.ws.api.WSBinding

All known Subclasses:   com.sun.xml.ws.binding.BindingImpl,
WSBinding
public interface WSBinding extends Binding(Code)
JAX-WS implementation of Binding .

This object can be created by BindingID.createBinding .

Binding conceptually includes the on-the-wire format of the message, this this object owns Codec .
author:
   Kohsuke Kawaguchi





Method Summary
 AddressingVersiongetAddressingVersion()
     Gets the WS-Addressing version of this binding.
 BindingIDgetBindingId()
     Gets the binding ID, which uniquely identifies the binding.
 FgetFeature(Class<F> featureType)
     Gets a WebServiceFeature of the specific type.
 WSFeatureListgetFeatures()
     Returns a list of features associated with WSBinding .
 List<Handler>getHandlerChain()
    
 SOAPVersiongetSOAPVersion()
     Gets the SOAP version of this binding. TODO: clarify what to do with XML/HTTP binding

This is just a shor-cut for getBindingID().getSOAPVersion() If the binding is using SOAP, this method returnsa SOAPVersion constant.If the binding is not based on SOAP, this methodreturns null.

 booleanisFeatureEnabled(Class<? extends WebServiceFeature> feature)
     Checks if a particular WebServiceFeature is enabled.



Method Detail
getAddressingVersion
AddressingVersion getAddressingVersion()(Code)
Gets the WS-Addressing version of this binding.

TODO: clarify what to do with XML/HTTP binding If the binding is using SOAP and WS-Addressing is enabled,this method returns a AddressingVersion constant.If binding is not using SOAP or WS-Addressing is not enabled,this method returns null.This might be little slow as it has to go over all the features on binding.Its advisable to cache the addressingVersion wherever possible and reuse it.




getBindingId
BindingID getBindingId()(Code)
Gets the binding ID, which uniquely identifies the binding.

The relevant specs define the binding IDs and what they mean. The ID is used in many places to identify the kind of binding (such as SOAP1.1, SOAP1.2, REST, ...) Always non-null same value.




getFeature
F getFeature(Class<F> featureType)(Code)
Gets a WebServiceFeature of the specific type.
Parameters:
  featureType - The type of the feature to retrieve.If the feature is present and enabled, return a non-null instance.Otherwise null.



getFeatures
WSFeatureList getFeatures()(Code)
Returns a list of features associated with WSBinding .



getHandlerChain
List<Handler> getHandlerChain()(Code)



getSOAPVersion
SOAPVersion getSOAPVersion()(Code)
Gets the SOAP version of this binding. TODO: clarify what to do with XML/HTTP binding

This is just a shor-cut for getBindingID().getSOAPVersion() If the binding is using SOAP, this method returnsa SOAPVersion constant.If the binding is not based on SOAP, this methodreturns null. See Message for how a non-SOAPbinding shall be handled by Tubes.




isFeatureEnabled
boolean isFeatureEnabled(Class<? extends WebServiceFeature> feature)(Code)
Checks if a particular WebServiceFeature is enabled. true if enabled.



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