org.apache.sandesha.server
Class RMInvokerWork

java.lang.Object
  extended byorg.apache.sandesha.server.RMInvokerWork

public class RMInvokerWork
extends java.lang.Object

This is the worker class for the RMInvoker. RMInvoker instantiate several RMInvokerWorkers to keep on monitoring SandeshaQueue and invoke the web services. The run method is synchronized to get the IN-ORDER message invocation.


Constructor Summary
RMInvokerWork()
           
 
Method Summary
protected  boolean doRealInvoke(MessageContext aMessageContext)
           
protected  void doWork(RMMessageContext rmMessageContext)
           
 void executeInvoke()
           
protected  IStorageManager getStorageManager()
           
protected  void setStorageManager(IStorageManager storageManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMInvokerWork

public RMInvokerWork()
Method Detail

doRealInvoke

protected boolean doRealInvoke(MessageContext aMessageContext)
                        throws java.lang.Exception
Throws:
java.lang.Exception

executeInvoke

public void executeInvoke()
                   throws java.lang.Exception
Throws:
java.lang.Exception

setStorageManager

protected void setStorageManager(IStorageManager storageManager)
Parameters:
storageManager - The storageManager to set.

getStorageManager

protected IStorageManager getStorageManager()
Returns:
Returns the storageManager.

doWork

protected void doWork(RMMessageContext rmMessageContext)
               throws java.lang.Exception
Throws:
java.lang.Exception