You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by up...@apache.org on 2007/12/19 07:23:46 UTC

svn commit: r605445 - in /webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse: ./ config/ config/xml/ config/xml/endpoints/ config/xml/endpoints/utils/ core/ core/axis2/ endpoints/ endpoints/dispatch/ mediators/base/ mediators/...

Author: upul
Date: Tue Dec 18 22:23:34 2007
New Revision: 605445

URL: http://svn.apache.org/viewvc?rev=605445&view=rev
Log:
SYNAPSE-202 java docs comments corrections

Modified:
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Command.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/FaultHandler.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/ManagedLifecycle.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Startup.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseConstants.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfiguration.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ConfigurationSerializer.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorFactory.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorSerializer.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TargetFactory.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/XMLConfigurationSerializer.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointAbstractSerializer.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointFactory.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/LoadbalanceAlgorithmFactory.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/WSDL20EndpointBuilder.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/SynapseEnvironment.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2SynapseEnvironment.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/MediatorDeployer.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/Endpoint.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/FailoverEndpoint.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/LoadbalanceEndpoint.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/SALoadbalanceEndpoint.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/WSDLEndpoint.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/Dispatcher.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/HttpSessionDispatcher.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SimpleClientSessionDispatcher.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SoapSessionDispatcher.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SynapseMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/ValidateMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/EIPConstants.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/Target.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/aggregator/AggregateMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/splitter/CloneMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/SwitchMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/HeaderMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/XSLTMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/Registry.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/startup/Task.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/Statistics.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/impl/SequenceStatisticsStack.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/concurrent/SynapseThreadFactory.java

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Command.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Command.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Command.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Command.java Tue Dec 18 22:23:34 2007
@@ -27,8 +27,8 @@
 public interface Command {
 
     /**
-     * Thsi method will be implemented with a set of getters and setters for the command properties
-     * in an implementation of a Command
+     * This method will be implemented with a set of getters and setters for the command properties
+     * in an implementation of a Command.
      */
     public void execute();
 }

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/FaultHandler.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/FaultHandler.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/FaultHandler.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/FaultHandler.java Tue Dec 18 22:23:34 2007
@@ -103,7 +103,7 @@
     }
 
     /**
-     * This will be executed to handle any Exceptions occured within the Synapse environment.
+     * This will be executed to handle any Exceptions occurred within the Synapse environment.
      * @param synCtx SynapseMessageContext of which the fault occured message comprises
      * @throws SynapseException in case there is a failure in the fault execution
      */

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/ManagedLifecycle.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/ManagedLifecycle.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/ManagedLifecycle.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/ManagedLifecycle.java Tue Dec 18 22:23:34 2007
@@ -22,14 +22,14 @@
 import org.apache.synapse.core.SynapseEnvironment;
 
 /**
- * This interface defines all the manged statefull parts of Synapse
- * including the configuration itself
+ * This interface defines all the managed stateful parts of Synapse
+ * including the configuration itself.
  */
 public interface ManagedLifecycle {
 
     /**
      * This method should implement the initialization of the
-     * implemented parts of the configuraiton
+     * implemented parts of the configuration.
      *
      * @param se SynapseEnvironment to be used for initialization
      */
@@ -37,7 +37,7 @@
 
     /**
      * This method should implement the destroying of the
-     * implemented parts of the configuration
+     * implemented parts of the configuration.
      */
     public void destroy();
 }

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java Tue Dec 18 22:23:34 2007
@@ -23,7 +23,7 @@
 
 /**
  * All Synapse mediators must implement this Mediator interface. As a message passes
- * through the synapse system, each mediator's mediate() method is invoked in the
+ * through the Synapse system, each mediator's mediate() method is invoked in the
  * sequence/order defined in the SynapseConfiguration.
  */
 public interface Mediator {

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java Tue Dec 18 22:23:34 2007
@@ -80,7 +80,7 @@
 
     /**
      * Sets the entries to the current context and not to the configuration. This can be
-     * used to focely override an existing set of resources in the configuration, because
+     * used to forcibly override an existing set of resources in the configuration, because
      * the resource lookup will look for the context first. But this only sets the entries
      * to the current context
      * @param entries the set of local entries to be set

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Startup.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Startup.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Startup.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Startup.java Tue Dec 18 22:23:34 2007
@@ -22,7 +22,7 @@
 import javax.xml.namespace.QName;
 
 /**
- * This startup interface will be instatiated to create startup tasks
+ * This startup interface will be instantiated to create startup tasks.
  */
 public interface Startup extends ManagedLifecycle {
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseConstants.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseConstants.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseConstants.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseConstants.java Tue Dec 18 22:23:34 2007
@@ -87,9 +87,9 @@
     public static final String SYNAPSE_HOME = "synapse.home";
     /** The default synapse.properties file path */
     public static final String DEFAULT_PROP_PATH = "synapse.properties";
-    /** The name of the system property used to specify/override the synapse config XML location */
+    /** The name of the system property used to specify/override the Synapse config XML location */
     public static final String SYNAPSE_XML = "synapse.xml";
-    /** The name of the system property used to specify/override the synapse properties location */
+    /** The name of the system property used to specify/override the Synapse properties location */
     public static final String SYNAPSE_PROPERTIES = "synapse.properties";
 
     //- Synapse Message Context Properties -
@@ -170,7 +170,7 @@
         /**
          * Interval for activating the timeout handler for cleaning up expired requests. Note that
          * there can be an error as large as the value of the interval. But for smaller intervals
-         * and larger timeouts this error is negligable.
+         * and larger timeouts this error is negligilble.
          */
         public static final long DEFAULT_TIMEOUT_HANDLER_INTERVAL = 15000;
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfiguration.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfiguration.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfiguration.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfiguration.java Tue Dec 18 22:23:34 2007
@@ -51,7 +51,7 @@
 	Registry registry = null;
 
     /**
-     * This holds the default QName of the configuraiton
+     * This holds the default QName of the configuration.
      */
     private QName defaultQName = null;
 
@@ -76,7 +76,7 @@
     private Properties properties = new Properties();
 
     /**
-     * This will provide the timer deamon object for the sheduled tasks.
+     * This will provide the timer daemon object for the scheduled tasks.
      */
     private Timer synapseTimer = new Timer(true);
 
@@ -116,10 +116,10 @@
 	}
 
 	/**
-	 * Returns the map of defined sequences in the configuraiton excluding the
-	 * fetched sequences from remote registry
+	 * Returns the map of defined sequences in the configuration excluding the
+	 * fetched sequences from remote registry.
 	 *
-	 * @return Map of SequenceMediators defined in the local configuraion
+	 * @return Map of SequenceMediators defined in the local configuration
 	 */
 	public Map getDefinedSequences() {
 		Map definedSequences = new HashMap();
@@ -247,8 +247,8 @@
     }
 
     /**
-	 * Returns the map of defined entries in the configuraiton excluding the
-	 * fetched entries from remote registry
+	 * Returns the map of defined entries in the configuration excluding the
+	 * fetched entries from remote registry.
 	 *
 	 * @return Map of Entries defined in the local configuraion
 	 */
@@ -383,10 +383,10 @@
 	}
 
 	/**
-	 * Returns the map of defined endpoints in the configuraiton excluding the
+	 * Returns the map of defined endpoints in the configuration excluding the
 	 * fetched endpoints from remote registry
 	 *
-	 * @return Map of Endpoints defined in the local configuraion
+	 * @return Map of Endpoints defined in the local configuration
 	 */
 	public Map getDefinedEndpoints() {
 		Map definedEndpoints = new HashMap();
@@ -578,7 +578,7 @@
 	}
 
     /**
-     * Get the default QName of the configuraiton
+     * Get the default QName of the configuration.
      * 
      * @return default QName of the configuration
      */
