|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.contextsupport.spring.DisruptorRepositoryBeanDefinitionParser.RepositoryFactoryBean
public static class DisruptorRepositoryBeanDefinitionParser.RepositoryFactoryBean
FactoryBean to create repository instances for use with the DisruptorCommandBus
| Constructor Summary | |
|---|---|
DisruptorRepositoryBeanDefinitionParser.RepositoryFactoryBean()
|
|
| Method Summary | |
|---|---|
Repository |
getObject()
|
Class<?> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setAggregateFactory(AggregateFactory<? extends EventSourcedAggregateRoot> factory)
Sets the aggregate factory used to create instances for the repository to create. |
void |
setCommandBus(DisruptorCommandBus commandBus)
The DisruptorCommandBus instance to create the repository from. |
void |
setEventStreamDecorators(List<EventStreamDecorator> decorators)
Sets the (additional) decorators to use when loading and storing events from/to the Event Store. |
void |
setSnapshotterTrigger(SnapshotterTrigger snapshotterTrigger)
The snapshotter trigger instance that will decide when to trigger a snapshot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DisruptorRepositoryBeanDefinitionParser.RepositoryFactoryBean()
| Method Detail |
|---|
public Repository getObject()
throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<Repository>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<Repository>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<Repository>public void setCommandBus(DisruptorCommandBus commandBus)
commandBus - DisruptorCommandBus instance to create the repository frompublic void setAggregateFactory(AggregateFactory<? extends EventSourcedAggregateRoot> factory)
factory - the aggregate factory used to create instances for the repository to createpublic void setEventStreamDecorators(List<EventStreamDecorator> decorators)
decorators - the decorators to decorate event streams withpublic void setSnapshotterTrigger(SnapshotterTrigger snapshotterTrigger)
snapshotterTrigger - The trigger to configure on the DisruptorCommandBus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||