You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by as...@apache.org on 2009/03/09 18:12:58 UTC

svn commit: r751768 - /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractMediatorFactory.java

Author: asankha
Date: Mon Mar  9 17:12:57 2009
New Revision: 751768

URL: http://svn.apache.org/viewvc?rev=751768&view=rev
Log:
commit patch for Synapse-516 from Eric

Modified:
    synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractMediatorFactory.java

Modified: synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractMediatorFactory.java
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractMediatorFactory.java?rev=751768&r1=751767&r2=751768&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractMediatorFactory.java (original)
+++ synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractMediatorFactory.java Mon Mar  9 17:12:57 2009
@@ -66,11 +66,27 @@
     }
 
     /**
-     * This is to Initialize the mediator with the default attributes
+     * This is to Initialize the mediator with the default attributes.
+     * 
+     * @deprecated This method is deprecated. As of Synapse 1.3, please use
+     *             {@link #processAuditStatus(Mediator, OMElement)}
      *
      * @param mediator of which trace state has to be set
      * @param mediatorOmElement from which the trace state is extracted
      */
+    @Deprecated
+    protected void processTraceState(Mediator mediator, OMElement mediatorOmElement) {
+        processAuditStatus(mediator, mediatorOmElement);
+    }
+    
+    /**
+     * This is to Initialize the mediator regarding tracing and statistics.
+     *
+     * @param mediator of which trace state has to be set
+     * @param mediatorOmElement from which the trace state is extracted
+     * 
+     * @since 1.3
+     */
     protected void processAuditStatus(Mediator mediator, OMElement mediatorOmElement) {
 
         OMAttribute trace = mediatorOmElement.getAttribute(