Class DocumentAccessProvider

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

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

      • Fields inherited from class com.yahoo.component.AbstractComponent

        isDeconstructable
    • Constructor Summary

      Constructors 
      Constructor Description
      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)  
    • 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
        Overrides:
        deconstruct in class com.yahoo.component.AbstractComponent