public class AnnotationSagaMetaModelFactory extends Object implements SagaMetaModelFactory
SagaMetaModelFactory
.Constructor and Description |
---|
AnnotationSagaMetaModelFactory()
Initializes a
AnnotationSagaMetaModelFactory with ClasspathParameterResolverFactory . |
AnnotationSagaMetaModelFactory(ParameterResolverFactory parameterResolverFactory)
Initializes a
AnnotationSagaMetaModelFactory with given parameterResolverFactory . |
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
.public AnnotationSagaMetaModelFactory(ParameterResolverFactory parameterResolverFactory)
AnnotationSagaMetaModelFactory
with given parameterResolverFactory
.parameterResolverFactory
- factory for event handler parameter resolverspublic <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–2017. All rights reserved.