public class AnnotatedAggregateMetaModelFactory extends Object implements AggregateMetaModelFactory
| Constructor and Description | 
|---|
AnnotatedAggregateMetaModelFactory()
Initializes an instance which uses the default, classpath based, ParameterResolverFactory to detect parameters
 for annotated handlers. 
 | 
AnnotatedAggregateMetaModelFactory(ParameterResolverFactory parameterResolverFactory)
Initializes an instance which uses the give  
parameterResolverFactory to detect parameters for
 annotated handlers. | 
| Modifier and Type | Method and Description | 
|---|---|
<T> org.axonframework.commandhandling.model.inspection.AnnotatedAggregateMetaModelFactory.AnnotatedAggregateModel<T> | 
createModel(Class<? extends T> aggregateType)
Create an Aggregate meta model for the given  
aggregateType. | 
static <T> AggregateModel<T> | 
inspectAggregate(Class<T> aggregateType)
Shorthand to create a factory instance and inspect the model for the given  
aggregateType. | 
static <T> AggregateModel<T> | 
inspectAggregate(Class<T> aggregateType,
                ParameterResolverFactory parameterResolverFactory)
Shorthand to create a factory instance and inspect the model for the given  
aggregateType, using given
 parameterResolverFactory to resolve parameter values for annotated handlers. | 
public AnnotatedAggregateMetaModelFactory()
public AnnotatedAggregateMetaModelFactory(ParameterResolverFactory parameterResolverFactory)
parameterResolverFactory to detect parameters for
 annotated handlers.parameterResolverFactory - to resolve parameter values of annotated handlers withpublic static <T> AggregateModel<T> inspectAggregate(Class<T> aggregateType)
aggregateType.T - The type of aggregate described in the modelaggregateType - The class of the aggregate to create the model forpublic static <T> AggregateModel<T> inspectAggregate(Class<T> aggregateType, ParameterResolverFactory parameterResolverFactory)
aggregateType, using given
 parameterResolverFactory to resolve parameter values for annotated handlers.T - The type of aggregate described in the modelaggregateType - The class of the aggregate to create the model forparameterResolverFactory - to resolve parameter values of annotated handlers withpublic <T> org.axonframework.commandhandling.model.inspection.AnnotatedAggregateMetaModelFactory.AnnotatedAggregateModel<T> createModel(Class<? extends T> aggregateType)
AggregateMetaModelFactoryaggregateType. The meta model will inspect the capabilities
 and characteristics of the given type.createModel in interface AggregateMetaModelFactoryT - The Aggregate typeaggregateType - The Aggregate class to be inspectedCopyright © 2010–2018. All rights reserved.