Class StandardMongoConfigurationService
java.lang.Object
dev.getelements.elements.sdk.mongo.standard.StandardMongoConfigurationService
- All Implemented Interfaces:
MongoConfigurationService
-
Field Summary
Fields inherited from interface dev.getelements.elements.sdk.mongo.MongoConfigurationService
CA, CA_PASSPHRASE, CLIENT_CERTIFICATE, CLIENT_CERTIFICATE_PASSPHRASE, FORMAT, KEY_ALGORITHM, MONGO_CLIENT_URI, SSL_PROTOCOL, TRUST_ALGORITHM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the MongoDB configuration for the Namazu Elements system.voidsetCaPassphrase(String caPassphrase) voidvoidsetClientCertificatePassphrase(String clientCertificatePassphrase) voidsetClientCertificatePath(String clientCertificatePath) voidsetKeyAlgorithm(String keyAlgorithm) voidsetKeyFormat(String keyFormat) voidsetMongoDbUri(String mongoDbUri) voidsetSslProtocol(String sslProtocol) voidsetTrustAlgorithm(String trustAlgorithm)
-
Constructor Details
-
StandardMongoConfigurationService
public StandardMongoConfigurationService()
-
-
Method Details
-
getMongoConfiguration
Description copied from interface:MongoConfigurationServiceRetrieves the MongoDB configuration for the Namazu Elements system.- Specified by:
getMongoConfigurationin interfaceMongoConfigurationService- Returns:
- the
MongoConfigurationcontaining connection details
-
getMongoDbUri
-
setMongoDbUri
-
getSslProtocol
-
setSslProtocol
@Inject public void setSslProtocol(@Named("dev.getelements.elements.mongo.tls.protocol") String sslProtocol) -
getKeyAlgorithm
-
setKeyAlgorithm
@Inject public void setKeyAlgorithm(@Named("dev.getelements.elements.mongo.tls.key.algorithm") String keyAlgorithm) -
getKeyFormat
-
setKeyFormat
@Inject public void setKeyFormat(@Named("dev.getelements.elements.mongo.tls.format") String keyFormat) -
getCaPath
-
setCaPath
-
getCaPassphrase
-
setCaPassphrase
@Inject public void setCaPassphrase(@Named("dev.getelements.elements.mongo.tls.ca.passphrase") String caPassphrase) -
getClientCertificatePath
-
setClientCertificatePath
@Inject public void setClientCertificatePath(@Named("dev.getelements.elements.mongo.tls.client.certificate") String clientCertificatePath) -
getClientCertificatePassphrase
-
setClientCertificatePassphrase
@Inject public void setClientCertificatePassphrase(@Named("dev.getelements.elements.mongo.tls.client.certificate.passphrase") String clientCertificatePassphrase) -
getTrustAlgorithm
-
setTrustAlgorithm
@Inject public void setTrustAlgorithm(@Named("dev.getelements.elements.mongo.tls.trust.algorithm") String trustAlgorithm)
-