Package org.axonframework.saga

Examples of org.axonframework.saga.SagaInitializationPolicy


                SagaMethodMessageHandlerInspector.getInstance((Class<? extends AbstractAnnotatedSaga>) sagaType,
                                                              parameterResolverFactory);
        final List<SagaMethodMessageHandler> handlers = inspector.getMessageHandlers(event);
        for (SagaMethodMessageHandler handler : handlers) {
            if (handler.getCreationPolicy() != SagaCreationPolicy.NONE) {
                return new SagaInitializationPolicy(handler.getCreationPolicy(), handler.getAssociationValue(event));
            }
        }
        return SagaInitializationPolicy.NONE;
    }
View Full Code Here

TOP

Related Classes of org.axonframework.saga.SagaInitializationPolicy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.