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


java.lang.Object
   com.sun.xml.ws.client.Stub
      com.sun.xml.ws.client.dispatch.DispatchImpl

DispatchImpl
abstract public class DispatchImpl extends Stub implements Dispatch<T>(Code)
The DispatchImpl abstract class provides support for the dynamic invocation of a service endpoint operation using XML constructs, JAXB objects or SOAPMessage. The javax.xml.ws.Service interface acts as a factory for the creation of DispatchImpl instances.
author:
   WS Development Team
version:
   1.0


Field Summary
final static  longAWAIT_TERMINATION_TIME
    
final static  StringHTTP_REQUEST_METHOD_GET
    
final static  StringHTTP_REQUEST_METHOD_POST
    
final static  StringHTTP_REQUEST_METHOD_PUT
    
final  Service.Modemode
    
final  QNameportname
    
final  SOAPVersionsoapVersion
    

Constructor Summary
protected  DispatchImpl(QName port, Service.Mode mode, WSServiceDelegate owner, Tube pipe, BindingImpl binding, WSEndpointReference epr)
    

Method Summary
static  voidcheckNullAllowed(Object in, RequestContext rc, WSBinding binding, Service.Mode mode)
    
public static  voidcheckValidDataSourceDispatch(WSBinding binding, Service.Mode mode)
    
public static  voidcheckValidSOAPMessageDispatch(WSBinding binding, Service.Mode mode)
    
abstract  PacketcreatePacket(T msg)
    
public static  Dispatch<Source>createSourceDispatch(QName port, Mode mode, WSServiceDelegate owner, Tube pipe, BindingImpl binding, WSEndpointReference epr)
    
final public  TdoInvoke(T in, RequestContext rc, ResponseContextReceiver receiver)
     Synchronously invokes a service.
final protected  QNamegetPortName()
    
final public  Tinvoke(T in)
    
final public  Response<T>invokeAsync(T param)
    
final public  FutureinvokeAsync(T param, AsyncHandler<T> asyncHandler)
    
final public  voidinvokeOneWay(T in)
    
static  booleanisPAYLOADMode(Service.Mode mode)
    
static  booleanisXMLHttp(WSBinding binding)
    
static  booleanmethodNotOk(RequestContext rc)
    
 voidresolveEndpointAddress(Packet message, RequestContext requestContext)
    
protected  StringresolveURI(URI endpointURI, String pathInfo, String queryString)
    
protected  AttachmentSetsetOutboundAttachments()
    
public  voidsetOutboundHeaders(Object... headers)
    
 voidsetProperties(Packet packet, boolean expectReply)
    
abstract  TtoReturnValue(Packet response)
     Obtains the value to return from the response message.

Field Detail
AWAIT_TERMINATION_TIME
final static long AWAIT_TERMINATION_TIME(Code)



HTTP_REQUEST_METHOD_GET
final static String HTTP_REQUEST_METHOD_GET(Code)



HTTP_REQUEST_METHOD_POST
final static String HTTP_REQUEST_METHOD_POST(Code)



HTTP_REQUEST_METHOD_PUT
final static String HTTP_REQUEST_METHOD_PUT(Code)



mode
final Service.Mode mode(Code)



portname
final QName portname(Code)



soapVersion
final SOAPVersion soapVersion(Code)




Constructor Detail
DispatchImpl
protected DispatchImpl(QName port, Service.Mode mode, WSServiceDelegate owner, Tube pipe, BindingImpl binding, WSEndpointReference epr)(Code)

Parameters:
  port - dispatch instance is asssociated with this wsdl port qName
Parameters:
  mode - Service.mode associated with this Dispatch instance - Service.mode.MESSAGE or Service.mode.PAYLOAD
Parameters:
  owner - Service that created the Dispatch
Parameters:
  pipe - Master pipe for the pipeline
Parameters:
  binding - Binding of this Dispatch instance, current one of SOAP/HTTP or XML/HTTP




