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> 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)
SagaMetaModelFactory
sagaType
. The meta model will inspect the capabilities and
characteristics of the given type.modelOf
in interface SagaMetaModelFactory
T
- The saga typesagaType
- The saga class to be inspectedCopyright © 2010–2022. All rights reserved.