Class DocumentAccessProvider

  • All Implemented Interfaces:
    com.yahoo.component.Deconstructable, com.yahoo.container.di.componentgraph.Provider<VespaDocumentAccess>

    public class DocumentAccessProvider
    extends Object
    implements com.yahoo.container.di.componentgraph.Provider<VespaDocumentAccess>
    Lets a lazily initialised DocumentAccess forwarding to a real MessageBusDocumentAccess be injected in containers.
    Author:
    jonmv
    • Constructor Detail

      • DocumentAccessProvider

        @Inject
        public DocumentAccessProvider​(com.yahoo.document.config.DocumentmanagerConfig documentmanagerConfig,
                                      com.yahoo.vespa.config.content.LoadTypeConfig loadTypeConfig,
                                      com.yahoo.messagebus.MessagebusConfig messagebusConfig,
                                      com.yahoo.documentapi.messagebus.protocol.DocumentProtocolPoliciesConfig policiesConfig,
                                      com.yahoo.vespa.config.content.DistributionConfig distributionConfig)
    • Method Detail

      • deconstruct

        public void deconstruct()
        Specified by:
        deconstruct in interface com.yahoo.component.Deconstructable