Class ModeModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class ModeModule
    extends OxalisModule
    Since:
    4.0.0, 5.0.0
    Author:
    erlend, aaron-kumar
    • Constructor Detail

      • ModeModule

        public ModeModule()
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule
      • getCertificateValidator

        @Provides
        protected network.oxalis.vefa.peppol.security.api.CertificateValidator getCertificateValidator​(network.oxalis.vefa.peppol.mode.Mode mode)
                                                                                                throws network.oxalis.vefa.peppol.common.lang.PeppolLoadingException
        Throws:
        network.oxalis.vefa.peppol.common.lang.PeppolLoadingException
      • getRequestConfig

        @Provides
        @Named("certificate")
        protected org.apache.hc.client5.http.config.RequestConfig getRequestConfig()
      • getTruststoreAp

        @Provides
        @Named("truststore-ap")
        protected KeyStore getTruststoreAp​(network.oxalis.vefa.peppol.mode.Mode mode)
        Since:
        4.0.3
      • getTruststoreSmp

        @Provides
        @Named("truststore-smp")
        protected KeyStore getTruststoreSmp​(network.oxalis.vefa.peppol.mode.Mode mode)
        Since:
        4.0.3