Java 类com.amazonaws.services.simpleworkflow.flow.DecisionContextProvider 实例源码

项目:aws-flow-maven-eclipse-samples    文件:PeriodicWorkflowImpl.java   
public PeriodicWorkflowImpl() {
    DecisionContextProvider contextProvider = new DecisionContextProviderImpl();
    clock = contextProvider.getDecisionContext().getWorkflowClock();
    activities = new DynamicActivitiesClientImpl();
    errorReporting = new ErrorReportingActivitiesClientImpl();
    selfClient = new PeriodicWorkflowSelfClientImpl();
}
项目:aws-flow-maven-eclipse-samples    文件:WaitForSignalWorkflowImpl.java   
public WaitForSignalWorkflowImpl() {
    DecisionContextProvider provider = new DecisionContextProviderImpl();
    DecisionContext context = provider.getDecisionContext();
    clock = context.getWorkflowClock();
}