org.apache.agila.engine
Class MessageProcessor
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageProcessor
public MessageProcessor()
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.