From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../binding/jms/provider/RRBJMSBindingInvoker.html | 656 +++++++++++++++++++++ 1 file changed, 656 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/binding/jms/provider/RRBJMSBindingInvoker.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/binding/jms/provider/RRBJMSBindingInvoker.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/binding/jms/provider/RRBJMSBindingInvoker.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/binding/jms/provider/RRBJMSBindingInvoker.html new file mode 100644 index 0000000000..8889079a9c --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/binding/jms/provider/RRBJMSBindingInvoker.html @@ -0,0 +1,656 @@ + + + + + + +RRBJMSBindingInvoker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.binding.jms.provider +
+Class RRBJMSBindingInvoker

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.binding.jms.provider.RRBJMSBindingInvoker
+
+
+
All Implemented Interfaces:
DataExchangeSemantics, Invoker
+
+
+
+
public class RRBJMSBindingInvoker
extends java.lang.Object
implements Invoker, DataExchangeSemantics
+ + +

+Invoker for the JMS binding. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  DestinationbindingReplyDest + +
+           
+protected  DestinationbindingRequestDest + +
+           
+protected  JMSBindingjmsBinding + +
+           
+protected  JMSResourceFactoryjmsResourceFactory + +
+           
+protected  Operationoperation + +
+           
+protected  java.lang.StringoperationName + +
+           
+protected  RuntimeComponentReferencereference + +
+           
+protected  JMSMessageProcessorrequestMessageProcessor + +
+           
+protected  JMSMessageProcessorresponseMessageProcessor + +
+           
+protected  RuntimeWireruntimeWire + +
+           
+  + + + + + + + + + + +
+Constructor Summary
RRBJMSBindingInvoker(JMSBinding jmsBinding, + Operation operation, + JMSResourceFactory jmsResourceFactory, + RuntimeComponentReference reference) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanallowsPassByReference() + +
+          Indicate if the data can be passed in by reference as they won't be mutated.
+protected  DestinationgetReplyToDestination(Session session) + +
+           
+protected  DestinationgetRequestDestination(Message tuscanyMsg, + Session session) + +
+           
+ Messageinvoke(Message tuscanyMsg) + +
+          Process a synchronous wire
+protected  DestinationlookupDestination() + +
+          Looks up the Destination Queue for the JMS Binding
+protected  DestinationlookupDestinationQueue(boolean isReponseQueue) + +
+          Looks up the Destination Queue for the JMS Binding.
+protected  DestinationlookupResponseDestination() + +
+          Looks up the Destination Response Queue for the JMS Binding
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+operation

+
+protected Operation operation
+
+
+
+
+
+ +

+operationName

+
+protected java.lang.String operationName
+
+
+
+
+
+ +

+jmsBinding

+
+protected JMSBinding jmsBinding
+
+
+
+
+
+ +

+jmsResourceFactory

+
+protected JMSResourceFactory jmsResourceFactory
+
+
+
+
+
+ +

+requestMessageProcessor

+
+protected JMSMessageProcessor requestMessageProcessor
+
+
+
+
+
+ +

+responseMessageProcessor

+
+protected JMSMessageProcessor responseMessageProcessor
+
+
+
+
+
+ +

+bindingRequestDest

+
+protected Destination bindingRequestDest
+
+
+
+
+
+ +

+bindingReplyDest

+
+protected Destination bindingReplyDest
+
+
+
+
+
+ +

+reference

+
+protected RuntimeComponentReference reference
+
+
+
+
+
+ +

+runtimeWire

+
+protected RuntimeWire runtimeWire
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+RRBJMSBindingInvoker

+
+public RRBJMSBindingInvoker(JMSBinding jmsBinding,
+                            Operation operation,
+                            JMSResourceFactory jmsResourceFactory,
+                            RuntimeComponentReference reference)
+
+
+ + + + + + + + +
+Method Detail
+ +

+lookupDestination

+
+protected Destination lookupDestination()
+                                 throws javax.naming.NamingException,
+                                        JMSBindingException
+
+
Looks up the Destination Queue for the JMS Binding +

+

+
+
+
+ +
Returns:
The Destination Queue +
Throws: +
javax.naming.NamingException - Failed to lookup Destination Queue +
JMSBindingException - Failed to lookup Destination Queue
See Also:
lookupDestinationQueue(boolean)
+
+
+
+ +

+lookupResponseDestination

+
+protected Destination lookupResponseDestination()
+                                         throws javax.naming.NamingException,
+                                                JMSBindingException
+
+
Looks up the Destination Response Queue for the JMS Binding +

+

+
+
+
+ +
Returns:
The Destination Response Queue +
Throws: +
javax.naming.NamingException - Failed to lookup Destination Response Queue +
JMSBindingException - Failed to lookup Destination Response Queue
See Also:
lookupDestinationQueue(boolean)
+
+
+
+ +

+lookupDestinationQueue

+
+protected Destination lookupDestinationQueue(boolean isReponseQueue)
+                                      throws javax.naming.NamingException,
+                                             JMSBindingException
+
+
Looks up the Destination Queue for the JMS Binding. +

+ What happens in the look up will depend on the create mode specified for the JMS Binding: +

    +
  • always - the JMS queue is always created. It is an error if the queue already exists +
  • ifnotexist - the JMS queue is created if it does not exist. It is not an error if the queue already exists +
  • never - the JMS queue is never created. It is an error if the queue does not exist +
+ See the SCA JMS Binding specification for more information. +

+

+

+
+
+
+
Parameters:
isReponseQueue - true if we are creating a response queue. + false if we are creating a request queue +
Returns:
The Destination queue. +
Throws: +
javax.naming.NamingException - Failed to lookup JMS queue +
JMSBindingException - Failed to lookup JMS Queue. Probable cause is that + the JMS queue's current existence/non-existence is not compatible with + the create mode specified on the binding
+
+
+
+ +

+invoke

+
+public Message invoke(Message tuscanyMsg)
+
+
Description copied from interface: Invoker
+
Process a synchronous wire +

+

+
Specified by:
invoke in interface Invoker
+
+
+
Parameters:
tuscanyMsg - The request Message for the wire +
Returns:
The response Message from the wire
+
+
+
+ +

+getRequestDestination

+
+protected Destination getRequestDestination(Message tuscanyMsg,
+                                            Session session)
+                                     throws JMSBindingException,
+                                            javax.naming.NamingException,
+                                            JMSException
+
+
+
+
+
+ +
Throws: +
JMSBindingException +
javax.naming.NamingException +
JMSException
+
+
+
+ +

+getReplyToDestination

+
+protected Destination getReplyToDestination(Session session)
+                                     throws JMSException,
+                                            JMSBindingException,
+                                            javax.naming.NamingException
+
+
+
+
+
+ +
Throws: +
JMSException +
JMSBindingException +
javax.naming.NamingException
+
+
+
+ +

+allowsPassByReference

+
+public boolean allowsPassByReference()
+
+
Description copied from interface: DataExchangeSemantics
+
Indicate if the data can be passed in by reference as they won't be mutated. +

+

+
Specified by:
allowsPassByReference in interface DataExchangeSemantics
+
+
+ +
Returns:
true if pass-by-reference is allowed
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3