Class DocumentProcessingHandler

  • All Implemented Interfaces:
    com.yahoo.jdisc.handler.RequestHandler, com.yahoo.jdisc.SharedResource

    public class DocumentProcessingHandler
    extends com.yahoo.jdisc.handler.AbstractRequestHandler
    TODO: Javadoc
    Author:
    Einar M R Rosenvinge
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.yahoo.jdisc.SharedResource

        com.yahoo.jdisc.SharedResource.Debug
    • Field Summary

      • Fields inherited from interface com.yahoo.jdisc.SharedResource

        DEBUG, SYSTEM_PROPERTY_NAME_DEBUG
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentProcessingHandler​(com.yahoo.component.provider.ComponentRegistry<DocumentProcessor> documentProcessorComponentRegistry, com.yahoo.component.provider.ComponentRegistry<AbstractConcreteDocumentFactory> docFactoryRegistry, com.yahoo.container.core.ChainsConfig chainsConfig, SchemamappingConfig mappingConfig, com.yahoo.document.DocumentTypeManager documentTypeManager, DocprocConfig docprocConfig, com.yahoo.container.core.document.ContainerDocumentConfig containerDocConfig, com.yahoo.jdisc.Metric metric)  
    • Constructor Detail

      • DocumentProcessingHandler

        @Inject
        public DocumentProcessingHandler​(com.yahoo.component.provider.ComponentRegistry<DocumentProcessor> documentProcessorComponentRegistry,
                                         com.yahoo.component.provider.ComponentRegistry<AbstractConcreteDocumentFactory> docFactoryRegistry,
                                         com.yahoo.container.core.ChainsConfig chainsConfig,
                                         SchemamappingConfig mappingConfig,
                                         com.yahoo.document.DocumentTypeManager documentTypeManager,
                                         DocprocConfig docprocConfig,
                                         com.yahoo.container.core.document.ContainerDocumentConfig containerDocConfig,
                                         com.yahoo.jdisc.Metric metric)
    • Method Detail

      • destroy

        protected void destroy()
        Overrides:
        destroy in class com.yahoo.jdisc.AbstractResource
      • getDocprocServiceRegistry

        public com.yahoo.component.provider.ComponentRegistry<DocprocService> getDocprocServiceRegistry()
      • getChains

        public com.yahoo.processing.execution.chain.ChainRegistry<DocumentProcessor> getChains()
      • handleRequest

        public com.yahoo.jdisc.handler.ContentChannel handleRequest​(com.yahoo.jdisc.Request request,
                                                                    com.yahoo.jdisc.handler.ResponseHandler handler)
      • getDocumentTypeManager

        public com.yahoo.document.DocumentTypeManager getDocumentTypeManager()