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


com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
   com.sun.xml.ws.handler.HandlerTube

All known Subclasses:   com.sun.xml.ws.handler.ClientSOAPHandlerTube,  com.sun.xml.ws.handler.ServerMessageHandlerTube,  com.sun.xml.ws.handler.ServerSOAPHandlerTube,  com.sun.xml.ws.handler.ClientMessageHandlerTube,  com.sun.xml.ws.handler.ServerLogicalHandlerTube,  com.sun.xml.ws.handler.ClientLogicalHandlerTube,
HandlerTube
abstract public class HandlerTube extends AbstractFilterTubeImpl (Code)

author:
   WS Development team

Inner Class :final static class HandlerTubeExchange

Field Summary
 HandlerTubecousinTube
    
protected  List<Handler>handlers
    
 Packetpacket
    
 HandlerProcessorprocessor
    
 booleanremedyActionTaken
    
 booleanrequestProcessingSucessful
    

Constructor Summary
public  HandlerTube(Tube next, WSDLPort port)
    
public  HandlerTube(Tube next, HandlerTube cousinTube)
    
protected  HandlerTube(HandlerTube that, TubeCloner cloner)
     Copy constructor for Tube.copy(TubeCloner) .

Method Summary
abstract  booleancallHandlersOnRequest(MessageUpdatableContext context, boolean oneWay)
    
abstract  voidcallHandlersOnResponse(MessageUpdatableContext context, boolean handleFault)
    
final public  voidclose(MessageContext msgContext)
     Calls close on previously invoked handlers.
protected  voidcloseClientsideHandlers(MessageContext msgContext)
    
abstract  voidcloseHandlers(MessageContext mc)
     On Client, Override by calling #closeClientHandlers(MessageContext mc) On Server, Override by calling #closeServerHandlers(MessageContext mc) The difference is the order in which they are closed.
protected  voidcloseServersideHandlers(MessageContext msgContext)
    
abstract  MessageUpdatableContextgetContext(Packet p)
    
protected  voidinitiateClosing(MessageContext mc)
     Must be overridden by HandlerTube that drives other handler tubes for processing a message.
final public  booleanisHandlerChainEmpty()
    
public  NextActionprocessException(Throwable t)
    
public  NextActionprocessRequest(Packet request)
    
public  NextActionprocessResponse(Packet response)
    
final  voidsetHandleFalse()
    
final  voidsetHandleFault()
    
abstract  voidsetUpProcessor()
    

Field Detail
cousinTube
HandlerTube cousinTube(Code)
handle hold reference to other Tube for inter-tube communication



handlers
protected List<Handler> handlers(Code)



packet
Packet packet(Code)



processor
HandlerProcessor processor(Code)



remedyActionTaken
boolean remedyActionTaken(Code)



requestProcessingSucessful
boolean requestProcessingSucessful(Code)




Constructor Detail
HandlerTube
public HandlerTube(Tube next, WSDLPort port)(Code)



HandlerTube
public HandlerTube(Tube next, HandlerTube cousinTube)(Code)



HandlerTube
protected HandlerTube(HandlerTube that, TubeCloner cloner)(Code)
Copy constructor for Tube.copy(TubeCloner) .




Method Detail
callHandlersOnRequest
abstract boolean callHandlersOnRequest(MessageUpdatableContext context, boolean oneWay)(Code)



callHandlersOnResponse
abstract void callHandlersOnResponse(MessageUpdatableContext context, boolean handleFault)(Code)



close
final public void close(MessageContext msgContext)(Code)
Calls close on previously invoked handlers. Also, Cleans up any state left over in the Tube instance from the current invocation, as Tube instances can be reused after the completion of MEP. On Client, SOAPHandlers are closed first and then LogicalHandlers On Server, LogicalHandlers are closed first and then SOAPHandlers



closeClientsideHandlers
protected void closeClientsideHandlers(MessageContext msgContext)(Code)
Called by close(MessageContext mc) in a Client Handlertube



closeHandlers
abstract void closeHandlers(MessageContext mc)(Code)
On Client, Override by calling #closeClientHandlers(MessageContext mc) On Server, Override by calling #closeServerHandlers(MessageContext mc) The difference is the order in which they are closed.
Parameters:
  mc -



closeServersideHandlers
protected void closeServersideHandlers(MessageContext msgContext)(Code)
Called by close(MessageContext mc) in a Server Handlertube



getContext
abstract MessageUpdatableContext getContext(Packet p)(Code)



initiateClosing
protected void initiateClosing(MessageContext mc)(Code)
Must be overridden by HandlerTube that drives other handler tubes for processing a message. On Client-side: ClientLogicalHandlerTube drives the Handler Processing. On Server-side: In case SOAP Binding, ServerMessageHandlerTube drives the Handler Processing. In case XML/HTTP Binding, ServerLogicalHandlerTube drives the Handler Processing. If its a top HandlerTube, should override by calling #close(MessaggeContext);



isHandlerChainEmpty
final public boolean isHandlerChainEmpty()(Code)



processException
public NextAction processException(Throwable t)(Code)



processRequest
public NextAction processRequest(Packet request)(Code)



processResponse
public NextAction processResponse(Packet response)(Code)



setHandleFalse
final void setHandleFalse()(Code)



setHandleFault
final void setHandleFault()(Code)



setUpProcessor
abstract void setUpProcessor()(Code)



Fields inherited from com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
final protected Tube next(Code)(Java Doc)

Methods inherited from com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
public void preDestroy()(Code)(Java Doc)
public NextAction processException(Throwable t)(Code)(Java Doc)
public NextAction processRequest(Packet request)(Code)(Java Doc)
public NextAction processResponse(Packet response)(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.