Class DocumentAccessProvider
java.lang.Object
com.yahoo.container.core.documentapi.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 that forwards to a MessageBusDocumentAccess be injected in containers.
- Author:
- jonmv
-
Constructor Summary
ConstructorDescriptionDocumentAccessProvider
(com.yahoo.document.config.DocumentmanagerConfig documentmanagerConfig, com.yahoo.messagebus.MessagebusConfig messagebusConfig) -
Method Summary
-
Constructor Details
-
DocumentAccessProvider
@Inject public DocumentAccessProvider(com.yahoo.document.config.DocumentmanagerConfig documentmanagerConfig, com.yahoo.messagebus.MessagebusConfig messagebusConfig)
-
-
Method Details
-
get
- Specified by:
get
in interfacecom.yahoo.container.di.componentgraph.Provider<VespaDocumentAccess>
-
deconstruct
public void deconstruct()- Specified by:
deconstruct
in interfacecom.yahoo.component.Deconstructable
-