Class SpringMongoDAO
java.lang.Object
services.moleculer.mongo.MongoFilters
services.moleculer.mongo.MongoDAO
services.moleculer.mongo.SpringMongoDAO
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class SpringMongoDAO
extends MongoDAO
implements org.springframework.context.ApplicationContextAware
-
Field Summary
Fields inherited from class MongoDAO
ACKNOWLEDGED, collection, COUNT, DELETED, ID, MATCHED, maxItemsPerQuery, MODIFIED, ROWS, SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class MongoDAO
count, count, count, createAscendingIndexes, createDescendingIndexes, createGeo2DIndex, createGeo2DSphereIndexes, createHashedIndex, createIndexes, createIndexes, createTextIndex, deleteAll, deleteMany, deleteMany, deleteOne, deleteOne, drop, dropIndex, dropIndex, find, find, find, findOne, findOneAndDelete, findOneAndDelete, findOneAndReplace, findOneAndReplace, findOneAndUpdate, findOneAndUpdate, getCollection, getMaxItemsPerQuery, insertOne, insertOne, listIndexes, mapReduce, renameCollection, renameCollection, replaceOne, replaceOne, setCollection, setMaxItemsPerQuery, setMongoConnectionPool, updateMany, updateOne
-
Constructor Details
-
SpringMongoDAO
public SpringMongoDAO()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-