org.apache.agila.impl
Class NodeContextImpl
java.lang.Object
org.apache.agila.impl.NodeContextImpl
- All Implemented Interfaces:
- NodeContext
public class NodeContextImpl
- extends java.lang.Object
- implements NodeContext
- Version:
- $Id: $
- Author:
- Geir Magnusson Jr.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentToken
protected Token currentToken
nextToken
protected Token nextToken
NodeContextImpl
public NodeContextImpl(Node node,
Instance instance,
TimerService timer,
TaskService task,
NotificationService notificationService)
getBoundValue
public java.lang.Object getBoundValue(java.lang.String name)
- Retrieves a binding value
- Specified by:
getBoundValue
in interface NodeContext
- Parameters:
name
-
- Returns:
setBoundValue
public void setBoundValue(java.lang.String name,
java.lang.Object value)
- Specified by:
setBoundValue
in interface NodeContext
setCurrentExecutionToken
public void setCurrentExecutionToken(Token token)
getCurrentExecutionToken
public Token getCurrentExecutionToken()
- Description copied from interface:
NodeContext
- Returns the token for the current state of the instance
- Specified by:
getCurrentExecutionToken
in interface NodeContext
setNextExecutionToken
public void setNextExecutionToken(Token token)
getNextExecutionToken
public Token getNextExecutionToken()
- Description copied from interface:
NodeContext
- Returns the token for the next state of the instance in the
event that the current step succeeds
- Specified by:
getNextExecutionToken
in interface NodeContext
- Returns:
setTimerService
public void setTimerService(TimerService svc)
getTimerService
public TimerService getTimerService()
- Specified by:
getTimerService
in interface NodeContext
setTaskService
public void setTaskService(TaskService svc)
getTaskService
public TaskService getTaskService()
- Specified by:
getTaskService
in interface NodeContext
getNotificationService
public NotificationService getNotificationService()
- Specified by:
getNotificationService
in interface NodeContext
getAppData
public java.util.Map getAppData()
- Retrieves the data sent by an outside process
- Specified by:
getAppData
in interface NodeContext
- Returns:
setAppData
public void setAppData(java.util.Map m)
getInstanceData
public java.util.Map getInstanceData()
- Specified by:
getInstanceData
in interface NodeContext
jexlResolver
protected java.lang.Object jexlResolver(java.lang.String expression,
java.util.Map vars)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.