summaryrefslogtreecommitdiffstats
path: root/application/src
diff options
context:
space:
mode:
Diffstat (limited to 'application/src')
-rw-r--r--application/src/main/java/com/yahoo/application/container/DocumentProcessing.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/src/main/java/com/yahoo/application/container/DocumentProcessing.java b/application/src/main/java/com/yahoo/application/container/DocumentProcessing.java
index f86c11d431c..f89e79c4cfa 100644
--- a/application/src/main/java/com/yahoo/application/container/DocumentProcessing.java
+++ b/application/src/main/java/com/yahoo/application/container/DocumentProcessing.java
@@ -59,8 +59,10 @@ public final class DocumentProcessing {
* @return Progress.DONE or Progress.FAILED
* @throws RuntimeException if one of the document processors in the chain throws, or if the calling thread is interrupted
*/
+ @SuppressWarnings("removal") // TODO Vespa 8: remove
public DocumentProcessor.Progress process(ComponentSpecification chain, com.yahoo.docproc.Processing processing) {
DocprocExecutor executor = getExecutor(chain);
+ // TODO Vespa 8: Use TBD instead, this method will be removed
processing.setDocprocServiceRegistry(handler.getDocprocServiceRegistry());
return executor.processUntilDone(processing);
}
@@ -78,12 +80,15 @@ public final class DocumentProcessing {
* @return any Progress
* @throws RuntimeException if one of the document processors in the chain throws
*/
+ @SuppressWarnings("removal") // TODO Vespa 8: remove
public DocumentProcessor.Progress processOnce(ComponentSpecification chain, com.yahoo.docproc.Processing processing) {
DocprocExecutor executor = getExecutor(chain);
+ // TODO Vespa 8: Use TBD instead, this method will be removed
processing.setDocprocServiceRegistry(handler.getDocprocServiceRegistry());
return executor.process(processing);
}
+ @SuppressWarnings("removal") // TODO Vespa 8: remove
private DocprocExecutor getExecutor(ComponentSpecification chain) {
DocprocService service = handler.getDocprocServiceRegistry().getComponent(chain);
if (service == null) {