org.logicblaze.lingo.jms.impl
Class AsyncReplyHandler

java.lang.Object
  extended by org.springframework.remoting.support.RemoteExporter
      extended by org.springframework.remoting.support.RemoteInvocationBasedExporter
          extended by org.logicblaze.lingo.jms.JmsServiceExporterMessageListener
              extended by org.logicblaze.lingo.jms.impl.AsyncReplyHandler
All Implemented Interfaces:
javax.jms.MessageListener, ReplyHandler, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class AsyncReplyHandler
extends JmsServiceExporterMessageListener
implements ReplyHandler

Version:
$Revision: 83 $

Field Summary
 
Fields inherited from class org.springframework.remoting.support.RemoteExporter
logger
 
Constructor Summary
AsyncReplyHandler(java.lang.Object pojo, Marshaller marshaller, MetadataStrategy metadataStrategy)
           
 
Method Summary
 ReplyHandler getParent()
           
 boolean handle(javax.jms.Message message)
          Processes the message, returning true if this is the last method of a lifecycle so that the handler can be discarded
protected  boolean isEndSessionMethod(org.springframework.remoting.support.RemoteInvocation invocation)
           
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask newResultHandler()
           
protected  void onException(org.springframework.remoting.support.RemoteInvocation invocation, java.lang.Exception e)
           
 void setParent(ReplyHandler parent)
           
 
Methods inherited from class org.logicblaze.lingo.jms.JmsServiceExporterMessageListener
afterPropertiesSet, createRemoteProxy, createResponseMessage, destroy, doInvoke, getClientID, getConnectionFactory, getInvocationFactory, getMarshaller, getMetadataStrategy, getProducerConfig, getProxy, getResponseRequestor, introduceRemoteReferences, isIgnoreFailures, isPersistentDelivery, onException, onMessage, setClientID, setConnectionFactory, setIgnoreFailures, setInvocationFactory, setMarshaller, setMetadataStrategy, setPersistentDelivery, setProducerConfig, setResponseRequestor, writeRemoteInvocationResult
 
Methods inherited from class org.springframework.remoting.support.RemoteInvocationBasedExporter
getRemoteInvocationExecutor, invoke, invokeAndCreateResult, setRemoteInvocationExecutor
 
Methods inherited from class org.springframework.remoting.support.RemoteExporter
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, isRegisterTraceInterceptor, setRegisterTraceInterceptor, setService, setServiceInterface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncReplyHandler

public AsyncReplyHandler(java.lang.Object pojo,
                         Marshaller marshaller,
                         MetadataStrategy metadataStrategy)
Method Detail

handle

public boolean handle(javax.jms.Message message)
               throws javax.jms.JMSException
Description copied from interface: ReplyHandler
Processes the message, returning true if this is the last method of a lifecycle so that the handler can be discarded

Specified by:
handle in interface ReplyHandler
Throws:
javax.jms.JMSException

getParent

public ReplyHandler getParent()

setParent

public void setParent(ReplyHandler parent)

newResultHandler

public edu.emory.mathcs.backport.java.util.concurrent.FutureTask newResultHandler()

isEndSessionMethod

protected boolean isEndSessionMethod(org.springframework.remoting.support.RemoteInvocation invocation)

onException

protected void onException(org.springframework.remoting.support.RemoteInvocation invocation,
                           java.lang.Exception e)


Copyright © 2009 LogicBlaze, Inc.. All Rights Reserved.