| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ksb.messaging.MessageServiceInvoker
public class MessageServiceInvoker
Handles invocation of a PersistedMessageBO.
| Field Summary | |
|---|---|
| protected static org.apache.log4j.Logger | LOG | 
| Constructor Summary | |
|---|---|
| MessageServiceInvoker(PersistedMessageBO message) | |
| Method Summary | |
|---|---|
|  PersistedMessageBO | getMessage() | 
|  AsynchronousCall | getMethodCall() | 
| protected  Object | getQueueService(ServiceConfiguration serviceConfiguration)Because this is a queue we just need to grab one. | 
|  Object | getService() | 
| protected  Object | getService(ServiceConfiguration serviceConfiguration) | 
| protected  Object | getTopicService(ServiceConfiguration serviceConfiguration)Get the service as a topic. | 
| protected  Object | invokeService(AsynchronousCall methodCall)Invokes the AsynchronousCall represented on the methodCall on the service contained in the ServiceInfo object on the AsynchronousCall. | 
| protected  void | notifyGlobalCallbacks(AsynchronousCall methodCall,
                                           Object callResult) | 
| protected  void | notifyOnCallback(AsynchronousCall methodCall,
                                 AsynchronousCallback callback,
                                 Object callResult) | 
| protected  void | notifyOnCallback(AsynchronousCall methodCall,
                                 Object callResult)Used in case the thread that dumped this work into the queue is waiting for the work to be done to continue processing. | 
| protected  void | placeInExceptionRouting(Throwable t,
                                               AsynchronousCall call,
                                               Object service)Executed when an exception is encountered during message invocation. | 
|  void | run() | 
|  void | setMessage(PersistedMessageBO message) | 
|  void | setMethodCall(AsynchronousCall methodCall) | 
|  void | setService(Object service) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static final org.apache.log4j.Logger LOG
| Constructor Detail | 
|---|
public MessageServiceInvoker(PersistedMessageBO message)
| Method Detail | 
|---|
public void run()
run in interface Runnable
protected void placeInExceptionRouting(Throwable t,
                                       AsynchronousCall call,
                                       Object service)
protected Object invokeService(AsynchronousCall methodCall)
                        throws Exception
Exceptionprotected Object getService(ServiceConfiguration serviceConfiguration)
protected Object getTopicService(ServiceConfiguration serviceConfiguration)
serviceInfo - 
protected Object getQueueService(ServiceConfiguration serviceConfiguration)
serviceInfo - 
protected void notifyOnCallback(AsynchronousCall methodCall,
                                Object callResult)
callback - 
protected void notifyGlobalCallbacks(AsynchronousCall methodCall,
                                     Object callResult)
protected void notifyOnCallback(AsynchronousCall methodCall,
                                AsynchronousCallback callback,
                                Object callResult)
public PersistedMessageBO getMessage()
public void setMessage(PersistedMessageBO message)
public Object getService()
public AsynchronousCall getMethodCall()
public void setMethodCall(AsynchronousCall methodCall)
public void setService(Object service)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||