Class DbConfigurationImpl

java.lang.Object
fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
fr.gouv.vitam.common.server.application.configuration.DbConfigurationImpl
All Implemented Interfaces:
DbConfiguration, VitamApplicationConfiguration, VitamApplicationConfigurationInterface
Direct Known Subclasses:
AdminManagementConfiguration, BatchReportConfiguration, CollectInternalConfiguration, InterceptorConfiguration, InternalSecurityConfiguration, LogbookConfiguration, MetaDataConfiguration, OfferConfiguration, WebApplicationConfig

public class DbConfigurationImpl extends DefaultVitamApplicationConfiguration implements DbConfiguration
Implementation of DbConfiguraton Interface
  • Constructor Details

    • DbConfigurationImpl

      public DbConfigurationImpl()
      DbConfiguration empty constructor for YAMLFactory
    • DbConfigurationImpl

      public DbConfigurationImpl(List<MongoDbNode> mongoDbNodes, String dbName, boolean dbAuthentication, String dbUserName, String dbPassword)
      DbConfiguration constructor with authentication
      Parameters:
      mongoDbNodes - database server IP address and port
      dbName - database name
      dbAuthentication -
      dbUserName -
      dbPassword -
      Throws:
      IllegalArgumentException - if host or dbName null or empty, or if port <= 0
    • DbConfigurationImpl

      public DbConfigurationImpl(List<MongoDbNode> mongoDbNodes, String dbName)
      DbConfiguration constructor
      Parameters:
      mongoDbNodes - database server IP address and port
      dbName - database name
      Throws:
      IllegalArgumentException - if host or dbName null or empty, or if port <= 0
  • Method Details