org.tubo.resource.flow
Class BaseFlowExecutorImpl
java.lang.Object
org.tubo.resource.flow.BaseFlowExecutorImpl
- All Implemented Interfaces:
- ConsumerListener, FlowExecutor
public class BaseFlowExecutorImpl
- extends java.lang.Object
- implements FlowExecutor, ConsumerListener
Created: Oct 23, 2006, 12:21:15 AM
Last Modification Date: $Date: 2006-10-26 03:10:31 -0300 (Thu, 26 Oct 2006) $
- Version:
- $Revision: 49 $
- Author:
- maldito_orco (maldito_orco@users.sourceforge.net)
Field Summary |
static java.lang.String |
RCS_ID
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCS_ID
public static final java.lang.String RCS_ID
- See Also:
- Constant Field Values
BaseFlowExecutorImpl
public BaseFlowExecutorImpl()
getResourceManager
public ResourceManager getResourceManager()
- Specified by:
getResourceManager
in interface FlowExecutor
setResourceManager
public void setResourceManager(ResourceManager resourceManager)
throws TuboException
- Specified by:
setResourceManager
in interface FlowExecutor
- Throws:
TuboException
getConsumerFlowMapping
public java.util.Map getConsumerFlowMapping()
setConsumerFlowMapping
public void setConsumerFlowMapping(java.util.Map consumerFlowMapping)
mapConsumerIdToFlow
public java.lang.String mapConsumerIdToFlow(java.lang.String consumerId)
- TODO: Exception?? NullPointer??
- Parameters:
consumerId
-
- Returns:
execute
public void execute(FlowContext flowContext)
throws TuboException
- Execute the flow associated with this consumer
- Specified by:
execute
in interface FlowExecutor
- Parameters:
flowContext
-
- Throws:
TuboException
onOriginFlowEvent
public void onOriginFlowEvent(FlowContext flowContext)
- Consumer listener event handler
- Specified by:
onOriginFlowEvent
in interface ConsumerListener
- Parameters:
flowContext
-
Copyright © 2004-2007 Tubo. All Rights Reserved.