org.objectweb.fractal.bf.connectors.jms
Class JmsStubInvocationHandler

java.lang.Object
  extended by org.ow2.frascati.util.AbstractLoggeable
      extended by org.ow2.frascati.wsdl.AbstractWsdlInvocationHandler
          extended by org.objectweb.fractal.bf.connectors.jms.JmsStubInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class JmsStubInvocationHandler
extends AbstractWsdlInvocationHandler

The invocation handler for the JMS binding.


Field Summary
 
Fields inherited from class org.ow2.frascati.util.AbstractLoggeable
log
 
Constructor Summary
JmsStubInvocationHandler(JmsModule jmsModule, boolean persistent, int priority, long ttl, javax.jms.MessageProducer producer)
           
 
Method Summary
protected static QName getQNameOfFirstArgument(Method method)
           
protected static String getTargetNamespace(Method method)
          Get the targetNamespace of the @WebService annotating the class of the given method.
 Object invoke(Object proxy, Method m, Object[] args)
          Sends a message in order to call the given method on the remote JMS service.
protected static QName toQName(javax.jws.WebParam wp, Method method)
          Compute the qname of a given @WebParam.
 
Methods inherited from class org.ow2.frascati.wsdl.AbstractWsdlInvocationHandler
marshallInvocation, unmarshallResult
 
Methods inherited from class org.ow2.frascati.util.AbstractLoggeable
logDo, logDone, severe, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsStubInvocationHandler

public JmsStubInvocationHandler(JmsModule jmsModule,
                                boolean persistent,
                                int priority,
                                long ttl,
                                javax.jms.MessageProducer producer)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method m,
                     Object[] args)
              throws Throwable
Sends a message in order to call the given method on the remote JMS service.

Throws:
Throwable

getTargetNamespace

protected static String getTargetNamespace(Method method)
Get the targetNamespace of the @WebService annotating the class of the given method.


toQName

protected static QName toQName(javax.jws.WebParam wp,
                               Method method)
Compute the qname of a given @WebParam.


getQNameOfFirstArgument

protected static QName getQNameOfFirstArgument(Method method)
                                        throws Exception
Throws:
Exception


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.