org.apertereports.backbone.jms.listener
Class CyclicOrderResponseProcessor

java.lang.Object
  extended by org.apertereports.backbone.jms.listener.CyclicOrderResponseProcessor
All Implemented Interfaces:
javax.jms.MessageListener

public class CyclicOrderResponseProcessor
extends Object
implements javax.jms.MessageListener

Singleton MessageListener implementation that asynchronously handles the cyclic report orders. On response to its queue the listener fetches the relevant report order and connects its results with the cyclic report order.


Method Summary
static CyclicOrderResponseProcessor getInstance()
           
 void onMessage(javax.jms.Message message)
          Processes a cyclic report response from report generator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CyclicOrderResponseProcessor getInstance()

onMessage

public void onMessage(javax.jms.Message message)
Processes a cyclic report response from report generator. Sets the generated report order for the cyclic report fields.

Specified by:
onMessage in interface javax.jms.MessageListener
Parameters:
message - A JMS message
See Also:
MessageListener.onMessage(javax.jms.Message)


Copyright © 2011-2012. All Rights Reserved.