@Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Component @Scope(value="prototype") @AggregateRoot public @interface Aggregate
Component
is an aggregate instance.Modifier and Type | Optional Element and Description |
---|---|
String |
repository
Selects the name of the AggregateRepository bean.
|
String |
snapshotTriggerDefinition
Sets the name of the bean providing the snapshot trigger definition.
|
String |
type
Get the String representation of the aggregate's type.
|
public abstract String repository
public abstract String snapshotTriggerDefinition
Note that the use of repository()
overrides this setting, as a repository explicitly defines the
snapshot trigger definition.
public abstract String type
Copyright © 2010–2017. All rights reserved.