ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chamik...@apache.org
Subject svn commit: r348910 - in /webservices/sandesha/trunk/src/org/apache/sandesha2: ./ handlers/ msgprocessors/ policy/ storage/ storage/beanmanagers/ storage/beans/ storage/inmemory/ util/ workers/ wsrm/
Date Fri, 25 Nov 2005 08:22:34 GMT
Author: chamikara
Date: Fri Nov 25 00:20:27 2005
New Revision: 348910

URL: http://svn.apache.org/viewcvs?rev=348910&view=rev
Log:
Added some javadoc comments

Modified:
    webservices/sandesha/trunk/src/org/apache/sandesha2/AcknowledgementManager.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/FaultData.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/RMMsgContext.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/SOAPFaultEnvelopeCreator.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaDynamicProperties.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaException.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/TerminateManager.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaGlobalInHandler.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaInHandler.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/AcknowledgementProcessor.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqMsgProcessor.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqResponseMsgProcessor.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessor.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessorFactory.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/TerminateSeqMsgProcessor.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/policy/RMPolicyBean.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/StorageManager.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/Transaction.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/InvokerBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RMBeanManager.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SenderBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SequencePropertyBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/InvokerBean.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SenderBean.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SequencePropertyBean.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryCreateSeqBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryInvokerBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryNextMsgBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemorySequencePropertyBeanMgr.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultManager.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/MessageRetransmissionAdjuster.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/MsgInitializer.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/PropertyManager.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMPolicyManager.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaPropertyBean.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/SequenceManager.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/workers/InOrderInvoker.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/AckRequested.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequence.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequenceResponse.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMElement.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMPart.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceAcknowledgement.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceFault.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/TerminateSequence.java

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/AcknowledgementManager.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/AcknowledgementManager.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/AcknowledgementManager.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/AcknowledgementManager.java Fri Nov 25 00:20:27 2005
@@ -33,11 +33,19 @@
 import org.apache.sandesha2.wsrm.SequenceAcknowledgement;
 
 /**
+ * Contains logic for managing acknowledgements.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
 public class AcknowledgementManager {
 
+	/**
+	 * Piggybacks any available acks of the same sequence to the given application message.
+	 * 
+	 * @param applicationRMMsgContext
+	 * @throws SandeshaException
+	 */
 	public static void piggybackAckIfPresent(
 			RMMsgContext applicationRMMsgContext) throws SandeshaException {
 		ConfigurationContext configurationContext = applicationRMMsgContext

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java Fri Nov 25 00:20:27 2005
@@ -18,6 +18,9 @@
 package org.apache.sandesha2;
 
 /**
+ * Contains all the Constants of Sandesha2.
+ * Please see sub-interfaces to see grouped data.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Jaliya Ekanayaka <jaliya@opensource.lk>
@@ -300,7 +303,7 @@
 		
 		public interface DefaultValues {
 			
-			int RetransmissionInterval = 10000;
+			int RetransmissionInterval = 20000;
 			
 			int AcknowledgementInterval = 4000;
 			
@@ -312,7 +315,6 @@
 			
 			String StorageManager = "org.apache.sandesha2.storage.inmemory.InMemoryStorageManager";
 		}
-		
 	}
 	
 	//TODO remove following three

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/FaultData.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/FaultData.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/FaultData.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/FaultData.java Fri Nov 25 00:20:27 2005
@@ -20,6 +20,8 @@
 import org.apache.axis2.om.OMElement;
 
 /**
+ * Used to hold data related to a RM Fault.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/RMMsgContext.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/RMMsgContext.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/RMMsgContext.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/RMMsgContext.java Fri Nov 25 00:20:27 2005
@@ -34,6 +34,10 @@
 import org.apache.sandesha2.wsrm.IOMRMPart;
 
 /**
+ * This class is used to hold a MessageContext within Sandesha. This is used to
+ * easily manupilate the properties of a MessageContext.
+ * 
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Jaliya Ekanayaka <jaliya@opensource.lk>
@@ -59,10 +63,14 @@
 	public RMMsgContext(MessageContext ctx) {
 		this();
 		this.msgContext = ctx;
-
-		//MsgInitializer.populateRMMsgContext(ctx,this);
 	}
 
+	/**
+	 * To add a new SOAP envelope to the message. The generated envelope will belong 
+	 * to the SOAP version of the MessageContext.
+	 * 
+	 * @throws SandeshaException
+	 */
 	public void addSOAPEnvelope() throws SandeshaException {
 		int SOAPVersion = Constants.SOAPVersion.v1_1;
 
@@ -91,11 +99,26 @@
 		return messageType;
 	}
 
+	
+	/**
+	 * The message type can be used to easily identify what this message is.
+	 * Possible message types are given in the Constnts.MessageTypes interface.
+	 * 
+	 * @param msgType
+	 */
 	public void setMessageType(int msgType) {
 		if (msgType >= 0 && msgType <= Constants.MessageTypes.MAX_MESSAGE_TYPE)
 			this.messageType = msgType;
 	}
 
+	
+	/**
+	 * Sets an IRMPart object to the MessageContext. Possible parts are give in the 
+	 * 
+	 * 
+	 * @param partId
+	 * @param part
+	 */
 	public void setMessagePart(int partId, IOMRMPart part) {
 		if (partId >= 0 && partId <= Constants.MessageParts.MAX_MSG_PART_ID)
 			rmMessageParts.put(new Integer(partId), part);

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/SOAPFaultEnvelopeCreator.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/SOAPFaultEnvelopeCreator.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/SOAPFaultEnvelopeCreator.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/SOAPFaultEnvelopeCreator.java Fri Nov 25 00:20:27 2005
@@ -37,11 +37,23 @@
 import org.apache.sandesha2.wsrm.SequenceFault;
 
 /**
+ * Used to create an SOAP Envelope for a RM Related Fault.
+ * Support both SOAP 1.1 and SOAP 1.2 encoding.
+ * 
+ * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
 public class SOAPFaultEnvelopeCreator {
 
+	/**
+	 * Adding the SOAP Fault Envelope. 
+	 * 
+	 * @param faultMsgContext
+	 * @param SOAPVersion
+	 * @param faultData
+	 * @throws SandeshaException
+	 */
 	public static void addSOAPFaultEnvelope(MessageContext faultMsgContext,
 			int SOAPVersion, FaultData faultData) throws SandeshaException {
 
@@ -61,6 +73,13 @@
 
 	}
 
+	/**
+	 * To find out weather this is a sequence fault. These faults are handeled differently 
+	 * accodting to the RM spec.
+	 * 
+	 * @param faultData
+	 * @return
+	 */
 	private static boolean isSequenceFault(FaultData faultData) {
 
 		boolean sequenceFault = false;
@@ -80,6 +99,13 @@
 
 	}
 
+	/**
+	 * Adding the SequenceFault header. Only for Sequence faults.
+	 * 
+	 * @param faultMessageContext
+	 * @param faultData
+	 * @param factory
+	 */
 	private static void addSequenceFaultHeader(
 			MessageContext faultMessageContext, FaultData faultData,
 			SOAPFactory factory) {
@@ -91,6 +117,13 @@
 		sequenceFault.setFaultCode(faultCode);
 	}
 
+	/**
+	 * Building the envelope with SOAP 1.1
+	 * 
+	 * @param faultMsgContext
+	 * @param data
+	 * @throws SandeshaException
+	 */
 	private static void doSOAP11Encoding(MessageContext faultMsgContext,
 			FaultData data) throws SandeshaException {
 
@@ -129,6 +162,14 @@
 
 	}
 
+	
+	/**
+	 * Building the envelope with SOAP 1.2
+	 * 
+	 * @param faultMsgContext
+	 * @param data
+	 * @throws SandeshaException
+	 */
 	private static void doSOAP12Encoding(MessageContext faultMsgContext,
 			FaultData data) throws SandeshaException {
 		//MessageContext faultMsgCtx = faultRMMsgContext.getMessageContext();

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaDynamicProperties.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaDynamicProperties.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaDynamicProperties.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaDynamicProperties.java Fri Nov 25 00:20:27 2005
@@ -19,6 +19,7 @@
 import org.apache.sandesha2.policy.RMPolicyBean;
 
 /**
+ * Unused class - TODO remove this
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaException.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaException.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaException.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaException.java Fri Nov 25 00:20:27 2005
@@ -20,11 +20,12 @@
 import org.apache.axis2.AxisFault;
 
 /**
+ * Exception class of Sandesa2.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */
 
-//FIXME - extends AxisFault and clean code (remove unnecessary try-catches )
 public class SandeshaException extends AxisFault  {
 
 	public SandeshaException (String message) {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java Fri Nov 25 00:20:27 2005
@@ -22,24 +22,23 @@
 import org.apache.axis2.modules.Module;
 
 /**
+ * The Module class of Sandesha2.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
 public class SandeshaModule implements Module {
 
-	//private InOrderInvoker inorderInvoker = new InOrderInvoker ();
 
 	// initialize the module
 	public void init(AxisConfiguration axisSystem) throws AxisFault {
 
-		//Start invoker thread
-		//axisSystem.get
-		//inorderInvoker.start();
 
 	}
 
 	// shutdown the module
 	public void shutdown(AxisConfiguration axisSystem) throws AxisFault {
-		//inorderInvoker.stopWork();
+
 	}
+	
 }

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/TerminateManager.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/TerminateManager.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/TerminateManager.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/TerminateManager.java Fri Nov 25 00:20:27 2005
@@ -36,11 +36,23 @@
 import org.apache.sandesha2.util.SandeshaUtil;
 
 /**
+ * Contains logic to remove all the storad data of a sequence.
+ * Methods of this are called by sending side and the receiving side when appropriate
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
 public class TerminateManager {
 
+	/**
+	 * Called by the receiving side to remove data related to a sequence.
+	 * e.g. After sending the TerminateSequence message. Calling this methods will complete all
+	 * the data if InOrder invocation is not sequired.
+	 * 
+	 * @param configContext
+	 * @param sequenceID
+	 * @throws SandeshaException
+	 */
 	public static void terminateReceivingSide (ConfigurationContext configContext, String sequenceID) throws SandeshaException {
 		StorageManager storageManager = SandeshaUtil.getSandeshaStorageManager(configContext);
 		NextMsgBeanMgr nextMsgBeanMgr = storageManager.getNextMsgBeanMgr();
@@ -61,6 +73,14 @@
 
 	}
 	
+	/**
+	 * When InOrder invocation is anabled this had to be called to clean the data left by the 
+	 * above method. This had to be called after the Invocation of the Last Message.
+	 * 
+	 * @param configContext
+	 * @param sequenceID
+	 * @throws SandeshaException
+	 */
 	public static void terminateAfterInvocation (ConfigurationContext configContext, String sequenceID) throws SandeshaException {
 		StorageManager storageManager = SandeshaUtil.getSandeshaStorageManager(configContext);
 		SequencePropertyBeanMgr sequencePropertyBeanMgr = storageManager.getSequencePropretyBeanMgr();
@@ -105,6 +125,15 @@
 		return false;
 	}
 	
+	
+	/**
+	 * This is called by the sending side to clean data related to a sequence.
+	 * e.g. after sending the TerminateSequence message.
+	 * 
+	 * @param configContext
+	 * @param sequenceID
+	 * @throws SandeshaException
+	 */
 	public static void terminateSendingSide (ConfigurationContext configContext, String sequenceID) throws SandeshaException {
 		StorageManager storageManager = SandeshaUtil.getSandeshaStorageManager(configContext);
 		SequencePropertyBeanMgr sequencePropertyBeanMgr = storageManager.getSequencePropretyBeanMgr();

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaGlobalInHandler.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaGlobalInHandler.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaGlobalInHandler.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaGlobalInHandler.java Fri Nov 25 00:20:27 2005
@@ -44,6 +44,9 @@
 import org.apache.sandesha2.wsrm.Sequence;
 
 /**
+ * The Global handler of Sandesha2. This is used to perform things that should be done before
+ * diapatching such as duplicate detection.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaInHandler.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaInHandler.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaInHandler.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaInHandler.java Fri Nov 25 00:20:27 2005
@@ -38,6 +38,9 @@
 import org.apache.sandesha2.util.SandeshaUtil;
 
 /**
+ * This is invoked in the inFlow of an RM endpoint. This is responsible for selecting an suitable
+ * message processor and letting it process the message.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java Fri Nov 25 00:20:27 2005
@@ -64,6 +64,8 @@
 import org.apache.wsdl.WSDLConstants;
 
 /**
+ * This is invoked in the outFlow of an RM endpoint
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/AcknowledgementProcessor.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/AcknowledgementProcessor.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/AcknowledgementProcessor.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/AcknowledgementProcessor.java Fri Nov 25 00:20:27 2005
@@ -38,6 +38,8 @@
 import org.apache.sandesha2.wsrm.SequenceAcknowledgement;
 
 /**
+ * Responsible for processing an incoming acknowledgement message.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java Fri Nov 25 00:20:27 2005
@@ -63,6 +63,8 @@
 import org.apache.wsdl.WSDLConstants;
 
 /**
+ * Responsible for processing an incoming Application message.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqMsgProcessor.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqMsgProcessor.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqMsgProcessor.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqMsgProcessor.java Fri Nov 25 00:20:27 2005
@@ -42,6 +42,8 @@
 import org.apache.sandesha2.wsrm.SequenceOffer;
 
 /**
+ * Responsible for processing an incoming Create Sequence message.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqResponseMsgProcessor.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqResponseMsgProcessor.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqResponseMsgProcessor.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/CreateSeqResponseMsgProcessor.java Fri Nov 25 00:20:27 2005
@@ -48,6 +48,8 @@
 import javax.xml.namespace.QName;
 
 /**
+ * Responsible for processing an incoming Create Sequence Response message.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessor.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessor.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessor.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessor.java Fri Nov 25 00:20:27 2005
@@ -21,6 +21,8 @@
 import org.apache.sandesha2.SandeshaException;
 
 /**
+ * The message processor interface.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessorFactory.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessorFactory.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessorFactory.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/MsgProcessorFactory.java Fri Nov 25 00:20:27 2005
@@ -20,6 +20,8 @@
 import org.apache.sandesha2.Constants;
 
 /**
+ * Used to get a suitable message processor. Given the message type.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/TerminateSeqMsgProcessor.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/TerminateSeqMsgProcessor.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/TerminateSeqMsgProcessor.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/msgprocessors/TerminateSeqMsgProcessor.java Fri Nov 25 00:20:27 2005
@@ -34,6 +34,8 @@
 import org.apache.sandesha2.wsrm.TerminateSequence;
 
 /**
+ * Responsible for processing an incoming Terminate Sequence message.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/policy/RMPolicyBean.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/policy/RMPolicyBean.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/policy/RMPolicyBean.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/policy/RMPolicyBean.java Fri Nov 25 00:20:27 2005
@@ -16,6 +16,8 @@
 
 
 /**
+ * Used to hold RM Policy information.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/StorageManager.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/StorageManager.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/StorageManager.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/StorageManager.java Fri Nov 25 00:20:27 2005
@@ -25,6 +25,8 @@
 import org.apache.sandesha2.storage.beanmanagers.InvokerBeanMgr;
 
 /**
+ * Storage managers should extend this.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/Transaction.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/Transaction.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/Transaction.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/Transaction.java Fri Nov 25 00:20:27 2005
@@ -18,6 +18,8 @@
 package org.apache.sandesha2.storage;
 
 /**
+ * Transaction implementations should extend this.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -23,6 +23,8 @@
 import org.apache.sandesha2.storage.beans.CreateSeqBean;
 
 /**
+ * This is used to manage CreateSequence beans.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/InvokerBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/InvokerBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/InvokerBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/InvokerBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -22,6 +22,8 @@
 import org.apache.sandesha2.storage.beans.InvokerBean;
 
 /**
+ * Used to manage invoker beans.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -22,6 +22,8 @@
 import org.apache.sandesha2.storage.beans.NextMsgBean;
 
 /**
+ * Used to manage NextMsg beans.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RMBeanManager.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RMBeanManager.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RMBeanManager.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RMBeanManager.java Fri Nov 25 00:20:27 2005
@@ -18,6 +18,8 @@
 package org.apache.sandesha2.storage.beanmanagers;
 
 /**
+ * 
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SenderBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SenderBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SenderBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SenderBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -23,6 +23,8 @@
 import org.apache.sandesha2.storage.beans.SenderBean;
 
 /**
+ * Used to manage Sender beans.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SequencePropertyBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SequencePropertyBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SequencePropertyBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/SequencePropertyBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -22,6 +22,8 @@
 import org.apache.sandesha2.storage.beans.SequencePropertyBean;
 
 /**
+ * Used to manage Sequence Property beans.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java Fri Nov 25 00:20:27 2005
@@ -18,19 +18,37 @@
 package org.apache.sandesha2.storage.beans;
 
 /**
+ * This bean is used at the sending side (of both server and client)
+ * There is on object of this for each sequence.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */
 
 public class CreateSeqBean implements RMBean {
+	
+	/**
+	 * Comment for <code>internalSequenceId</code>
+	 * This property is a unique identifier that can be used to identify the messages of a certain sequence.
+	 * This is specially used by the sending side, since sequence id is not available in the begining.
+	 * For the client side, indernal sequence id is a concantination of wsa:To and SEQUENCE_KEY (SEQUENCE_KEY can be set as a property).
+	 * For the server side, this is the sequenceId of the incoming sequence.
+	 */
 	private String internalSequenceId;
 
+	/**
+	 * Comment for <code>CreateSeqMsgId</code>
+	 * This is the message ID of the create sequence message.
+	 */
 	private String CreateSeqMsgId;
 
+	/**
+	 * Comment for <code>SequenceId</code>
+	 * This is the actual Sequence ID of the sequence.
+	 */
 	private String SequenceId;
 
 	public CreateSeqBean() {
-
 	}
 
 	public CreateSeqBean(String internalSeqId, String CreateSeqMsgId,
@@ -40,32 +58,18 @@
 		this.SequenceId = sequenceId;
 	}
 
-	/**
-	 * @return Returns the createSeqMsgId.
-	 */
 	public String getCreateSeqMsgId() {
 		return CreateSeqMsgId;
 	}
 
-	/**
-	 * @param createSeqMsgId
-	 *            The createSeqMsgId to set.
-	 */
 	public void setCreateSeqMsgId(String createSeqMsgId) {
 		CreateSeqMsgId = createSeqMsgId;
 	}
 
-	/**
-	 * @return Returns the sequenceId.
-	 */
 	public String getSequenceId() {
 		return SequenceId;
 	}
 
-	/**
-	 * @param sequenceId
-	 *            The sequenceId to set.
-	 */
 	public void setSequenceId(String sequenceId) {
 		SequenceId = sequenceId;
 	}

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/InvokerBean.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/InvokerBean.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/InvokerBean.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/InvokerBean.java Fri Nov 25 00:20:27 2005
@@ -18,18 +18,38 @@
 package org.apache.sandesha2.storage.beans;
 
 /**
+ * This bean is used at the receiving side (of both server and client)
+ * There is one object for each application message to be invoked.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */
 
 public class InvokerBean implements RMBean {
 
+	/**
+	 * Comment for <code>Key</code>
+	 * 
+	 * This is the key that is obtained after saving a message context in a storage.
+	 */
 	private String Key;
 
+	/**
+	 * Comment for <code>MsgNo</code>
+	 * The message number of the message.
+	 */
 	private long MsgNo;
 
+	/**
+	 * Comment for <code>sequenceId</code>
+	 * The sequence ID of the sequence the message belong to.
+	 */
 	private String sequenceId;
 	
+	/**
+	 * Comment for <code>invoked</code>
+	 * Weather the message has been invoked by the invoker.
+	 */
 	private boolean invoked = false;
 
 	public InvokerBean() {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java Fri Nov 25 00:20:27 2005
@@ -18,13 +18,25 @@
 package org.apache.sandesha2.storage.beans;
 
 /**
+ * This bean is used at the receiving side (of both server and client)
+ * There is one entry for each sequence.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */
 
 public class NextMsgBean implements RMBean {
+	
+	/**
+	 * Comment for <code>SequenceId</code>
+	 * The sequenceID of the representing sequence.
+	 */
 	private String SequenceId;
 
+	/**
+	 * Comment for <code>NextMsgNoToProcess</code>
+	 * The next message to be invoked of the representing sequence.
+	 */
 	private long NextMsgNoToProcess;
 
 	public NextMsgBean() {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SenderBean.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SenderBean.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SenderBean.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SenderBean.java Fri Nov 25 00:20:27 2005
@@ -18,30 +18,69 @@
 package org.apache.sandesha2.storage.beans;
 
 /**
+ * This bean is used at the sending side (of both server and client)
+ * There is one eatry for each message to be sent.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */
 
 public class SenderBean implements RMBean {
 
+	/**
+	 * Comment for <code>messageId</code>
+	 * The message id of the representing message.
+	 * 
+	 */
 	private String messageId;
 
+	/**
+	 * Comment for <code>key</code>
+	 * Key retrieved by the storage mechanism after storing the message.
+	 */
 	private String key;
 
-//	private long LastSentTime;
-
+	/**
+	 * Comment for <code>Send</code>
+	 * The sender will not send the message unless this property is true.
+	 */
 	private boolean Send;
 
+	/**
+	 * Comment for <code>internalSequenceId</code>
+	 * Please see the comment of CreateSeqBean.
+	 */
 	private String internalSequenceId;
 
+	/**
+	 * Comment for <code>sentCount</code>
+	 * The number of times current message has been sent.
+	 */
 	private int sentCount = 0;
 
+	/**
+	 * Comment for <code>messageNumber</code>
+	 * The message number of the current message.
+	 */
 	private long messageNumber = 0;
 
+	/**
+	 * Comment for <code>reSend</code>
+	 * If this property if false. The message has to be sent only once. The entry has to be deleted after sending.
+	 */
 	private boolean reSend = true;
 
+	/**
+	 * Comment for <code>timeToSend</code>
+	 * Message has to be sent only after this time.
+	 */
 	private long timeToSend = 0;
 	
+	/**
+	 * Comment for <code>messagetype</code>
+	 * The type of the current message.
+	 * Possible types are given in Constants.MessageTypes interface.
+	 */
 	private int messagetype =0;
 	
 	public SenderBean() {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SequencePropertyBean.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SequencePropertyBean.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SequencePropertyBean.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/SequencePropertyBean.java Fri Nov 25 00:20:27 2005
@@ -17,16 +17,31 @@
 package org.apache.sandesha2.storage.beans;
 
 /**
+ * This bean is used to store properties of a certain sequence.
+ * Used by both sending and receiving sides.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */
 
 public class SequencePropertyBean implements RMBean {
 
+	/**
+	 * Comment for <code>sequenceId</code>
+	 * Sequence ID of the sequence this property belong to.
+	 */
 	private String sequenceId;
 
+	/**
+	 * Comment for <code>name</code>
+	 * The name of the property. Possible names are given in the Constants.SequenceProperties interface.
+	 */
 	private String name;
 
+	/**
+	 * Comment for <code>value</code>
+	 * The value of the property.
+	 */
 	private Object value;
 
 	public SequencePropertyBean(String seqId, String propertyName, Object value) {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryCreateSeqBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryCreateSeqBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryCreateSeqBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryCreateSeqBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -38,9 +38,7 @@
 
 	//TODO change the primary key.
 	//When offered. msgId==null
-	/**
-	 *  
-	 */
+
 	public InMemoryCreateSeqBeanMgr(AbstractContext context) {
 		Object obj = context.getProperty(Constants.BeanMAPs.CREATE_SEQUECE);
 		if (obj != null) {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryInvokerBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryInvokerBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryInvokerBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryInvokerBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -34,9 +34,6 @@
 public class InMemoryInvokerBeanMgr implements InvokerBeanMgr {
 	private Hashtable table = null;
 
-	/**
-	 *  
-	 */
 	public InMemoryInvokerBeanMgr(AbstractContext context) {
 		Object obj = context.getProperty(Constants.BeanMAPs.STORAGE_MAP);
 		if (obj != null) {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryNextMsgBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryNextMsgBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryNextMsgBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemoryNextMsgBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -36,9 +36,6 @@
 
 	private Hashtable table = null;
 
-	/**
-	 *  
-	 */
 	public InMemoryNextMsgBeanMgr(AbstractContext context) {
 		Object obj = context.getProperty(Constants.BeanMAPs.NEXT_MESSAGE);
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemorySequencePropertyBeanMgr.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemorySequencePropertyBeanMgr.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemorySequencePropertyBeanMgr.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/inmemory/InMemorySequencePropertyBeanMgr.java Fri Nov 25 00:20:27 2005
@@ -35,9 +35,6 @@
 public class InMemorySequencePropertyBeanMgr implements SequencePropertyBeanMgr {
 	private Hashtable table = null;
 
-	/**
-	 *  
-	 */
 	public InMemorySequencePropertyBeanMgr(AbstractContext context) {
 		Object obj = context.getProperty(Constants.BeanMAPs.SEQUENCE_PROPERTY);
 		if (obj != null) {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultManager.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultManager.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultManager.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/FaultManager.java Fri Nov 25 00:20:27 2005
@@ -54,6 +54,8 @@
 import org.apache.sandesha2.wsrm.TerminateSequence;
 
 /**
+ * Has logic to check for possible RM related faults and create it.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */
@@ -121,6 +123,13 @@
 
 	}
 
+	/**
+	 * Check weather the CreateSequence should be refused and generate the fault if it should.
+	 * 
+	 * @param messageContext
+	 * @return
+	 * @throws SandeshaException
+	 */
 	private RMMsgContext checkForCreateSequenceRefused(
 			MessageContext messageContext) throws SandeshaException {
 
@@ -212,6 +221,12 @@
 
 	}
 
+	/**
+	 * Check weather the LastMessage number has been exceeded and generate the fault if it is.
+	 * 
+	 * @param msgCtx
+	 * @return
+	 */
 	private RMMsgContext checkForLastMsgNumberExceeded(MessageContext msgCtx) {
 		return null;
 	}
@@ -309,6 +324,7 @@
 	}
 
 	/**
+	 * Check weather the Acknowledgement is invalid and generate a fault if it is.
 	 * 
 	 * @param msgCtx
 	 * @return @throws
@@ -358,12 +374,14 @@
 		return null;
 	}
 
+
 	/**
+	 * Returns a RMMessageContext for the fault message. Data for generating the fault is given in the data parameter.
 	 * 
-	 * @param type
-	 * @param msgCtx
-	 * @return @throws
-	 *         SandeshaException
+	 * @param referenceRMMsgContext
+	 * @param data
+	 * @return
+	 * @throws SandeshaException
 	 */
 	public RMMsgContext getFault(RMMsgContext referenceRMMsgContext,
 			FaultData data) throws SandeshaException {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/MessageRetransmissionAdjuster.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/MessageRetransmissionAdjuster.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/MessageRetransmissionAdjuster.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/MessageRetransmissionAdjuster.java Fri Nov 25 00:20:27 2005
@@ -24,6 +24,8 @@
 import org.apache.sandesha2.storage.beans.SenderBean;
 
 /**
+ * This is used to adjust retransmission infoamation after each time the message is sent.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
@@ -58,6 +60,14 @@
 		return retransmitterBean;
 	}
 
+	/**
+	 * This sets the next time the message has to be retransmitted. This uses the base retransmission interval
+	 * and exponentialBackoff properties to calculate the correct time.
+	 * 
+	 * @param retransmitterBean
+	 * @param policyBean
+	 * @return
+	 */
 	private SenderBean adjustNextRetransmissionTime(
 			SenderBean retransmitterBean, RMPolicyBean policyBean) {
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/MsgInitializer.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/MsgInitializer.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/MsgInitializer.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/MsgInitializer.java Fri Nov 25 00:20:27 2005
@@ -24,6 +24,8 @@
 import org.apache.sandesha2.wsrm.RMElements;
 
 /**
+ * This class is used to create an RMMessageContext out of an MessageContext.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
@@ -37,6 +39,12 @@
 		return rmMsgCtx;
 	}
 
+	/**
+	 * Adds the message parts the the RMMessageContext.
+	 * 
+	 * @param msgCtx
+	 * @param rmMsgContext
+	 */
 	private static void populateRMMsgContext(MessageContext msgCtx,
 			RMMsgContext rmMsgContext) {
 		//TODO set message parts
@@ -72,12 +80,19 @@
 
 	}
 
+	/**
+	 * This is used to validate the message.
+	 * Also set an Message type. Possible types are given in the Constants.MessageTypes interface.
+	 * 
+	 * @param rmMsgCtx
+	 * @return
+	 * @throws SandeshaException
+	 */
 	private static boolean validateMessage(RMMsgContext rmMsgCtx)
 			throws SandeshaException {
 
 		//TODO: performa validation
 
-		int a = 1;
 		//Setting message type.
 		if (rmMsgCtx.getMessagePart(Constants.MessageParts.CREATE_SEQ) != null)
 			rmMsgCtx.setMessageType(Constants.MessageTypes.CREATE_SEQ);

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/PropertyManager.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/PropertyManager.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/PropertyManager.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/PropertyManager.java Fri Nov 25 00:20:27 2005
@@ -21,12 +21,13 @@
 import java.io.InputStream;
 import java.util.Properties;
 
-import org.apache.axis2.InavalidModuleImpl;
 import org.apache.sandesha2.Constants;
 import org.apache.sandesha2.SandeshaException;
 import org.apache.sandesha2.policy.RMPolicyBean;
 
 /**
+ * Loads properties from sandesha2.properties file (from Constants if this is not available).
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
@@ -46,11 +47,11 @@
 			if (in==null)
 				in = Thread.currentThread().getContextClassLoader().getResourceAsStream(Constants.PROPERTY_FILE);
 			
-			if (in==null)
-				throw new IOException ("sandesha2 property file not found");
-			
 			Properties properties = new Properties ();
-			properties.load(in);
+			if (in!=null) {
+				//throw new IOException ("sandesha2 property file not found");
+				properties.load(in);
+			}
 			
 			loadPropertiesToBean (properties);
 		} catch (IOException e) {
@@ -81,6 +82,11 @@
 		
 	}
 	
+	/**
+	 * Loads wsp:exponentianbackoff.
+	 * 
+	 * @param properties
+	 */
 	private void loadExponentialBackoff (Properties properties) {
 		
 		String expoBackoffStr = properties.getProperty(Constants.Properties.ExponentialBackoff);
@@ -101,6 +107,12 @@
 			propertyBean.setExponentialBackoff(Constants.Properties.DefaultValues.ExponentialBackoff);
 	}
 	
+	
+	/**
+	 * Loads wsp:retransmissionInterval.
+	 * 
+	 * @param properties
+	 */
 	private void loadRetransmissionInterval (Properties properties) {
 		
 		String retransmissionIntStr = properties.getProperty(Constants.Properties.RetransmissionInterval);
@@ -124,6 +136,11 @@
 			propertyBean.setRetransmissionInterval(Constants.Properties.DefaultValues.RetransmissionInterval);
 	}
 	
+	/**
+	 * Loads wsp:acknowldgementInterval.
+	 * 
+	 * @param properties
+	 */
 	private void loadAcknowledgementInterval (Properties properties) {
 		
 		String acknowledgementIntStr = properties.getProperty(Constants.Properties.AcknowledgementInterval);
@@ -147,6 +164,11 @@
 			propertyBean.setAcknowledgementInterval(Constants.Properties.DefaultValues.AcknowledgementInterval);
 	}
 	
+	/**
+	 * Loads wsp:inactivityInterval.
+	 * 
+	 * @param properties
+	 */
 	private void loadInactivityTimeout (Properties properties) {
 		
 		String inactivityTimeoutStr = properties.getProperty(Constants.Properties.InactivityTimeout);
@@ -175,6 +197,11 @@
 			propertyBean.setInactiveTimeoutInterval(Constants.Properties.DefaultValues.InactivityTimeout,Constants.Properties.DefaultValues.InactivityTimeoutMeasure);
 	}
 	
+	/**
+	 * Loads the StorageManager class name.
+	 * 
+	 * @param properties
+	 */
 	private void loadStoragemanagerClass (Properties properties) {
 		String storageMgrClassStr = properties.getProperty(Constants.Properties.StorageManager);
 		boolean loaded = false;

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMMsgCreator.java Fri Nov 25 00:20:27 2005
@@ -54,6 +54,7 @@
 import org.apache.sandesha2.wsrm.TerminateSequence;
 
 /**
+ * Used to create new RM messages.
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
@@ -65,6 +66,15 @@
 			rmMsgCtx.setProperty(Constants.WSP.RM_POLICY_BEAN, PropertyManager.getInstance().getRMPolicyBean());
 	}
 
+	/**
+	 * Create a new CreateSeqnence message.
+	 * 
+	 * @param applicationRMMsg
+	 * @param internalSequenceId
+	 * @param acksTo
+	 * @return
+	 * @throws SandeshaException
+	 */
 	public static RMMsgContext createCreateSeqMsg(
 			RMMsgContext applicationRMMsg, String internalSequenceId, String acksTo)
 			throws SandeshaException {
@@ -193,6 +203,14 @@
 		return createSeqRMMsg;
 	}
 
+	/**
+	 * Creates a new TerminateSequence message.
+	 * 
+	 * @param referenceRMMessage
+	 * @param sequenceId
+	 * @return
+	 * @throws SandeshaException
+	 */
 	public static RMMsgContext createTerminateSequenceMessage(
 			RMMsgContext referenceRMMessage, String sequenceId)
 			throws SandeshaException {
@@ -258,6 +276,15 @@
 		return terminateRMMessage;
 	}
 
+	/**
+	 * Create a new CreateSequenceResponse message.
+	 * 
+	 * @param createSeqMessage
+	 * @param outMessage
+	 * @param newSequenceID
+	 * @return
+	 * @throws AxisFault
+	 */
 	public static RMMsgContext createCreateSeqResponseMsg(
 			RMMsgContext createSeqMessage, MessageContext outMessage,
 			String newSequenceID) throws AxisFault {
@@ -319,7 +346,13 @@
 		return createSeqResponse;
 	}
 
-	//Adds a ack message to the following message.
+	/**
+	 * Adds an ack message to the given application message.
+	 * 
+	 * @param applicationMsg
+	 * @param sequenceId
+	 * @throws SandeshaException
+	 */
 	public static void addAckMessage(RMMsgContext applicationMsg,
 			String sequenceId) throws SandeshaException {
 
@@ -366,6 +399,13 @@
 
 	}
 
+	/**
+	 * Create a new Acknowledgement message.
+	 * 
+	 * @param applicationRMMsgCtx
+	 * @return
+	 * @throws SandeshaException
+	 */
 	public static RMMsgContext createAckMessage(RMMsgContext applicationRMMsgCtx)
 			throws SandeshaException {
 		try {

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMPolicyManager.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMPolicyManager.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMPolicyManager.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/RMPolicyManager.java Fri Nov 25 00:20:27 2005
@@ -21,6 +21,8 @@
 import org.apache.sandesha2.policy.RMPolicyBean;
 
 /**
+ * This is used to manage RM Policies.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  */

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaPropertyBean.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaPropertyBean.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaPropertyBean.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaPropertyBean.java Fri Nov 25 00:20:27 2005
@@ -20,6 +20,8 @@
 import org.apache.sandesha2.policy.RMPolicyBean;
 
 /**
+ * Used to hold peoperties loaded from sandesha2.properties file or Constants.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java Fri Nov 25 00:20:27 2005
@@ -63,6 +63,8 @@
 import org.apache.sandesha2.wsrm.AcknowledgementRange;
 
 /**
+ * Contains utility methods that are used in many plases of Sandesha2.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 
@@ -78,11 +80,26 @@
 
 	private static SandeshaDynamicProperties dynamicProperties = null;
 
+	/**
+	 * Create a new UUID.
+	 * 
+	 * @return
+	 */
 	public static String getUUID() {
 		String uuid = "uuid:" + UUIDGenerator.getUUID();
 		return uuid;
 	}
 
+	/**
+	 * Used to convert a message number list (a comma seperated list of message numbers) into
+	 * a set of AcknowledgementRanges. This breaks the list, sort the items and group them to create
+	 * the AcknowledgementRange objects.
+	 * 
+	 * @param msgNoStr
+	 * @param factory
+	 * @return
+	 * @throws SandeshaException
+	 */
 	public static ArrayList getAckRangeArrayList(String msgNoStr,
 			SOAPFactory factory) throws SandeshaException {
 
@@ -175,6 +192,14 @@
 		return sortedList;
 	}
 
+	/**
+	 * Used to store message context objects. Currently they are stored in a in-memory HashMap.
+	 * Returned key can be used to retrieve the message context.
+	 * 
+	 * @param ctx
+	 * @return
+	 * @throws SandeshaException
+	 */
 	public static String storeMessageContext(MessageContext ctx)
 			throws SandeshaException {
 		if (ctx == null)
@@ -185,6 +210,12 @@
 		return key;
 	}
 
+	/**
+	 * Retrieve the MessageContexts saved by the above method.
+	 * 
+	 * @param key
+	 * @return
+	 */
 	public static MessageContext getStoredMessageContext(String key) {
 		return (MessageContext) storedMsgContexts.get(key);
 	}
@@ -323,7 +354,6 @@
 		return false;
 	}
 
-	//TODO: correct following to work for long.
 	public static ArrayList getSplittedMsgNoArraylist(String str) {
 
 		StringTokenizer tokenizer = new StringTokenizer(str, ",");
@@ -349,9 +379,16 @@
 		return internalSequenceId;
 	}
 
+	/**
+	 * Used to obtain the storage Manager Implementation. 
+	 * @param context
+	 * @return
+	 * @throws SandeshaException
+	 */
 	public static StorageManager getSandeshaStorageManager(
 			ConfigurationContext context) throws SandeshaException {
-		String srotageManagerClassStr = Constants.STORAGE_MANAGER_IMPL;
+		
+		String srotageManagerClassStr = PropertyManager.getInstance().getStorageManagerClass();
 
 		if (storageManager != null)
 			return storageManager;

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/SequenceManager.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/SequenceManager.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/SequenceManager.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/SequenceManager.java Fri Nov 25 00:20:27 2005
@@ -21,6 +21,8 @@
 import org.apache.sandesha2.wsrm.CreateSequence;
 
 /**
+ * This is used to set up a new sequence, both at the sending side and the receiving side.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/workers/InOrderInvoker.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/workers/InOrderInvoker.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/workers/InOrderInvoker.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/workers/InOrderInvoker.java Fri Nov 25 00:20:27 2005
@@ -40,6 +40,10 @@
 import org.apache.sandesha2.wsrm.Sequence;
 
 /**
+ * This is used when InOrder invocation is required. This is a seperated Thread that keep running
+ * all the time. At each iteration it checks the InvokerTable to find weather there are any messages to
+ * me invoked.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java Fri Nov 25 00:20:27 2005
@@ -38,6 +38,9 @@
 import org.apache.sandesha2.wsrm.TerminateSequence;
 
 /**
+ * This is responsible for sending and re-sending messages of Sandesha2. This represent a thread that keep running all
+ * the time. This keep looking at the Sender table to find out any entries that should be sent.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  */
 

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/AckRequested.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/AckRequested.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/AckRequested.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/AckRequested.java Fri Nov 25 00:20:27 2005
@@ -28,6 +28,8 @@
 import org.apache.sandesha2.Constants;
 
 /**
+ * Represent the AckRequested header block.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Saminda Abeyruwan  <saminda@opensource.lk>

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequence.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequence.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequence.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequence.java Fri Nov 25 00:20:27 2005
@@ -27,6 +27,8 @@
 import org.apache.sandesha2.Constants;
 
 /**
+ * Represent the CreateSequence body element.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Saminda Abeyruwan  <saminda@opensource.lk>

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequenceResponse.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequenceResponse.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequenceResponse.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/CreateSequenceResponse.java Fri Nov 25 00:20:27 2005
@@ -27,6 +27,8 @@
 import org.apache.sandesha2.Constants;
 
 /**
+ * Adds the CreateSequenceResponse body part.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Saminda Abeyruwan  <saminda@opensource.lk>

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMElement.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMElement.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMElement.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMElement.java Fri Nov 25 00:20:27 2005
@@ -17,6 +17,8 @@
 package org.apache.sandesha2.wsrm;
 
 /**
+ * This is the base interface for all RM infoset objects.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Saminda Abeyruwan  <saminda@opensource.lk>

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMPart.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMPart.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMPart.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/IOMRMPart.java Fri Nov 25 00:20:27 2005
@@ -20,6 +20,9 @@
 import org.apache.axis2.soap.SOAPEnvelope;
 
 /**
+ * This is the base interface for RM infoset objects that are added directly so 
+ * SOAPBody or SOAPHeader (we call them MessageParts).
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Saminda Abeyruwan  <saminda@opensource.lk>

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceAcknowledgement.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceAcknowledgement.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceAcknowledgement.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceAcknowledgement.java Fri Nov 25 00:20:27 2005
@@ -31,6 +31,8 @@
 import org.apache.sandesha2.Constants;
 
 /**
+ * Adds the SequenceAcknowledgement header block.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Saminda Abeyruwan  <saminda@opensource.lk>

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceFault.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceFault.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceFault.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/SequenceFault.java Fri Nov 25 00:20:27 2005
@@ -26,6 +26,8 @@
 import org.apache.sandesha2.Constants;
 
 /**
+ * Adds the SequenceFault header block.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Saminda Abeyruwan  <saminda@opensource.lk>

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/TerminateSequence.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/TerminateSequence.java?rev=348910&r1=348909&r2=348910&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/TerminateSequence.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/wsrm/TerminateSequence.java Fri Nov 25 00:20:27 2005
@@ -27,6 +27,8 @@
 import org.apache.sandesha2.Constants;
 
 /**
+ * Adds the Terminate Sequence body part.
+ * 
  * @author Chamikara Jayalath <chamikaramj@gmail.com>
  * @author Sanka Samaranayaka <ssanka@gmail.com>
  * @author Saminda Abeyruwan  <saminda@opensource.lk>



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


Mime
View raw message