Method Detail
checkNullAllowed
static void checkNullAllowed(Object in, RequestContext rc, WSBinding binding, Service.Mode mode)(Code)



checkValidDataSourceDispatch
public static void checkValidDataSourceDispatch(WSBinding binding, Service.Mode mode)(Code)



checkValidSOAPMessageDispatch
public static void checkValidSOAPMessageDispatch(WSBinding binding, Service.Mode mode)(Code)



createPacket
abstract Packet createPacket(T msg)(Code)
Abstract method that is implemented by each concrete Dispatch class
Parameters:
  msg - message passed in from the client program on the invocation The Message created returned as the Interface in actuallity aconcrete Message Type



createSourceDispatch
public static Dispatch<Source> createSourceDispatch(QName port, Mode mode, WSServiceDelegate owner, Tube pipe, BindingImpl binding, WSEndpointReference epr)(Code)



doInvoke
final public T doInvoke(T in, RequestContext rc, ResponseContextReceiver receiver)(Code)
Synchronously invokes a service. See DispatchImpl.process(Packet,RequestContext,ResponseContextReceiver) on why it takes a RequestContext and ResponseContextReceiver as a parameter.



getPortName
final protected QName getPortName()(Code)



invoke
final public T invoke(T in)(Code)



invokeAsync
final public Response<T> invokeAsync(T param)(Code)



invokeAsync
final public Future invokeAsync(T param, AsyncHandler<T> asyncHandler)(Code)



invokeOneWay
final public void invokeOneWay(T in)(Code)



isPAYLOADMode
static boolean isPAYLOADMode(Service.Mode mode)(Code)



isXMLHttp
static boolean isXMLHttp(WSBinding binding)(Code)



methodNotOk
static boolean methodNotOk(RequestContext rc)(Code)



resolveEndpointAddress
void resolveEndpointAddress(Packet message, RequestContext requestContext)(Code)



resolveURI
protected String resolveURI(URI endpointURI, String pathInfo, String queryString)(Code)



setOutboundAttachments
protected AttachmentSet setOutboundAttachments()(Code)



setOutboundHeaders
public void setOutboundHeaders(Object... headers)(Code)



setProperties
void setProperties(Packet packet, boolean expectReply)(Code)



toReturnValue
abstract T toReturnValue(Packet response)(Code)
Obtains the value to return from the response message.



Fields inherited from com.sun.xml.ws.client.Stub
final protected AddressingVersion addrVersion(Code)(Java Doc)
final protected BindingImpl binding(Code)(Java Doc)
final protected WSEndpointReference endpointReference(Code)(Java Doc)
final protected WSServiceDelegate owner(Code)(Java Doc)
final public RequestContext requestContext(Code)(Java Doc)
final protected WSDLPort wsdlPort(Code)(Java Doc)

Methods inherited from com.sun.xml.ws.client.Stub
public void close()(Code)(Java Doc)
final public WSBinding getBinding()(Code)(Java Doc)
final public W3CEndpointReference getEndpointReference()(Code)(Java Doc)
final public T getEndpointReference(Class<T> clazz)(Code)(Java Doc)
final public Executor getExecutor()(Code)(Java Doc)
final public List<Header> getInboundHeaders()(Code)(Java Doc)
abstract protected QName getPortName()(Code)(Java Doc)
final public Map<String, Object> getRequestContext()(Code)(Java Doc)
final public ResponseContext getResponseContext()(Code)(Java Doc)
final protected QName getServiceName()(Code)(Java Doc)
final protected Packet process(Packet packet, RequestContext requestContext, ResponseContextReceiver receiver)(Code)(Java Doc)
final protected void processAsync(Packet request, RequestContext requestContext, Fiber.CompletionCallback completionCallback)(Code)(Java Doc)
final public void setAddress(String address)(Code)(Java Doc)
final public void setOutboundHeaders(List<Header> headers)(Code)(Java Doc)
final public void setOutboundHeaders(Header... headers)(Code)(Java Doc)
public void setResponseContext(ResponseContext rc)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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.