public PeriodicWorkflowImpl() { DecisionContextProvider contextProvider = new DecisionContextProviderImpl(); clock = contextProvider.getDecisionContext().getWorkflowClock(); activities = new DynamicActivitiesClientImpl(); errorReporting = new ErrorReportingActivitiesClientImpl(); selfClient = new PeriodicWorkflowSelfClientImpl(); }
public WaitForSignalWorkflowImpl() { DecisionContextProvider provider = new DecisionContextProviderImpl(); DecisionContext context = provider.getDecisionContext(); clock = context.getWorkflowClock(); }