com.atlassian.bamboo.lingo
Class LazyMarshaller

java.lang.Object
  extended by com.atlassian.bamboo.lingo.LazyMarshaller
All Implemented Interfaces:
org.logicblaze.lingo.jms.marshall.Marshaller

public class LazyMarshaller
extends java.lang.Object
implements org.logicblaze.lingo.jms.marshall.Marshaller

Lazy Marshaller living his lazy life in Spring.

Since:
v3.3

Constructor Summary
LazyMarshaller(java.lang.String delegateBeanName)
           
 
Method Summary
 javax.jms.Message createObjectMessage(javax.jms.Session session, java.lang.Object value)
           
 javax.jms.Message createRequestMessage(org.logicblaze.lingo.jms.Requestor requestor, org.logicblaze.lingo.LingoInvocation invocation)
           
 javax.jms.Message createResponseMessage(javax.jms.Session session, org.springframework.remoting.support.RemoteInvocationResult result, javax.jms.Message requestMessage)
           
 org.springframework.remoting.support.RemoteInvocationResult extractInvocationResult(javax.jms.Message message)
           
 java.lang.Object readMessage(javax.jms.Message message)
           
 org.springframework.remoting.support.RemoteInvocation readRemoteInvocation(javax.jms.Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyMarshaller

public LazyMarshaller(@NotNull
                      java.lang.String delegateBeanName)
Method Detail

createRequestMessage

public javax.jms.Message createRequestMessage(org.logicblaze.lingo.jms.Requestor requestor,
                                              org.logicblaze.lingo.LingoInvocation invocation)
                                       throws javax.jms.JMSException
Specified by:
createRequestMessage in interface org.logicblaze.lingo.jms.marshall.Marshaller
Throws:
javax.jms.JMSException

createResponseMessage

public javax.jms.Message createResponseMessage(javax.jms.Session session,
                                               org.springframework.remoting.support.RemoteInvocationResult result,
                                               javax.jms.Message requestMessage)
                                        throws javax.jms.JMSException
Specified by:
createResponseMessage in interface org.logicblaze.lingo.jms.marshall.Marshaller
Throws:
javax.jms.JMSException

extractInvocationResult

public org.springframework.remoting.support.RemoteInvocationResult extractInvocationResult(javax.jms.Message message)
                                                                                    throws javax.jms.JMSException
Specified by:
extractInvocationResult in interface org.logicblaze.lingo.jms.marshall.Marshaller
Throws:
javax.jms.JMSException

readRemoteInvocation

public org.springframework.remoting.support.RemoteInvocation readRemoteInvocation(javax.jms.Message message)
                                                                           throws javax.jms.JMSException
Specified by:
readRemoteInvocation in interface org.logicblaze.lingo.jms.marshall.Marshaller
Throws:
javax.jms.JMSException

createObjectMessage

public javax.jms.Message createObjectMessage(javax.jms.Session session,
                                             java.lang.Object value)
                                      throws javax.jms.JMSException
Specified by:
createObjectMessage in interface org.logicblaze.lingo.jms.marshall.Marshaller
Throws:
javax.jms.JMSException

readMessage

public java.lang.Object readMessage(javax.jms.Message message)
                             throws javax.jms.JMSException
Specified by:
readMessage in interface org.logicblaze.lingo.jms.marshall.Marshaller
Throws:
javax.jms.JMSException


Copyright © 2012 Atlassian. All Rights Reserved.