public class AnnotationSagaMetaModelFactory extends Object implements SagaMetaModelFactory
SagaMetaModelFactory.| Constructor and Description |
|---|
AnnotationSagaMetaModelFactory()
Initializes a
AnnotationSagaMetaModelFactory with ClasspathParameterResolverFactory and
ClasspathHandlerDefinition. |
AnnotationSagaMetaModelFactory(ParameterResolverFactory parameterResolverFactory)
Initializes a
AnnotationSagaMetaModelFactory with given parameterResolverFactory and
ClasspathHandlerDefinition. |
AnnotationSagaMetaModelFactory(ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Initializes a
AnnotationSagaMetaModelFactory with given parameterResolverFactory and given
handlerDefinition. |
| Modifier and Type | Method and Description |
|---|---|
<T> MessageHandlerInterceptorMemberChain<T> |
chainedInterceptor(Class<T> sagaType)
Returns an Interceptor Chain of annotated interceptor methods for the given
sagaType. |
<T> SagaModel<T> |
modelOf(Class<T> sagaType)
Create a saga meta model for the given
sagaType. |
public AnnotationSagaMetaModelFactory()
AnnotationSagaMetaModelFactory with ClasspathParameterResolverFactory and
ClasspathHandlerDefinition.public AnnotationSagaMetaModelFactory(ParameterResolverFactory parameterResolverFactory)
AnnotationSagaMetaModelFactory with given parameterResolverFactory and
ClasspathHandlerDefinition.parameterResolverFactory - factory for event handler parameter resolverspublic AnnotationSagaMetaModelFactory(ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition)
AnnotationSagaMetaModelFactory with given parameterResolverFactory and given
handlerDefinition.parameterResolverFactory - factory for event handler parameter resolvershandlerDefinition - the handler definition used to create concrete handlerspublic <T> SagaModel<T> modelOf(Class<T> sagaType)
SagaMetaModelFactorysagaType. The meta model will inspect the capabilities and
characteristics of the given type.modelOf in interface SagaMetaModelFactoryT - The saga typesagaType - The saga class to be inspectedpublic <T> MessageHandlerInterceptorMemberChain<T> chainedInterceptor(Class<T> sagaType)
SagaMetaModelFactorysagaType. The given chain
will invoke all relevant interceptors in an order defined by the handler definition.chainedInterceptor in interface SagaMetaModelFactoryT - The saga typesagaType - The saga class to be inspectedCopyright © 2010–2025. All rights reserved.