buildSagaAnalyzer();
buildInvoker();
buildContextProvider();
buildExecutor();
KeyExtractor extractor = new SagaKeyReaderExtractor(providerFactory);
Organizer organizer = new Organizer(sagaAnalyzer, extractor);
organizer.setPreferredOrder(preferredOrder);
SagaFactory sagaFactory = new SagaFactory(providerFactory, storage, timeoutManager, organizer);
SagaEnvironment environment = SagaEnvironment.create(timeoutManager, storage, sagaFactory, contextProvider, modules, interceptors);