com.amazonaws.services.simpleworkflow.flow.spring
Class WorkflowScope

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.spring.WorkflowScope
All Implemented Interfaces:
org.springframework.beans.factory.config.Scope, org.springframework.context.ApplicationContextAware

public class WorkflowScope
extends Object
implements org.springframework.beans.factory.config.Scope, org.springframework.context.ApplicationContextAware


Field Summary
static String NAME
           
 
Constructor Summary
WorkflowScope()
           
 
Method Summary
 Object get(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
           
 String getConversationId()
           
 void registerDestructionCallback(String name, Runnable callback)
           
 Object remove(String name)
           
static void removeDecisionContext()
           
 Object resolveContextualObject(String name)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
static void setDecisionContext(DecisionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

WorkflowScope

public WorkflowScope()
Method Detail

setDecisionContext

public static void setDecisionContext(DecisionContext context)

removeDecisionContext

public static void removeDecisionContext()

get

public Object get(String name,
                  org.springframework.beans.factory.ObjectFactory<?> objectFactory)
Specified by:
get in interface org.springframework.beans.factory.config.Scope

getConversationId

public String getConversationId()
Specified by:
getConversationId in interface org.springframework.beans.factory.config.Scope

registerDestructionCallback

public void registerDestructionCallback(String name,
                                        Runnable callback)
Specified by:
registerDestructionCallback in interface org.springframework.beans.factory.config.Scope

remove

public Object remove(String name)
Specified by:
remove in interface org.springframework.beans.factory.config.Scope

resolveContextualObject

public Object resolveContextualObject(String name)
Specified by:
resolveContextualObject in interface org.springframework.beans.factory.config.Scope

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


Copyright © 2016. All rights reserved.