@@ -633,7 +633,7 @@
     }
 
     /**
-     * Gets the properties to configure the synapse enviorenment
+     * Gets the properties to configure the Synapse environment.
      * 
      * @return set of properties as Properties
      */
@@ -642,7 +642,7 @@
     }
 
     /**
-     * Sets the properties to configure the synapse enviorenment
+     * Sets the properties to configure the Synapse enviornment.
      *
      * @param properties - Properties which needs to be set
      */
@@ -696,7 +696,7 @@
 
     /**
      * This method will be called on the soft shutdown or destroying the configuration
-     * and will destroy all the statefull managed parts of the configuration
+     * and will destroy all the stateful managed parts of the configuration.
      */
     public void destroy() {
         

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ConfigurationSerializer.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ConfigurationSerializer.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ConfigurationSerializer.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ConfigurationSerializer.java Tue Dec 18 22:23:34 2007
@@ -28,12 +28,12 @@
 import org.apache.axiom.om.OMElement;
 
 /**
- * This interface defines the configuration serializers of Synapse
+ * This interface defines the configuration serializers of Synapse.
  */
 public interface ConfigurationSerializer {
 
     /**
-     * Serializes the given configuraiton to an OMElement
+     * Serializes the given configuration to an OMElement.
      *
      * @param synCfg Configuration to be serialized
      * @return OMElement describing the configuraiton

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorFactory.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorFactory.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorFactory.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorFactory.java Tue Dec 18 22:23:34 2007
@@ -34,11 +34,11 @@
 /**
  * The Send mediator factory parses a Send element and creates an instance of the mediator
  *
- * //TODO document endpoints, failover and loadbalacing
+ * //TODO document endpoints, failover and load balacing
  *
  * The <send> element is used to send messages out of Synapse to some endpoint. In the simplest case,
  * the place to send the message to is implicit in the message (via a property of the message itself)-
- * that is indicated by the following
+ * that is indicated by the following:
  * <pre>
  *  &lt;send/&gt;
  * </pre>

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorSerializer.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorSerializer.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorSerializer.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorSerializer.java Tue Dec 18 22:23:34 2007
@@ -30,11 +30,11 @@
 
 /**
  *
- * //TODO document endpoints, failover and loadbalacing
+ * //TODO document endpoints, failover and load balacing
  *
  * The &lt;send&gt; element is used to send messages out of Synapse to some endpoint. In the simplest case,
  * the place to send the message to is implicit in the message (via a property of the message itself)-
- * that is indicated by the following
+ * that is indicated by the following:
  * <pre>
  *  &lt;send/&gt;
  * </pre>

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java Tue Dec 18 22:23:34 2007
@@ -38,7 +38,7 @@
             XMLConfigConstants.NULL_NAMESPACE, "");
 
     /**
-     * order of entries is irrelavant, however its nice to have some order
+     * Order of entries is irrelevant, however its nice to have some order.
      *
      * @param synCfg
      * @throws XMLStreamException

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TargetFactory.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TargetFactory.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TargetFactory.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/TargetFactory.java Tue Dec 18 22:23:34 2007
@@ -103,7 +103,7 @@
     }
 
     /**
-     * This privaet method is used for the exception handling and logging purposes
+     * This private method is used for exception handling and logging purposes.
      *
      * @param message - String message to be logged and the message of the exception
      */

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/XMLConfigurationSerializer.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/XMLConfigurationSerializer.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/XMLConfigurationSerializer.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/XMLConfigurationSerializer.java Tue Dec 18 22:23:34 2007
@@ -47,7 +47,7 @@
     private static final Log log = LogFactory.getLog(XMLConfigurationSerializer.class);
 
     /**
-     * order of entries is irrelavant, however its nice to have some order
+     * Order of entries is irrelevant, however its nice to have some order.
      * @param synCfg
      * @param outputStream
      * @throws XMLStreamException

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointAbstractSerializer.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointAbstractSerializer.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointAbstractSerializer.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointAbstractSerializer.java Tue Dec 18 22:23:34 2007
@@ -23,7 +23,7 @@
 import org.apache.synapse.SynapseException;
 
 /**
- * Abstract serialier for endpoint serializers. Use this class to obtain the EndpointSerializer
+ * Abstract serializer for endpoint serializers. Use this class to obtain the EndpointSerializer
  * implementation for particular endpoint type.
  */
 public class EndpointAbstractSerializer {

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointFactory.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointFactory.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointFactory.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointFactory.java Tue Dec 18 22:23:34 2007
@@ -25,9 +25,9 @@
 
 /**
  * All endpoint factories should implement this interface. Use EndpointAbstractFactory to obtain the
- * correct endpoint fatory for particular endpoint configuration. As endpoints can be nested inside
+ * correct endpoint factory for particular endpoint configuration. As endpoints can be nested inside
  * each other, EndpointFactory implementations may call other EndpointFactory implementations recursively
- * to obtain the required endpoint hierachy.
+ * to obtain the required endpoint hierarchy.
  *
  * This also serves as the XMLToObjactMapper implementation for specific endpoint implementations.
  * If the endpoint type is not known use XMLToEndpointMapper as the generic XMLToObjectMapper for

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/LoadbalanceAlgorithmFactory.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/LoadbalanceAlgorithmFactory.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/LoadbalanceAlgorithmFactory.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/LoadbalanceAlgorithmFactory.java Tue Dec 18 22:23:34 2007
@@ -29,7 +29,7 @@
 import java.util.ArrayList;
 
 /**
- * Factroy of all load balance algorithms. ESBSendMediatorFactroy will use this to create the
+ * Factory of all load balance algorithms. ESBSendMediatorFactroy will use this to create the
  * appropriate algorithm implementation.
  */
 public class LoadbalanceAlgorithmFactory {

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/WSDL20EndpointBuilder.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/WSDL20EndpointBuilder.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/WSDL20EndpointBuilder.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/WSDL20EndpointBuilder.java Tue Dec 18 22:23:34 2007
@@ -36,7 +36,7 @@
 import javax.xml.namespace.QName;
 
 /**
- * Currently this class is not used as woden is dependent on xerces, which is not included in the
+ * Currently this class is not used as Woden is dependent on Xerces, which is not included in the
  * current release.
  *  
  * Builder for WSDL 2.0 endpoints. This class extracts endpoint information from the given WSDL 2.0

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/SynapseEnvironment.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/SynapseEnvironment.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/SynapseEnvironment.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/SynapseEnvironment.java Tue Dec 18 22:23:34 2007
@@ -44,9 +44,9 @@
     public boolean injectMessage(MessageContext smc);
 
     /**
-     * This method injects a new message into the synapse engine for the mediation
+     * This method injects a new message into the Synapse engine for the mediation
      * by the specified sequence. This is used by custom mediation tasks like splitting message
-     * in EIP mediations. This method will do the mediation asynchronouslly using a separate
+     * in EIP mediations. This method will do the mediation asynchronously using a separate
      * thread from the environment thread pool
      *
      * @param smc - Synapse message context to be injected
@@ -71,7 +71,7 @@
     public MessageContext createMessageContext();
 
     /**
-     * This method returns the StatisticsCollector
+     * This method returns the StatisticsCollector.
      *
      * @return Returns the StatisticsCollector
      */

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2SynapseEnvironment.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2SynapseEnvironment.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2SynapseEnvironment.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2SynapseEnvironment.java Tue Dec 18 22:23:34 2007
@@ -203,8 +203,8 @@
 
     /**
      * This method will be used to create a new MessageContext in the Axis2 environment for
-     * synapse. This will set all the relevant parts to the messagecontext, but for this message
-     * context to be usefull creator has to fill in the data like envelope and operation context
+     * Synapse. This will set all the relevant parts to the messagecontext, but for this message
+     * context to be useful creator has to fill in the data like envelope and operation context
      * and so on. This will set a default envelope of type soap12 and a new messageID for the
      * created message along with the ConfigurationContext is being set in to the message
      * correctly.

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/MediatorDeployer.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/MediatorDeployer.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/MediatorDeployer.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/MediatorDeployer.java Tue Dec 18 22:23:34 2007
@@ -63,9 +63,9 @@
     }
 
     /**
-     * This will be called when there is a change in the specified deployement
-     * folder (in the axis2.xml) and this will load the relevant classe to the system and
-     * registeres them with the MediatorFactoryFinder
+     * This will be called when there is a change in the specified deployment
+     * folder (in the axis2.xml) and this will load the relevant classes to the system and
+     * register them with the MediatorFactoryFinder
      *
      * @param deploymentFileData - describes the updated file
      * @throws DeploymentException - in case an error on the deployment
@@ -177,7 +177,7 @@
     }
 
     /**
-     * This will be called when a particulr jar file is deleted from the specified folder
+     * This will be called when a particular jar file is deleted from the specified folder.
      *
      * @param string - filename of the deleted file
      * @throws DeploymentException - incase of an error in undeployment

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java Tue Dec 18 22:23:34 2007
@@ -45,7 +45,7 @@
 /**
  * This is the message receiver that receives the responses for outgoing messages sent out
  * by Synapse. It holds a callbackStore that maps the [unique] messageID of each message to
- * a callback object that gets executed on timeout or when a response is recived (before timeout)
+ * a callback object that gets executed on timeout or when a response is received (before timeout)
  *
  * The AnonymousServiceFactory uses this MessageReceiver for all Anonymous services created by it.
  * This however - effectively - is a singleton class

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java Tue Dec 18 22:23:34 2007
@@ -30,8 +30,8 @@
 import java.util.Stack;
 
 /**
- * This class represents an actual endpoint to send the message. It is resposible for sending the
- * message, performing reries if a failure occured and informing the parent endpoint if a failure
+ * This class represents an actual endpoint to send the message. It is responsible for sending the
+ * message, performing retries if a failure occurred and informing the parent endpoint if a failure
  * couldn't be recovered.
  */
 public class AddressEndpoint extends FaultHandler implements Endpoint {

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/Endpoint.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/Endpoint.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/Endpoint.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/Endpoint.java Tue Dec 18 22:23:34 2007
@@ -22,12 +22,12 @@
 import org.apache.synapse.MessageContext;
 
 /**
- * Endpoint defines the bahavior common to all synapse endpoints. Synapse endpoints should be able
- * to send the given synapse message context, rather than just providing the information for sending
- * the message. The task a particuler endpoint does in its send(...) methis is specific to the endpoint.
- * For example a loadbalance endpoint may choose another endpoint using its loadbalance policy and
- * call its send(...) method while an address endpoint (leaf level) may send the message to a actual
- * endpoint url. Endpoints may contain zero or more endpoints in them and build up a heirachycal
+ * Endpoint defines the behavior common to all Synapse endpoints. Synapse endpoints should be able
+ * to send the given Synapse message context, rather than just providing the information for sending
+ * the message. The task a particular endpoint does in its send(...) method is specific to the endpoint.
+ * For example a loadbalance endpoint may choose another endpoint using its load balance policy and
+ * call its send(...) method while an address endpoint (leaf level) may send the message to an actual
+ * endpoint url. Endpoints may contain zero or more endpoints in them and build up a hierarchical
  * structure of endpoints.
  */
 public interface Endpoint {
@@ -41,7 +41,7 @@
 
     /**
      * Endpoints that contain other endpoints should implement this method. It will be called if a
-     * child endpoint causes an exception. Action to be taken on such failure is upto the implementation.
+     * child endpoint causes an exception. Action to be taken on such failure is up to the implementation.
      * But it is good practice to first try addressing the issue. If it can't be addressed propagate the
      * exception to parent endpoint by calling parent endpoint's onChildEndpointFail(...) method.
      *

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/FailoverEndpoint.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/FailoverEndpoint.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/FailoverEndpoint.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/FailoverEndpoint.java Tue Dec 18 22:23:34 2007
@@ -41,7 +41,7 @@
     private String name = null;
 
     /**
-     * Determine whether this endpoint is active or not. This is active iff all child endpoints of
+     * Determine whether this endpoint is active or not. This is active if all child endpoints of
      * this endpoint is active. This is always loaded from the memory as it could be accessed from
      * multiple threads simultaneously.
      */

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/LoadbalanceEndpoint.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/LoadbalanceEndpoint.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/LoadbalanceEndpoint.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/LoadbalanceEndpoint.java Tue Dec 18 22:23:34 2007
@@ -27,12 +27,12 @@
 
 /**
  * Load balance endpoint can have multiple endpoints. It will route messages according to the
- * specified loadbalance algorithm. This will assume that all immediate child endpoints are identical
+ * specified load balancing algorithm. This will assume that all immediate child endpoints are identical
  * in state (state is replicated) or state is not maintained at those endpoints. If an endpoint is
  * failing, the failed endpoint is marked as inactive and the message to the next endpoint obtained
- * using the loadbalance algorithm. If all the endpoints have failed and the parent endpoint is
- * available, onChildEndpointFail(...) methos of parent endpoint is called. If parent is not
- * avialable, this will call next FaultHandler for the message context.
+ * using the load balancing algorithm. If all the endpoints have failed and the parent endpoint is
+ * available, onChildEndpointFail(...) method of parent endpoint is called. If parent is not
+ * available, this will call next FaultHandler for the message context.
  */
 public class LoadbalanceEndpoint implements Endpoint {
 
@@ -54,8 +54,8 @@
     private LoadbalanceAlgorithm algorithm = null;
 
     /**
-     * Determine whether this endpoint is active or not. This is active iff all child endpoints of
-     * this endpoint is active. This is always loaded from the memory as it could be accessed from
+     * Determine whether this endpoint is active or not. This is active if all child endpoints of
+     * this endpoint are active. This is always loaded from the memory as it could be accessed from
      * multiple threads simultaneously.
      */
     private volatile boolean active = true;

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/SALoadbalanceEndpoint.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/SALoadbalanceEndpoint.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/SALoadbalanceEndpoint.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/SALoadbalanceEndpoint.java Tue Dec 18 22:23:34 2007
@@ -48,7 +48,7 @@
  *
  * This endpoint gets the target endpoint first from the dispatch manager, which will ask all listed
  * dispatchers for a matching session. If a matching session is found it will just invoke the send(...)
- * method of that endpoint. If not it will find an endpoint using the loadbalance policy and send to
+ * method of that endpoint. If not it will find an endpoint using the load balancing policy and send to
  * that endpoint.
  */
 public class SALoadbalanceEndpoint implements Endpoint {

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/WSDLEndpoint.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/WSDLEndpoint.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/WSDLEndpoint.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/WSDLEndpoint.java Tue Dec 18 22:23:34 2007
@@ -32,12 +32,12 @@
 
 /**
  * WSDLEndpoint represents the endpoints built using a wsdl document. It stores the details about
- * the endpoint in a EndpointDefinition object. Once the WSDLEndpoint object is contructed, it should
- * not access the wsdl document at runtime to obtain endpoint information. If it is neccessary to
+ * the endpoint in a EndpointDefinition object. Once the WSDLEndpoint object is constructed, it should
+ * not access the wsdl document at runtime to obtain endpoint information. If it is necessary to
  * create an endpoint using a dynamic wsdl, store the endpoint configuration in the registry and
  * create a dynamic wsdl endpoint using that registry key.
  * <p/>
- * TODO: This should allow variuos policies to be applied on fine grained level (e.g. operations).
+ * TODO: This should allow various policies to be applied on fine grained level (e.g. operations).
  */
 public class WSDLEndpoint extends FaultHandler implements Endpoint {
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/Dispatcher.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/Dispatcher.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/Dispatcher.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/Dispatcher.java Tue Dec 18 22:23:34 2007
@@ -23,8 +23,8 @@
 import org.apache.synapse.MessageContext;
 
 /**
- * Defines the behavior of session dispatchers. There can be two dispatcher types. Server intiated
- * session dispatchers and client initialted session dispatchers. In the former one, server generates
+ * Defines the behavior of session dispatchers. There can be two dispatcher types. Server initiated
+ * session dispatchers and client initiated session dispatchers. In the former one, server generates
  * the session ID and sends it to the client in the first RESPONSE. In the later case, client should
  * generate the session ID and send it to the server in the first REQUEST. A dispatcher object will
  * be created for each session affinity load balance endpoint.
@@ -33,7 +33,7 @@
 
     /**
      * Dispatcher should check the session id pattern in the synapseMessageContext and return the
-     * matching endpoint for that session id, if availabale. If the session id in the given
+     * matching endpoint for that session id, if available. If the session id in the given
      * synapseMessageContext is not found it should return null.
      *
      * @param synCtx client -> esb message context.
@@ -59,7 +59,7 @@
     public void unbind(MessageContext synCtx);
 
     /**
-     * Determine whether the session supported by the implementing dispatcher is intiated by the
+     * Determine whether the session supported by the implementing dispatcher is initiated by the
      * server (e.g. soap session) or by the client. This can be used for optimizing session updates.
      *
      * @return true, if the session is initiated by the server. false, otherwise.

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/HttpSessionDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/HttpSessionDispatcher.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/HttpSessionDispatcher.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/HttpSessionDispatcher.java Tue Dec 18 22:23:34 2007
@@ -40,7 +40,7 @@
     private final static String SET_COOKIE = "Set-Cookie";
     /**
      * Map to store session -> endpoint mappings. Synchronized map is used as this is accessed by
-     * multiple threds (e.g. multiple clients different sessions).
+     * multiple threads (e.g. multiple clients different sessions).
      */
     private final Map sessionMap = Collections.synchronizedMap(new HashMap());
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SimpleClientSessionDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SimpleClientSessionDispatcher.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SimpleClientSessionDispatcher.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SimpleClientSessionDispatcher.java Tue Dec 18 22:23:34 2007
@@ -39,7 +39,7 @@
 
     /**
      * Map to store session -> endpoint mappings. Synchronized map is used as this is accessed by
-     * multiple threds (e.g. multiple clients different sessions).
+     * multiple threads (e.g. multiple clients different sessions).
      */
     private final Map sessionMap = Collections.synchronizedMap(new HashMap());
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SoapSessionDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SoapSessionDispatcher.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SoapSessionDispatcher.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/dispatch/SoapSessionDispatcher.java Tue Dec 18 22:23:34 2007
@@ -33,7 +33,7 @@
 
     /**
      * Map to store session -> endpoint mappings. Synchronized map is used as this is accessed by
-     * multiple threds (e.g. multiple clients different sessions).
+     * multiple threads (e.g. multiple clients different sessions).
      */
     private Map sessionMap = Collections.synchronizedMap(new HashMap());
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java Tue Dec 18 22:23:34 2007
@@ -37,7 +37,7 @@
  * If this instance defines a sequence mediator, then the name is required, and
  * an errorHandler sequence name optional. If this instance refers to another (defined)
  * sequence mediator, the errorHandler will not have a meaning, and if an error in
- * encountered in the reffered sequence, its errorHandler would execute.
+ * encountered in the referred sequence, its errorHandler would execute.
  */
 public class SequenceMediator extends AbstractListMediator {
 
@@ -197,8 +197,8 @@
     }
 
     /**
-     * To get the key which which is used to fick the sequence definition from the local registry
-     * @return  return the key which is used to fick the sequence definition from the local registry
+     * To get the key which is used to pick the sequence definition from the local registry
+     * @return  return the key which is used to pick the sequence definition from the local registry
      */
     public String getKey() {
         return key;

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SynapseMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SynapseMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SynapseMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SynapseMediator.java Tue Dec 18 22:23:34 2007
@@ -28,7 +28,7 @@
 
 /**
  * The SynapseMediator is the "mainmediator" of the synapse engine. It is
- * given each message on arrival at the synapse engine. The synapse configuration
+ * given each message on arrival at the Synapse engine. The Synapse configuration
  * holds a reference to this special mediator instance. The SynapseMediator
  * holds the list of mediators supplied within the <rules> element of an XML
  * based Synapse configuration

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java Tue Dec 18 22:23:34 2007
@@ -48,10 +48,10 @@
 import java.io.IOException;
 
 /**
- * Cacche Mediator will cache the response messages indexed using the hash value of the
+ * CacheMediator will cache the response messages indexed using the hash value of the
  * request message, and subsequent messages with the same request (request hash will be
  * generated and checked for the equality) within the cache expiration period will be served
- * from the stored resposnses in the cache
+ * from the stored responses in the cache
  *
  * @see org.apache.synapse.Mediator
  */

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java Tue Dec 18 22:23:34 2007
@@ -59,8 +59,7 @@
 
     /**
      * Sets a property into the current (local) Synapse Context or into the Axis Message Context
-     * or into Transports Header
-     * And Removes above properties from the corresspounding locations
+     * or into Transports Header and removes above properties from the corresponding locations.
      *
      * @param synCtx the message context
      * @return true always

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java Tue Dec 18 22:23:34 2007
@@ -42,7 +42,7 @@
     private Endpoint endpoint = null;
 
     /**
-     * This will call the send method on the messages with implivit message parameters
+     * This will call the send method on the messages with implicit message parameters
      * or else if there is an endpoint, with that endpoint parameters
      *
      * @param synCtx the current message to be sent

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/ValidateMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/ValidateMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/ValidateMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/ValidateMediator.java Tue Dec 18 22:23:34 2007
@@ -89,7 +89,7 @@
     private final Object validatorLock = new Object();
 
     /**
-     * The SchemaFactory for whcih used to create new schema instance
+     * The SchemaFactory used to create new schema instances.
      */
     private  SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
 
@@ -383,8 +383,8 @@
     }
 
     /**
-     * Get the source XPath which yeilds the source element for validation
-     * @return the XPath which yeilds the source element for validation
+     * Get the source XPath which yields the source element for validation
+     * @return the XPath which yields the source element for validation
      */
     public AXIOMXPath getSource() {
         return source;

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/EIPConstants.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/EIPConstants.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/EIPConstants.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/EIPConstants.java Tue Dec 18 22:23:34 2007
@@ -22,12 +22,12 @@
 /** Holds all the constants related to the eip mediators */
 public final class EIPConstants {
 
-    /** Constant for the corelation property key */
+    /** Constant for the correlation property key */
     public static final String AGGREGATE_CORELATION = "aggregateCorelation";
 
     /** Constant for the message sequence property key */
     public static final String MESSAGE_SEQUENCE = "messageSequence";
 
-    /** Delimeter for the message sequence value */
+    /** Delimiter for the message sequence value */
     public static final String MESSAGE_SEQUENCE_DELEMITER = "/";
 }

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/Target.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/Target.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/Target.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/Target.java Tue Dec 18 22:23:34 2007
@@ -41,7 +41,7 @@
     private String soapAction = null;
 
     /**
-     * Holds the target mediation sequence as an annonymous sequence
+     * Holds the target mediation sequence as an anonymous sequence
      */
     private SequenceMediator sequence = null;
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/aggregator/AggregateMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/aggregator/AggregateMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/aggregator/AggregateMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/aggregator/AggregateMediator.java Tue Dec 18 22:23:34 2007
@@ -56,22 +56,22 @@
     private long timeToInvalidate = 0;
 
     /**
-     * Messages comming to the aggregator will be examined for the existance of a node described
+     * Messages coming to the aggregator will be examined for the existance of a node described
      * in this XPATH and if it contains the XPATH pick that, if not try to find the messageSequence
-     * property for the corelation and if not pass the message through
+     * property for the correlation and if not pass the message through
      */
     private AXIOMXPath corelateExpression = null;
 
     /**
      * This will be used in the complete condition to complete the aggregation after waiting a
-     * specified timeout and send the messages gatherd in the aggregate after aggregation
+     * specified timeout and send the messages gathered in the aggregate after aggregation
      * if there are any messages
      */
     private long completeTimeout = 0;
 
     /**
      * Minimum number of messages required to evaluate the complete condition to true unless the
-     * aggregate has timedout with the provided timeout if there is a one
+     * aggregate has timed out with the provided timeout if there is a one
      */
     private int minMessagesToComplete = -1;
 
@@ -94,12 +94,12 @@
     private String invalidMsgSequenceRef = null;
 
     /**
-     * Sequece which will be called to mediate the invalid messages comming in to aggregator
+     * Sequence which will be called to mediate the invalid messages coming in to aggregator
      */
     private SequenceMediator invalidMsgSequence = null;
 
     /**
-     * This will be used to destroy the aggreagtes which were kept in the expiredAggregates map
+     * This will be used to destroy the aggregates which were kept in the expiredAggregates map
      */
     private long invlidateToDestroyTime = 0;
 
@@ -114,13 +114,13 @@
     private SequenceMediator onCompleteSequence = null;
 
     /**
-     * This will hold the map of active aggragates at any given time
+     * This will hold the map of active aggregates at any given time
      */
     private Map activeAggregates = new HashMap();
 
     /**
      * This will hold the expired aggregates at any given time, these will be cleaned by a timer
-     * task time to time in order to ensure uncontroled growth
+     * task time to time in order to ensure uncontrolled growth
      */
     private Map expiredAggregates = new HashMap();
 
@@ -142,8 +142,8 @@
 
     /**
      * This is the mediate method implementation of the AggregateMediator. And this will aggregate
-     * the messages going through this mediator according to the corelation criteria and the
-     * aggregation algorith specified to it
+     * the messages going through this mediator according to the correlation criteria and the
+     * aggregation algorithm specified to it
      *
      * @param synCtx - MessageContext to be mediated and aggregated
      * @return boolean true if the complete condition for the particular aggregate is validated

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/splitter/CloneMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/splitter/CloneMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/splitter/CloneMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/eip/splitter/CloneMediator.java Tue Dec 18 22:23:34 2007
@@ -40,7 +40,7 @@
 
     /**
      * This variable specifies whether to continue the parent message (i.e. message which is
-     * sbjuected to cloning) or not
+     * subjected to cloning) or not
      */
     private boolean continueParent = false;
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/SwitchMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/SwitchMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/SwitchMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/SwitchMediator.java Tue Dec 18 22:23:34 2007
@@ -30,7 +30,7 @@
 import java.util.List;
 
 /**
- * The switch mediator implements the functionality of the "switch" contruct. It first
+ * The switch mediator implements the functionality of the "switch" construct. It first
  * evaluates the given XPath expression into a String value, and performs a match against
  * the given list of cases. This is actually a list of sequences, and depending on the
  * selected case, the selected sequence gets executed.

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/HeaderMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/HeaderMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/HeaderMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/HeaderMediator.java Tue Dec 18 22:23:34 2007
@@ -42,7 +42,7 @@
  * header from the current message instance. This supports the headers currently
  * supported by the HeaderType class. If an expression is supplied, its runtime value
  * is evaluated using the current message. Unless the action is set to remove, the
- * default behaviour of this mediator is to set a header value.
+ * default behavior of this mediator is to set a header value.
  */
 public class HeaderMediator extends AbstractMediator {
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/XSLTMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/XSLTMediator.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/XSLTMediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/XSLTMediator.java Tue Dec 18 22:23:34 2007
@@ -62,7 +62,7 @@
 
 /**
  * The XSLT mediator performs an XSLT transformation requested, using
- * the current message. The source attribute (if available) spcifies the source element
+ * the current message. The source attribute (if available) specifies the source element
  * on which the transformation would be applied. It will default to the first child of
  * the messages' SOAP body, if it is omitted.
  *
@@ -95,7 +95,7 @@
     private String sourceXPathString = null;
 
     /**
-     * The (optional) XPath expression which yeilds the source element for a transformation
+     * The (optional) XPath expression which yields the source element for a transformation
      */
     private AXIOMXPath source = null;
 

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/Registry.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/Registry.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/Registry.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/Registry.java Tue Dec 18 22:23:34 2007
@@ -68,7 +68,7 @@
     public RegistryEntry[] getChildren(RegistryEntry entry);
 
     /**
-     * Returns all decendant entries of the given registry entry
+     * Returns all descendant entries of the given registry entry
      * @param entry - parent registry entry
      * @return Array of decendant registry entries of the given registry entry
      */

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/startup/Task.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/startup/Task.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/startup/Task.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/startup/Task.java Tue Dec 18 22:23:34 2007
@@ -20,12 +20,12 @@
 package org.apache.synapse.startup;
 
 /**
- * Defines the Task for a SimpleQuarts Startup
+ * Defines the Task for a SimpleQuartzStartup.
  */
 public interface Task {
 
     /**
-     * Esecute method will be invoked by the SimpleQuartzStartup
+     * Execute method will be invoked by the SimpleQuartzStartup.
      */
     public void execute();
 }

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/Statistics.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/Statistics.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/Statistics.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/Statistics.java Tue Dec 18 22:23:34 2007
@@ -24,13 +24,13 @@
 
 public class Statistics {
 
-    /**  Maximum Processing time for a one way flow  */
+    /**  Maximum processing time for a one way flow  */
     private long maxProcessingTime = 0;
-    /** Minmum Processing time for a one way flow   */
+    /** Minimum processing time for a one way flow   */
     private long minProcessingTime = -1;
-    /** Avarage Processing time for a one way flow */
+    /** Average processing time for a one way flow */
     private double avgProcessingTime = 0;
-    /** Total Processing time for a one way flow  */
+    /** Total processing time for a one way flow  */
     private double totalProcessingTime;
     /** The number of access count for a one way flow  */
     private int count = 0;

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/impl/SequenceStatisticsStack.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/impl/SequenceStatisticsStack.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/impl/SequenceStatisticsStack.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/impl/SequenceStatisticsStack.java Tue Dec 18 22:23:34 2007
@@ -32,7 +32,7 @@
 
 public class SequenceStatisticsStack implements StatisticsStack {
 
-    /** The list to hols SequenceStatistics */
+    /** The list to hold SequenceStatistics */
     private List sequenceStatisticsList = new ArrayList();
 
     /**

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/concurrent/SynapseThreadFactory.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/concurrent/SynapseThreadFactory.java?rev=605445&r1=605444&r2=605445&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/concurrent/SynapseThreadFactory.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/concurrent/SynapseThreadFactory.java Tue Dec 18 22:23:34 2007
@@ -23,8 +23,8 @@
 import java.util.concurrent.ThreadFactory;
 
 /**
- * This is the thread factory for Synapse threads which are accessibal through the
- * SynapseEnvironment as pooled threads
+ * This is the thread factory for Synapse threads which are accessible through the
+ * SynapseEnvironment as pooled threads.
  */
 public class SynapseThreadFactory implements ThreadFactory {
 



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org