Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow
Class WorkflowExecutionLocal<T>

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.WorkflowExecutionLocal<T>

public class WorkflowExecutionLocal<T>
extends Object

Contains value that is bound to a currently executing workflow. Has the same purpose as ThreadLocal which bounds value to a particular thread. It is subject to the same replay rules as the rest of the workflow definition.


Constructor Summary
WorkflowExecutionLocal()
           
 
Method Summary
static void after()
          Must be called at the end of each decision.
static void before()
          Must be called before each decision.
 T get()
           
 int hashCode()
           
 void remove()
           
 void set(T v)
           
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowExecutionLocal

public WorkflowExecutionLocal()
Method Detail

before

public static void before()
Must be called before each decision. It is not a good idea to call this method from non framework code for non testing scenarios.


after

public static void after()
Must be called at the end of each decision. It is not a good idea to call this method from non framework code for non testing scenarios.


get

public T get()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

remove

public void remove()

set

public void set(T v)


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.