Interface DbConfiguration
-
- All Superinterfaces:
VitamApplicationConfiguration,VitamApplicationConfigurationInterface
- All Known Implementing Classes:
AdminManagementConfiguration,BatchReportConfiguration,CollectInternalConfiguration,DbConfigurationImpl,InterceptorConfiguration,InternalSecurityConfiguration,LogbookConfiguration,MetaDataConfiguration,OfferConfiguration,WebApplicationConfig
public interface DbConfiguration extends VitamApplicationConfiguration
Defines minimal common configurations for database configuration properties.
Your configuration class must implement it whenever you use database configuration in your configuration file
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDbName()Must return the value of a 'dbName' attributejava.lang.StringgetDbPassword()Must return the value of a 'dbName' attributejava.lang.StringgetDbUserName()Must return the value of a 'dbName' attributejava.util.List<MongoDbNode>getMongoDbNodes()Must return the value of a 'mongoDbNodes' attributebooleanisDbAuthentication()Must return the value of a 'dbName' attribute-
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfiguration
isEnableSession, isEnableXsrFilter, setEnableSession, setEnableXsrFilter
-
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfigurationInterface
getBaseUri, getBaseUrl, getJettyConfig, isAuthentication, isTenantFilter, setAuthentication, setBaseUri, setBaseUrl, setJettyConfig, setTenantFilter
-
-
-
-
Method Detail
-
getMongoDbNodes
java.util.List<MongoDbNode> getMongoDbNodes()
Must return the value of a 'mongoDbNodes' attribute- Returns:
- the list of mongodb node which contains the dbHost and dbPort
-
getDbName
java.lang.String getDbName()
Must return the value of a 'dbName' attribute- Returns:
- the database host value
-
getDbUserName
java.lang.String getDbUserName()
Must return the value of a 'dbName' attribute- Returns:
- the database user name
-
getDbPassword
java.lang.String getDbPassword()
Must return the value of a 'dbName' attribute- Returns:
- the database user's password
-
isDbAuthentication
boolean isDbAuthentication()
Must return the value of a 'dbName' attribute- Returns:
- boolean is autenticated or not
-
-