Package network.oxalis.outbound
Class OxalisOutboundComponent
- java.lang.Object
-
- network.oxalis.outbound.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 Summary
Constructors Constructor Description OxalisOutboundComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description network.oxalis.api.evidence.EvidenceFactorygetEvidenceFactory()com.google.inject.InjectorgetInjector()Provides access to the Google Guice injector in order to reuse the component with other components that also uses Google Guice.network.oxalis.api.lookup.LookupServicegetLookupService()Retrieves instance of LookupService, without revealing intern object dependency injection.TransmissionRequestBuildergetTransmissionRequestBuilder()Retrieves instances of TransmissionRequestBuilder, while not exposing Google Guice to the outsideTransmissionRequestFactorygetTransmissionRequestFactory()network.oxalis.api.outbound.TransmissionServicegetTransmissionService()network.oxalis.api.outbound.TransmittergetTransmitter()Retrieves instance of DefaultTransmitter, without revealing intern object dependency injection.
-
-
-
Method Detail
-
getTransmissionRequestBuilder
public TransmissionRequestBuilder getTransmissionRequestBuilder()
Retrieves instances of TransmissionRequestBuilder, while not exposing Google Guice to the outside- Returns:
- instance of TransmissionRequestBuilder
-
getTransmissionRequestFactory
public TransmissionRequestFactory getTransmissionRequestFactory()
-
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()
-
-