Title: [1016] trunk/core/src/main/java/org/servicemix/jbi/audit/lucene/LuceneAuditor.java: Calling Start/Stop for delegated auditor
Revision
1016
Author
gastaldi
Date
2005-12-06 07:23:59 -0500 (Tue, 06 Dec 2005)

Log Message

Calling Start/Stop for delegated auditor

Modified Paths


Diff

Modified: trunk/core/src/main/java/org/servicemix/jbi/audit/lucene/LuceneAuditor.java (1015 => 1016)

--- trunk/core/src/main/java/org/servicemix/jbi/audit/lucene/LuceneAuditor.java	2005-12-06 11:04:51 UTC (rev 1015)
+++ trunk/core/src/main/java/org/servicemix/jbi/audit/lucene/LuceneAuditor.java	2005-12-06 12:23:59 UTC (rev 1016)
@@ -65,8 +65,14 @@
 		if (delegatedAuditor == null) {
 			throw new JBIException("A delegated auditor must be provided");
 		}
+		this.delegatedAuditor.start();
 	}
 	
+	protected void doStop() throws JBIException {
+		super.doStop();
+		this.delegatedAuditor.stop();
+	}
+	
 	/**
 	 * @return Returns the luceneIndexer.
 	 */

Reply via email to