Java Doc for MessageExchangeImpl.java in  » ESB » open-esb » com » sun » jbi » messaging » 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 » com.sun.jbi.messaging 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.messaging.MessageExchangeImpl

MessageExchangeImpl
public class MessageExchangeImpl implements javax.jbi.messaging.MessageExchange,Cloneable(Code)
This serves as the container about all of the state of a message exchange. The objects presented to the binding and engine are instances of MessageExchangeProxy. The MessageExchangeProxy forwards all get/set requests to here. This class maintains a reference to each.
author:
   Sun Microsystems, Inc.



Constructor Summary
 MessageExchangeImpl(MessageExchangeProxy proxy, MessageService msgSvc)
     Create a new message exchange for the given proxy.
 MessageExchangeImpl(MessageExchangeProxy proxy, MessageExchangeImpl source, MessageService msgSvc)
     Create a new message exchange for the given proxy and exchange.

Method Summary
 voidcapture(byte tag)
    
public  FaultcreateFault()
     Deferred to message factory.
public  NormalizedMessagecreateMessage()
     Deferred to message factory.
 SetgetDeltaProperties()
     Special for serialization.
public  ServiceEndpointgetEndpoint()
     Obvious.
public  ExceptiongetError()
     Obvious.
public  StringgetExchangeId()
     Obvious.
public  FaultgetFault()
     Obvious.
public  QNamegetInterfaceName()
    
public  NormalizedMessagegetMessage(String name)
     Return the message associated with the given reference id.
public  QNamegetOperation()
     Obvious.
public  URIgetPattern()
     Obvious.
public  ObjectgetProperty(String name)
     Obvious.
public  SetgetPropertyNames()
     Obvious.
public  MessageExchange.RolegetRole()
    
public  QNamegetService()
     Obvious.
 MessageExchangeProxygetSource()
    
public  ExchangeStatusgetStatus()
     Obvious.
 METimestampsgetTimestamps()
    
public  TransactiongetTransactionContext()
     Only allowed on a freshly created exchange.
 booleanisRemote()
    
public  booleanisTransacted()
     Only allowed on a freshly created exchange.
public  voidmergeProperties()
    
 voidresumeTX()
     Resume the current transaction if defined.
public  voidsetEndpoint(ServiceEndpoint endpoint)
     Only allowed on a freshly created exchange.
public  voidsetError(Exception error)
     Sets the exception and automatically advances status to Error.
 voidsetExchangeId(String id)
     Used for deserialization support.
public  voidsetFault(Fault fault)
     Set a fault on the exchange.
public  voidsetInterfaceName(QName interfaceName)
    
public  voidsetMessage(NormalizedMessage msg, String name)
     Set a message on the exchange.
public  voidsetOperation(QName name)
     Only allowed on a freshly created exchange.
public  voidsetProperty(String name, Object obj)
     Obvious.
public  voidsetService(QName service)
     Only allowed on a freshly created exchange.
public  voidsetStatus(ExchangeStatus status)
     Set status of the exchange.
 voidsetTransactionContext(Transaction xact)
     Only allowed on a freshly created exchange.
 voidsuspendTX()
     Suspend the current transaction if defined.
public  StringtoString()
    


Constructor Detail
MessageExchangeImpl
MessageExchangeImpl(MessageExchangeProxy proxy, MessageService msgSvc)(Code)
Create a new message exchange for the given proxy.
Parameters:
  proxy - MessageExchangeProxy for pattern



MessageExchangeImpl
MessageExchangeImpl(MessageExchangeProxy proxy, MessageExchangeImpl source, MessageService msgSvc)(Code)
Create a new message exchange for the given proxy and exchange. USed by the Observer mechanism to create the observed at that point in time.
Parameters:
  proxy - MessageExchangeProxy for pattern




Method Detail
capture
void capture(byte tag)(Code)



createFault
public Fault createFault() throws MessagingException(Code)
Deferred to message factory.



createMessage
public NormalizedMessage createMessage() throws MessagingException(Code)
Deferred to message factory.



getDeltaProperties
Set getDeltaProperties()(Code)
Special for serialization.



getEndpoint
public ServiceEndpoint getEndpoint()(Code)
Obvious.



getError
public Exception getError()(Code)
Obvious.



getExchangeId
public String getExchangeId()(Code)
Obvious.



getFault
public Fault getFault()(Code)
Obvious.



getInterfaceName
public QName getInterfaceName()(Code)



getMessage
public NormalizedMessage getMessage(String name)(Code)
Return the message associated with the given reference id.



getOperation
public QName getOperation()(Code)
Obvious.



getPattern
public URI getPattern()(Code)
Obvious.



getProperty
public Object getProperty(String name)(Code)
Obvious.



getPropertyNames
public Set getPropertyNames()(Code)
Obvious.



getRole
public MessageExchange.Role getRole()(Code)



getService
public QName getService()(Code)
Obvious.



getSource
MessageExchangeProxy getSource()(Code)



getStatus
public ExchangeStatus getStatus()(Code)
Obvious.



getTimestamps
METimestamps getTimestamps()(Code)



getTransactionContext
public Transaction getTransactionContext()(Code)
Only allowed on a freshly created exchange.



isRemote
boolean isRemote()(Code)



isTransacted
public boolean isTransacted()(Code)
Only allowed on a freshly created exchange.



mergeProperties
public void mergeProperties()(Code)



resumeTX
void resumeTX() throws javax.jbi.messaging.MessagingException(Code)
Resume the current transaction if defined.



setEndpoint
public void setEndpoint(ServiceEndpoint endpoint)(Code)
Only allowed on a freshly created exchange.



setError
public void setError(Exception error)(Code)
Sets the exception and automatically advances status to Error.



setExchangeId
void setExchangeId(String id)(Code)
Used for deserialization support.



setFault
public void setFault(Fault fault)(Code)
Set a fault on the exchange.



setInterfaceName
public void setInterfaceName(QName interfaceName)(Code)



setMessage
public void setMessage(NormalizedMessage msg, String name)(Code)
Set a message on the exchange.



setOperation
public void setOperation(QName name)(Code)
Only allowed on a freshly created exchange.



setProperty
public void setProperty(String name, Object obj)(Code)
Obvious.



setService
public void setService(QName service)(Code)
Only allowed on a freshly created exchange.



setStatus
public void setStatus(ExchangeStatus status)(Code)
Set status of the exchange. ERROR status is allowed at any point.



setTransactionContext
void setTransactionContext(Transaction xact) throws javax.jbi.messaging.MessagingException(Code)
Only allowed on a freshly created exchange.



suspendTX
void suspendTX() throws javax.jbi.messaging.MessagingException(Code)
Suspend the current transaction if defined.



toString
public String toString()(Code)



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.