Class PreferencesMongoConfiguration
java.lang.Object
org.openwms.core.preferences.app.PreferencesMongoConfiguration
@Profile("MONGODB")
@EnableMongoAuditing
@EnableMongoRepositories(basePackages="org.openwms.core.preferences.impl.mongodb")
@Configuration
public class PreferencesMongoConfiguration
extends Object
A PreferencesMongoConfiguration activates support for the MongoDB persistent storage.
It enables:
- Spring Data MongoDB Support (Repository definitions)
- Spring Data MongoDB Auditing
- Custom converters for PropertyScope
- Author:
- Heiko Scherrer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.springframework.data.mongodb.core.convert.MongoCustomConversions
-
Constructor Details
-
PreferencesMongoConfiguration
public PreferencesMongoConfiguration()
-
-
Method Details
-
mongoCustomConversions
@Bean org.springframework.data.mongodb.core.convert.MongoCustomConversions mongoCustomConversions()
-