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
    • 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.config.DocumentmanagerConfig docManConfig, DocprocConfig docprocConfig, com.yahoo.container.core.document.ContainerDocumentConfig containerDocConfig, com.yahoo.statistics.Statistics manager, com.yahoo.jdisc.Metric metric)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void destroy()  
      com.yahoo.processing.execution.chain.ChainRegistry<DocumentProcessor> getChains()  
      com.yahoo.component.provider.ComponentRegistry<DocprocService> getDocprocServiceRegistry()  
      com.yahoo.document.DocumentTypeManager getDocumentTypeManager()  
      com.yahoo.jdisc.handler.ContentChannel handleRequest​(com.yahoo.jdisc.Request request, com.yahoo.jdisc.handler.ResponseHandler handler)  
      • Methods inherited from class com.yahoo.jdisc.handler.AbstractRequestHandler

        handleTimeout
      • Methods inherited from class com.yahoo.jdisc.AbstractResource

        currentState, refer, release, retainCount
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.yahoo.jdisc.SharedResource

        refer, release
    • 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.config.DocumentmanagerConfig docManConfig,
                                         DocprocConfig docprocConfig,
                                         com.yahoo.container.core.document.ContainerDocumentConfig containerDocConfig,
                                         com.yahoo.statistics.Statistics manager,
                                         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()