org.apache.agila.engine
Class MessageProcessor

java.lang.Object
  extended by org.apache.agila.engine.MessageProcessor

public class MessageProcessor
extends java.lang.Object

Core class to process messages. Messages are the mechanism through which state is advanced for each instance. Each engine message contains a command, currently either 'advance' or 'halt' and information required to perform the action, including token id.

Version:
$Id: $
Author:
Geir Magnusson Jr.

Constructor Summary
MessageProcessor()
           
 
Method Summary
 boolean processMessage(EngineMessage msg)
          Message processing routine.
 void setBusinessProcessService(BusinessProcessService wm)
           
 void setExecutionInstanceService(InstanceService eiSvc)
           
 void setLogService(LogService l)
           
 void setNotificationService(NotificationService notificationService)
           
 void setQueueService(QueueService qs)
           
 void setTaskService(TaskService taskService)
           
 void setTimerService(TimerService timerService)
           
 void setTokenService(TokenService tokenService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageProcessor

public MessageProcessor()
Method Detail

setLogService

public void setLogService(LogService l)

setQueueService

public void setQueueService(QueueService qs)

setTokenService

public void setTokenService(TokenService tokenService)

setBusinessProcessService

public void setBusinessProcessService(BusinessProcessService wm)

setExecutionInstanceService

public void setExecutionInstanceService(InstanceService eiSvc)

setTimerService

public void setTimerService(TimerService timerService)

setTaskService

public void setTaskService(TaskService taskService)

setNotificationService

public void setNotificationService(NotificationService notificationService)

processMessage

public boolean processMessage(EngineMessage msg)
Message processing routine. This method is called by the QueueService.

Parameters:
msg -


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.