Interface SpringDataMongoBundle.InitialBuilder
- All Known Implementing Classes:
SpringDataMongoBundle.Builder
- Enclosing class:
- SpringDataMongoBundle<C extends io.dropwizard.core.Configuration>
public static interface SpringDataMongoBundle.InitialBuilder
-
Method Summary
Modifier and TypeMethodDescription<C extends io.dropwizard.core.Configuration>
SpringDataMongoBundle.MorphiaCompatibilityBuilder<C>withConfigurationProvider
(@NotNull MongoConfigurationProvider<C> configurationProvider)
-
Method Details
-
withConfigurationProvider
<C extends io.dropwizard.core.Configuration> SpringDataMongoBundle.MorphiaCompatibilityBuilder<C> withConfigurationProvider(@NotNull @NotNull MongoConfigurationProvider<C> configurationProvider) - Type Parameters:
C
- the type of the applications configuration class- Parameters:
configurationProvider
- the method reference that provides the @MongoConfiguration
from the applications configurations class- Returns:
- a builder instance for further configuration
-