org.axonframework.eventstore.mongo
Interface MongoTemplate

All Known Implementing Classes:
DefaultMongoTemplate

public interface MongoTemplate

Interface describing a mechanism that provides access to the Database and Collections required by the MongoEventStore.

Since:
2.0 (in incubator since 0.7)
Author:
Jettro Coenradie

Method Summary
 com.mongodb.DBCollection domainEventCollection()
          Returns a reference to the collection containing the domain events.
 com.mongodb.DBCollection snapshotEventCollection()
          Returns a reference to the collection containing the snapshot events.
 

Method Detail

domainEventCollection

com.mongodb.DBCollection domainEventCollection()
Returns a reference to the collection containing the domain events.

Returns:
DBCollection containing the domain events

snapshotEventCollection

com.mongodb.DBCollection snapshotEventCollection()
Returns a reference to the collection containing the snapshot events.

Returns:
DBCollection containing the snapshot events


Copyright © 2010-2016. All Rights Reserved.