Class OxalisOutboundComponent


  • public class OxalisOutboundComponent
    extends Object
    Entry point and Object factory for the Oxalis outbound module. Should be treated as a singleton when used to make sure Oxalis is not loaded more times than needed.
    Author:
    steinar, thore, erlend
    • Constructor Detail

      • OxalisOutboundComponent

        public OxalisOutboundComponent()
    • Method Detail

      • getTransmissionRequestBuilder

        public TransmissionRequestBuilder getTransmissionRequestBuilder()
        Retrieves instances of TransmissionRequestBuilder, while not exposing Google Guice to the outside
        Returns:
        instance of TransmissionRequestBuilder
      • getLookupService

        public network.oxalis.api.lookup.LookupService getLookupService()
        Retrieves instance of LookupService, without revealing intern object dependency injection.
      • getTransmitter

        public network.oxalis.api.outbound.Transmitter getTransmitter()
        Retrieves instance of DefaultTransmitter, without revealing intern object dependency injection.
        Returns:
        instance of Transmitter
      • getEvidenceFactory

        public network.oxalis.api.evidence.EvidenceFactory getEvidenceFactory()
      • getInjector

        public com.google.inject.Injector getInjector()
        Provides access to the Google Guice injector in order to reuse the component with other components that also uses Google Guice.
        Returns:
      • getTransmissionService

        public network.oxalis.api.outbound.TransmissionService getTransmissionService()