ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chamik...@apache.org
Subject svn commit: r349924 [7/22] - in /webservices/site/trunk/targets/sandesha: ./ sandesha2/ sandesha2/images/ sandesha2/images/logos/ sandesha2/style/ sandesha2/xref-test/ sandesha2/xref-test/org/ sandesha2/xref-test/org/apache/ sandesha2/xref-test/org/apa...
Date Wed, 30 Nov 2005 11:17:58 GMT
Added: webservices/site/trunk/targets/sandesha/sandesha2/task-list.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/task-list.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/task-list.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/task-list.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Sandesha2 - Articles</title><style type="text/css" media="all">
+          @import url("./style/maven-base.css");
+          
+			    @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta><meta name="author" content="Maven"></meta><meta name="email" content="turbine-maven-user@jakarta.apache.org"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/ws-fx/sandesha/" id="projectLogo"><img alt="Apache Sandesha2" src="http://ws.apache.org/ws-fx/sandesha/images/Sandesha.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+                	Last published: 30 November 2005
+                  | Doc for 0.9</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuApache_Sandesha2"><h5>Apache Sandesha2</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Downloads</a><ul><li class="none"><a href="releases.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/repos/asf/webservices/sandesha/trunk" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="userGuide.html">User Guide</a></li><li class="none"><a href="architectureGuide.html">Architecture Guide</a></li><li class="none"><a href="apidocs/index.html">Java Docs</a></li></ul></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="mail-lists.html">Mailing Lists</a></li><li class="none"><a href="team-list.html">Project Team</a></li></ul></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Apache Sandesha2</a></li><li class="collapsed"><a href="project-info.html">Project Info</a></li><li class="expanded"><a href="maven-reports.html">Project Reports</a><ul><li class="none"><a href="jdepend-report.html">Metrics</a></li><li class="none"><a href="checkstyle-report.html">Checkstyle</a></li><li class="none"><a href="changelog-report.html">Change Log</a></li><li class="none"><a href="developer-activity-report.html">Developer Activity</a></li><li class="none"><a href="file-activity-report.html">File Activity</a></li><li class="none"><a href="license.html">Project License</a></li><li class="none"><a href="apidocs/index.html" class="newWindow" title="New Window" target="_blank">JavaDocs</a></li><li class="none"><a href="javadoc.html">JavaDoc Report</a></li><li class="none"><a href="javadoc-warnings-report.html">JavaDoc Warnings Report</a></li><li class="none"><a href="xref/index.html" class="newWindow" title="New Window" target="_blank">Source Xref</a></li><li class="none"><a href="xref-test/index.html" class="newWindow" title="New Window" target="_blank">Test Xref</a></li><li class="none"><a href="junit-report.html">Unit Tests</a></li><li class="none"><a href="linkcheck.html">Link Check Report</a></li><li class="none"><strong><a href="task-list.html">Task List</a></strong></li></ul></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Todos"></a><h2>Todos</h2><table class="bodyTable"><thead>
+      	<tr class="a"><th>Class</th><th>Class Todos Count</th><th>Method with Todos</th></tr>
+        </thead><tbody>
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <tr class="b"><td colspan="3"><em>No class or method todo found</em></td></tr>
+            </tbody></table></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005, Apache Web Services</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file

Added: webservices/site/trunk/targets/sandesha/sandesha2/team-list.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/team-list.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/team-list.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/team-list.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Sandesha2 - Project Team</title><style type="text/css" media="all">
+          @import url("./style/maven-base.css");
+          
+			    @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta><script type="text/javascript">
+  	  function offsetDate(id, offset) {
+
+            var now = new Date() ;
+            var nowTime = now.getTime() ;
+            var localOffset = now.getTimezoneOffset() ;
+            var developerTime = nowTime + (offset * 60 * 60 * 1000) + (localOffset * 60 * 1000) ;
+            var developerDate = new Date(developerTime) ;
+
+            document.getElementById(id).innerHTML = developerDate;
+          }
+  	
+  	  function init() {
+	    	       	         	               	       	         	               	       	         	               	       	         	                     }
+    </script></head><body class="composite" onload="init();"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/ws-fx/sandesha/" id="projectLogo"><img alt="Apache Sandesha2" src="http://ws.apache.org/ws-fx/sandesha/images/Sandesha.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+                	Last published: 30 November 2005
+                  | Doc for 0.9</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuApache_Sandesha2"><h5>Apache Sandesha2</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Downloads</a><ul><li class="none"><a href="releases.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/repos/asf/webservices/sandesha/trunk" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="userGuide.html">User Guide</a></li><li class="none"><a href="architectureGuide.html">Architecture Guide</a></li><li class="none"><a href="apidocs/index.html">Java Docs</a></li></ul></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="mail-lists.html">Mailing Lists</a></li><li class="none"><a href="team-list.html">Project Team</a></li></ul></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Apache Sandesha2</a></li><li class="expanded"><a href="project-info.html">Project Info</a><ul><li class="none"><a href="mail-lists.html">Mailing Lists</a></li><li class="none"><strong><a href="team-list.html">Project Team</a></strong></li><li class="none"><a href="dependencies.html">Dependencies</a></li><li class="none"><a href="cvs-usage.html">Source Repository</a></li><li class="none"><a href="issue-tracking.html">Issue Tracking</a></li></ul></li><li class="collapsed"><a href="maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="The_Team"></a><h2>The Team</h2><p>
+        A successful project requires many people to play many roles.
+        Some members write code or documentation, while others are
+        valuable as testers, submitting patches and suggestions.
+      </p><p>
+        The team is comprised of <a href="#Members">Members</a>
+        and <a href="#Contributors">Contributors</a>.  Members 
+        have direct access to the source of a project and actively
+        evolve the code-base.  Contributors improve the project
+        through submission of patches and suggestions to the Members.
+        The number of Contributors to the project is unbounded.
+        Get involved today.  All contributions to the project are
+        greatly appreciated.
+      </p><div class="subsection"><a name="Members"></a><h3>Members</h3><p>
+        The following is a list of developers with commit privileges that have 
+        directly contributed to the project in one way or another.  
+      </p><table class="bodyTable"><thead>
+        <tr class="a"><th>Name</th><th>Id</th><th>Email</th><th>Organization</th><th>Roles</th><th>TZ Offset</th><th>Time</th></tr>
+        </thead><tbody>
+                <tr class="b"><td>Sanjiva Weerawarana</td><td><a name="sanjiva"></a>sanjiva</td><td><a href="mailto:sanjiva@opensource.lk">sanjiva@opensource.lk</a></td><td>
+            </td><td>
+                    </td><td></td><td><span id="developer-sanjiva">Unknown</span></td></tr>
+                <tr class="a"><td>Davanum Srinivas</td><td><a name="dims"></a>dims</td><td><a href="mailto:dims@yahoo.com">dims@yahoo.com</a></td><td>
+            </td><td>
+                    </td><td></td><td><span id="developer-dims">Unknown</span></td></tr>
+                <tr class="b"><td>Jaliya Ekanayake</td><td><a name="jaliya"></a>jaliya</td><td><a href="mailto:jaliya@opensource.lk">jaliya@opensource.lk</a></td><td>
+            </td><td>
+                    </td><td></td><td><span id="developer-jaliya">Unknown</span></td></tr>
+                <tr class="a"><td>Chamikara Jayalath</td><td><a name="chamikara"></a>chamikara</td><td><a href="mailto:chamikaramj@gmail.com">chamikaramj@gmail.com</a></td><td>
+            </td><td>
+                    </td><td></td><td><span id="developer-chamikara">Unknown</span></td></tr>
+                </tbody></table></div><div class="subsection"><a name="Contributors"></a><h3>Contributors</h3><p>
+	    There are no contributors listed for this project. Please check
+ 	    back again later.
+ 	  </p></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005, Apache Web Services</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file

Added: webservices/site/trunk/targets/sandesha/sandesha2/userGuide.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/userGuide.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/userGuide.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/userGuide.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,87 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Sandesha2 - Sandesha2 User Guide</title><style type="text/css" media="all">
+          @import url("./style/maven-base.css");
+          
+			    @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/ws-fx/sandesha/" id="projectLogo"><img alt="Apache Sandesha2" src="http://ws.apache.org/ws-fx/sandesha/images/Sandesha.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+                	Last published: 30 November 2005
+                  | Doc for 0.9</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuApache_Sandesha2"><h5>Apache Sandesha2</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Downloads</a><ul><li class="none"><a href="releases.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/repos/asf/webservices/sandesha/trunk" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="userGuide.html">User Guide</a></li><li class="none"><a href="architectureGuide.html">Architecture Guide</a></li><li class="none"><a href="apidocs/index.html">Java Docs</a></li></ul></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="mail-lists.html">Mailing Lists</a></li><li class="none"><a href="team-list.html">Project Team</a></li></ul></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Apache Sandesha2</a></li><li class="collapsed"><a href="project-info.html">Project Info</a></li><li class="collapsed"><a href="maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Sandesha2_User_Guide"></a><h2>Sandesha2 User Guide</h2><p>This document introduces you to Apache Sandesha2. Sandesha2 is the
+WS-ReliableMessaging implementation for Axis2. With Sandesha2 you can host
+some reliable web services or interact with reliable web services hosted by
+others.</p><p></p></div><div class="section"><a name="Using_Sandesha2_in_the_server_side"></a><h2>Using Sandesha2 in the server side</h2><p>First lets look at how to use Sandesha2 in the server side.</p><p>You can set up Sandesha2 for the server side in three steps.</p><ol>
+  <li>Download and deploy axis2(please see Axis2 user guide for more
+  details).</li>
+  <li>Add a user phase called RMPhase to all four flows of axis2.xml.</li>
+  <li>Download latest Sandesha2 distribution and add Sandesha2 mar file to
+    &lt;AXIS2_WEBAPP&gt;\WEB_INF\modules directory.</li>
+  <li>Add sandesha2.properties file to the
+    &lt;AXIS2_WEBAPP&gt;\WEB_INF\classes directory.</li>
+</ol><p>Now your Sandesha2 module is setup and deployed.</p><p></p><p>To host reliable web service you have to create a service archive (aar)
+file with the given details (please see Axis2 user guide for more details on
+creating aar files).</p><p>Add a module reference for Sandesha2 to the services.xml (within the aar
+file) as given below.</p>
+    <div class="source"><pre>&lt;service name="OneWayService"&gt;
+&lt;module ref="&lt;Sandesha2 module name&gt;"/&gt;
+.......................
+&lt;!-- Your operation definitions and other stuff
+........................
+&lt;/service&gt;
+
+</pre></div>
+  <p>Create the service archieve file.</p><p>Deploy it by dropping it to &lt;AXIS2_WEBAPP&gt;/WEB-INF/services
+directory.</p><p>Now your service is deployed with reliable messaging support.</p><p></p></div><div class="section"><a name="Using_Sandesha2_in_the_client_side"></a><h2>Using Sandesha2 in the client side</h2><p>Add Sandesha2 module in the way you normally add a module to the Axis2
+client side (see Axis2 user guide for more details). Following scenarios will
+explain you how to write the client code.</p><p></p><div class="subsection"><a name="Basic_scenarios"></a><h3>Basic scenarios</h3><p><b>Sample RM enabled client code for a one way service call.</b></p>
+    <div class="source"><pre><pre>MessageSender sender = new MessageSender (AXIS2_CLIENT_PATH);
+<span style="background-color: #CCCCCC">sender.engageModule(new QName ("&lt;Sandesha2 module name&gt;"));</span>
+sender.setTo(new EndpointReference(toEPR));
+sender.set(MessageContextConstants.TRANSPORT_URL,toEPR);
+sender.send("ping",getPingOMBlock("ping1"));
+sender.send("ping",getPingOMBlock("ping2"));
+<span style="background-color: #CCCCCC">sender.set(org.apache.sandesha2.Constants.LAST_MESSAGE, "true");</span>
+sender.send("ping",getPingOMBlock("ping3"));</pre></pre></div>
+  <p></p><p>There are only two difference here from your normal client code.</p><p>First you have to engage the sandesha module as given in the line 2.</p><p>Before the last message you must set the last message property, which is
+given in the line 7.</p><p></p><p><b>Simple RM enabled client code for a request reply service call.</b></p><p>First thing to remember is that you are not able to get synchronous
+(single channel) responses with Sandesha2. Because of this if you expect
+response message, you must have a return endpoint accessible from the server
+side. But making two channel blocking invocations is perfectly valid. But
+please make sure tht you have set a suitable time out interval within your
+call object.</p><p></p><p>Here is a code sample for this scenario.</p>
+    <div class="source"><pre><pre>Call call = new Call(AXIS2_CLIENT_PATH);
+<span style="background-color: #CCCCCC">call.engageModule(new QName("&lt;Sandesha2 module name&gt;"));</span>
+call.setTo(new EndpointReference(toEPR));
+call.setTransportInfo(org.apache.axis2.Constants.TRANSPORT_HTTP,org.apache.axis2.Constants.TRANSPORT_HTTP,true);
+Callback callback1 = new TestCallback ("Callback 1");
+call.invokeNonBlocking("echoString",getEchoOMBlock("echo1"),callback1);
+Callback callback2 = new TestCallback ("Callback 2");
+call.invokeNonBlocking("echoString",getEchoOMBlock("echo2"),callback2);
+<span style="background-color: #CCCCCC">call.set(Constants.LAST_MESSAGE, "true");</span>
+Callback callback3 = new TestCallback ("Callback 3");
+call.invokeNonBlocking("echoString",getEchoOMBlock("echo3"),callback3);</pre></pre></div>
+  <p></p><p>Here also the only difference from a normal client code is addition of the
+Sandesha2 module reference and setting the last message property.</p><p></p></div><div class="subsection"><a name="Advance_scenarios"></a><h3>Advance scenarios</h3><p><b>Getting acknowledgements and faults to a given endpoint.</b></p><p>In the dafault configuration response path for acknowledgements and faults
+related to a sequene is the anonymous endpoint. Because of this for example
+HTTP transport will send acknowledgements and faults in the HTTP response. If
+you want to avaoid this and if you want to get acknowledgements and faults to
+a different endpoing add following part to the client code before doing any
+incovation.</p>
+    <div class="source"><pre>sender.set(Constants.AcksTo,&lt;endpoint&gt;); //example endpoint - http://tempuri.org/acks.
+
+</pre></div>
+  <p></p><p><b>Managing sequences.</b></p><p>I the default behavious Sandesha 2 assumes that messages going to the same
+endpoing should go in the same RM sequence. If you invoke two endpoints they
+will go in two sequences. If you want you can tell sandesha2 to start two
+sequences for the same endpoint as well. To do this you have to set a
+property called Sequence Key.</p>
+    <div class="source"><pre>call.set(Constants.SEQUENCE_KEY,&lt;a string to identify the sequence&gt;);
+
+</pre></div>
+  <p>If the sequence key is different Sandesha2 will send messages in two
+sequences even if they are sent to the same endpoint.</p><p></p><p><b>Offering a sequence ID for the response sequence.</b></p><p>This is a concept of reliable messaging which may not be very useful to
+you as a user. Here what you do is offering a sequene ID for the sequence to
+be created in the response side withing the first Create Sequence Request
+message itself. with this you can avoid sending of a extra Create Sequence
+message from the server to the client. To do this add following to the client
+code.</p>
+    <div class="source"><pre>call.set(Constants.OFFERED_SEQUENCE_ID,&lt;new uuid&gt;);
+
+</pre></div>
+  <p></p><p></p></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005, Apache Web Services</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/allclasses-frame.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/allclasses-frame.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/allclasses-frame.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/allclasses-frame.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,79 @@
+
+
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+  <html lang="en">
+    <head>
+      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+      <title>All Classes</title>
+      <link rel="stylesheet" href="stylesheet.css" type="text/css" title="style"></link>
+    </head>
+    <body>
+
+      <h3>All Classes</h3>
+
+      <ul>
+        
+          <li>
+            <a href="org/apache/sandesha2/storage/CreateSeqBeanMgrTest.html" target="classFrame">CreateSeqBeanMgrTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/wsrm/CreateSequenceResponseTest.html" target="classFrame">CreateSequenceResponseTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/wsrm/CreateSequenceTest.html" target="classFrame">CreateSequenceTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/DuplicateMessageTest.html" target="classFrame">DuplicateMessageTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/storage/NextMsgBeanMgrTest.html" target="classFrame">NextMsgBeanMgrTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/PorpertyLoaderTest.html" target="classFrame">PorpertyLoaderTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/RMPolicyTest.html" target="classFrame">RMPolicyTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/RetransmissionTest.html" target="classFrame">RetransmissionTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/storage/RetransmitterBeanMgrTest.html" target="classFrame">RetransmitterBeanMgrTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/SandeshaTestCase.html" target="classFrame">SandeshaTestCase</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/wsrm/SequenceAcknowledgementTest.html" target="classFrame">SequenceAcknowledgementTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/storage/SequencePropertyBeanMgrTest.html" target="classFrame">SequencePropertyBeanMgrTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/wsrm/SequenceTest.html" target="classFrame">SequenceTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/storage/StorageMapBeanMgrTest.html" target="classFrame">StorageMapBeanMgrTest</a>
+          </li>
+        
+          <li>
+            <a href="org/apache/sandesha2/wsrm/TerminateSequenceTest.html" target="classFrame">TerminateSequenceTest</a>
+          </li>
+        
+      </ul>
+
+    </body>
+  </html>

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/index.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/index.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/index.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/index.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,22 @@
+
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
+  <html lang="en">
+    <head>
+      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+      <title>Apache Sandesha2 0.9 Reference</title>
+    </head>
+    <frameset cols="20%,80%">
+      <frameset rows="30%,70%">
+        <frame name="packageListFrame" src="overview-frame.html"></frame>
+        <frame name="packageFrame" src="allclasses-frame.html"></frame>
+      </frameset>
+      <frame name="classFrame" src="overview-summary.html"></frame>
+    </frameset>
+    <noframes>
+      <h1>Frame Alert</h1>
+      <p>
+        You don't have frames. Go
+        <a href="overview-summary.html">here</a>
+      </p>
+    </noframes>
+  </html>

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/DuplicateMessageTest.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/DuplicateMessageTest.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/DuplicateMessageTest.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/DuplicateMessageTest.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>DuplicateMessageTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Created on Nov 13, 2005</em>
+<a name="3" href="#3">3</a>   <em class="comment"> *</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * TODO To change the template for this generated file go to</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * Window - Preferences - Java - Code Style - Code Templates</em>
+<a name="6" href="#6">6</a>   <em class="comment"> */</em>
+<a name="7" href="#7">7</a>   <strong>package</strong> <a href="../../../org/apache/sandesha2/package-summary.html">org.apache.sandesha2</a>;
+<a name="8" href="#8">8</a>   
+<a name="9" href="#9">9</a>   <strong>import</strong> junit.framework.TestCase;
+<a name="10" href="#10">10</a>  
+<a name="11" href="#11">11</a>  <em>/**<em>*</em></em>
+<a name="12" href="#12">12</a>  <em> * @author chamikara</em>
+<a name="13" href="#13">13</a>  <em> *</em>
+<a name="14" href="#14">14</a>  <em> * TODO To change the template for this generated type comment go to</em>
+<a name="15" href="#15">15</a>  <em> * Window - Preferences - Java - Code Style - Code Templates</em>
+<a name="16" href="#16">16</a>  <em> */</em>
+<a name="17" href="#17">17</a>  <strong>public</strong> <strong>class</strong> <a href="../../../org/apache/sandesha2/DuplicateMessageTest.html">DuplicateMessageTest</a> <strong>extends</strong> TestCase {
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  	<strong>public</strong> <strong>void</strong> testDuplicateMessage () {
+<a name="20" href="#20">20</a>  		
+<a name="21" href="#21">21</a>  	}
+<a name="22" href="#22">22</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/PorpertyLoaderTest.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/PorpertyLoaderTest.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/PorpertyLoaderTest.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/PorpertyLoaderTest.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,93 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>PorpertyLoaderTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2004,2005 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> *</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> *</em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> *</em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em>
+<a name="16" href="#16">16</a>  
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../org/apache/sandesha2/package-summary.html">org.apache.sandesha2</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> java.io.File;
+<a name="20" href="#20">20</a>  <strong>import</strong> java.io.FileInputStream;
+<a name="21" href="#21">21</a>  <strong>import</strong> java.io.FileNotFoundException;
+<a name="22" href="#22">22</a>  <strong>import</strong> java.io.IOException;
+<a name="23" href="#23">23</a>  <strong>import</strong> java.io.InputStream;
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <strong>import</strong> org.apache.sandesha2.util.PropertyManager;
+<a name="26" href="#26">26</a>  
+<a name="27" href="#27">27</a>  <strong>import</strong> junit.framework.TestCase;
+<a name="28" href="#28">28</a>  
+<a name="29" href="#29">29</a>  <em>/**<em>*</em></em>
+<a name="30" href="#30">30</a>  <em> * @author Chamikara Jayalath &lt;chamikaramj@gmail.com></em>
+<a name="31" href="#31">31</a>  <em> */</em>
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>  <strong>public</strong> <strong>class</strong> <a href="../../../org/apache/sandesha2/PorpertyLoaderTest.html">PorpertyLoaderTest</a> <strong>extends</strong> TestCase {
+<a name="34" href="#34">34</a>  	
+<a name="35" href="#35">35</a>  	PropertyManager manager = <strong>null</strong>;
+<a name="36" href="#36">36</a>  	
+<a name="37" href="#37">37</a>  	<strong>public</strong> <strong>void</strong> setUp () {
+<a name="38" href="#38">38</a>  		manager = PropertyManager.getInstance();
+<a name="39" href="#39">39</a>  		String fileName = <span class="string">"./test/resources/sandesha2.properties"</span>;
+<a name="40" href="#40">40</a>  		File file= <strong>new</strong> File (fileName);
+<a name="41" href="#41">41</a>  		<strong>if</strong> (!file.exists()) {
+<a name="42" href="#42">42</a>  			fail(<span class="string">"'test/resources/sandesha2.prop' not found"</span>);
+<a name="43" href="#43">43</a>  		}
+<a name="44" href="#44">44</a>  		
+<a name="45" href="#45">45</a>  		<strong>try</strong> {
+<a name="46" href="#46">46</a>  			InputStream in = <strong>new</strong> FileInputStream (file);
+<a name="47" href="#47">47</a>  			manager.reload(in);
+<a name="48" href="#48">48</a>  			in.close();
+<a name="49" href="#49">49</a>  		} <strong>catch</strong> (Exception e) {
+<a name="50" href="#50">50</a>  			fail (e.getMessage());
+<a name="51" href="#51">51</a>  		}
+<a name="52" href="#52">52</a>  		
+<a name="53" href="#53">53</a>  	}
+<a name="54" href="#54">54</a>  	
+<a name="55" href="#55">55</a>  	<strong>public</strong> <strong>void</strong> testRetransmissionInterval () {
+<a name="56" href="#56">56</a>  		<strong>long</strong> value = manager.getRetransmissionInterval();
+<a name="57" href="#57">57</a>  		assertEquals(value,20000);
+<a name="58" href="#58">58</a>  	}
+<a name="59" href="#59">59</a>  	
+<a name="60" href="#60">60</a>  	<strong>public</strong> <strong>void</strong> testExponentialBackOff () {
+<a name="61" href="#61">61</a>  		<strong>boolean</strong> value = manager.isExponentialBackoff();
+<a name="62" href="#62">62</a>  		assertEquals(value,false);
+<a name="63" href="#63">63</a>  	}
+<a name="64" href="#64">64</a>  	
+<a name="65" href="#65">65</a>  	<strong>public</strong> <strong>void</strong> testAcknowledgementInterval () {
+<a name="66" href="#66">66</a>  		<strong>long</strong> value = manager.getAcknowledgementInterval();
+<a name="67" href="#67">67</a>  		assertEquals(value,8000);
+<a name="68" href="#68">68</a>  	}
+<a name="69" href="#69">69</a>  	
+<a name="70" href="#70">70</a>  	<strong>public</strong> <strong>void</strong> testInactivityTImeout () {
+<a name="71" href="#71">71</a>  		<strong>long</strong> value = manager.getInactivityTimeout();
+<a name="72" href="#72">72</a>  		assertEquals(value,(60*60*3*1000));
+<a name="73" href="#73">73</a>  	}
+<a name="74" href="#74">74</a>  	
+<a name="75" href="#75">75</a>  	
+<a name="76" href="#76">76</a>  	<strong>public</strong> <strong>void</strong> testStorageManager () {
+<a name="77" href="#77">77</a>  		String storageMgr = manager.getStorageManagerClass();
+<a name="78" href="#78">78</a>  		assertEquals(storageMgr,<span class="string">"org.apache.sandesha2.storage.inmemory.InMemoryStorageManager1"</span>);
+<a name="79" href="#79">79</a>  	}
+<a name="80" href="#80">80</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/RMPolicyTest.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/RMPolicyTest.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/RMPolicyTest.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/RMPolicyTest.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>RMPolicyTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Created on Nov 13, 2005</em>
+<a name="3" href="#3">3</a>   <em class="comment"> *</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * TODO To change the template for this generated file go to</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * Window - Preferences - Java - Code Style - Code Templates</em>
+<a name="6" href="#6">6</a>   <em class="comment"> */</em>
+<a name="7" href="#7">7</a>   <strong>package</strong> <a href="../../../org/apache/sandesha2/package-summary.html">org.apache.sandesha2</a>;
+<a name="8" href="#8">8</a>   
+<a name="9" href="#9">9</a>   <strong>import</strong> junit.framework.TestCase;
+<a name="10" href="#10">10</a>  
+<a name="11" href="#11">11</a>  <em>/**<em>*</em></em>
+<a name="12" href="#12">12</a>  <em> * @author chamikara</em>
+<a name="13" href="#13">13</a>  <em> *</em>
+<a name="14" href="#14">14</a>  <em> * TODO To change the template for this generated type comment go to</em>
+<a name="15" href="#15">15</a>  <em> * Window - Preferences - Java - Code Style - Code Templates</em>
+<a name="16" href="#16">16</a>  <em> */</em>
+<a name="17" href="#17">17</a>  <strong>public</strong> <strong>class</strong> <a href="../../../org/apache/sandesha2/RMPolicyTest.html">RMPolicyTest</a> <strong>extends</strong> TestCase {
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  	<strong>public</strong> <strong>void</strong> testRMPolicy () {
+<a name="20" href="#20">20</a>  		
+<a name="21" href="#21">21</a>  	}
+<a name="22" href="#22">22</a>  	
+<a name="23" href="#23">23</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/RetransmissionTest.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/RetransmissionTest.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/RetransmissionTest.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/RetransmissionTest.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>RetransmissionTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Created on Nov 13, 2005</em>
+<a name="3" href="#3">3</a>   <em class="comment"> *</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * TODO To change the template for this generated file go to</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * Window - Preferences - Java - Code Style - Code Templates</em>
+<a name="6" href="#6">6</a>   <em class="comment"> */</em>
+<a name="7" href="#7">7</a>   <strong>package</strong> <a href="../../../org/apache/sandesha2/package-summary.html">org.apache.sandesha2</a>;
+<a name="8" href="#8">8</a>   
+<a name="9" href="#9">9</a>   <strong>import</strong> junit.framework.TestCase;
+<a name="10" href="#10">10</a>  
+<a name="11" href="#11">11</a>  <em>/**<em>*</em></em>
+<a name="12" href="#12">12</a>  <em> * @author chamikara</em>
+<a name="13" href="#13">13</a>  <em> *</em>
+<a name="14" href="#14">14</a>  <em> * TODO To change the template for this generated type comment go to</em>
+<a name="15" href="#15">15</a>  <em> * Window - Preferences - Java - Code Style - Code Templates</em>
+<a name="16" href="#16">16</a>  <em> */</em>
+<a name="17" href="#17">17</a>  <strong>public</strong> <strong>class</strong> <a href="../../../org/apache/sandesha2/RetransmissionTest.html">RetransmissionTest</a> <strong>extends</strong> TestCase {
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  	<strong>public</strong> <strong>void</strong> testRetransmission () {
+<a name="20" href="#20">20</a>  		
+<a name="21" href="#21">21</a>  	}
+<a name="22" href="#22">22</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/SandeshaTestCase.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/SandeshaTestCase.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/SandeshaTestCase.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/SandeshaTestCase.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,100 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>SandeshaTestCase xref</title>
+<link type="text/css" rel="stylesheet" href="../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <strong>package</strong> <a href="../../../org/apache/sandesha2/package-summary.html">org.apache.sandesha2</a>;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <strong>import</strong> junit.framework.TestCase;
+<a name="4" href="#4">4</a>   <strong>import</strong> org.apache.axis2.context.MessageContext;
+<a name="5" href="#5">5</a>   <strong>import</strong> org.apache.axis2.context.ConfigurationContext;
+<a name="6" href="#6">6</a>   <strong>import</strong> org.apache.axis2.engine.AxisConfiguration;
+<a name="7" href="#7">7</a>   <strong>import</strong> org.apache.axis2.engine.AxisConfigurationImpl;
+<a name="8" href="#8">8</a>   <strong>import</strong> org.apache.axis2.soap.SOAPEnvelope;
+<a name="9" href="#9">9</a>   <strong>import</strong> org.apache.axis2.om.OMAbstractFactory;
+<a name="10" href="#10">10</a>  <strong>import</strong> org.apache.axis2.om.OMXMLParserWrapper;
+<a name="11" href="#11">11</a>  <strong>import</strong> org.apache.axis2.om.impl.llom.factory.OMXMLBuilderFactory;
+<a name="12" href="#12">12</a>  
+<a name="13" href="#13">13</a>  <strong>import</strong> javax.xml.stream.XMLStreamReader;
+<a name="14" href="#14">14</a>  <strong>import</strong> javax.xml.stream.XMLInputFactory;
+<a name="15" href="#15">15</a>  <strong>import</strong> javax.xml.stream.XMLStreamException;
+<a name="16" href="#16">16</a>  <strong>import</strong> java.io.*;
+<a name="17" href="#17">17</a>  <em class="comment">/*</em>
+<a name="18" href="#18">18</a>  <em class="comment"> * Copyright 2004,2005 The Apache Software Foundation.</em>
+<a name="19" href="#19">19</a>  <em class="comment"> *</em>
+<a name="20" href="#20">20</a>  <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="21" href="#21">21</a>  <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="22" href="#22">22</a>  <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="23" href="#23">23</a>  <em class="comment"> *</em>
+<a name="24" href="#24">24</a>  <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="25" href="#25">25</a>  <em class="comment"> *</em>
+<a name="26" href="#26">26</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="27" href="#27">27</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="28" href="#28">28</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="29" href="#29">29</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="30" href="#30">30</a>  <em class="comment"> * limitations under the License.</em>
+<a name="31" href="#31">31</a>  <em class="comment"> */</em>
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>  <strong>public</strong> <strong>class</strong> <a href="../../../org/apache/sandesha2/SandeshaTestCase.html">SandeshaTestCase</a> <strong>extends</strong> TestCase {
+<a name="34" href="#34">34</a>      String resourceDir = <span class="string">"test-resources"</span>;
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>      <strong>public</strong> <a href="../../../org/apache/sandesha2/SandeshaTestCase.html">SandeshaTestCase</a>(String name) {
+<a name="37" href="#37">37</a>          <strong>super</strong>(name);
+<a name="38" href="#38">38</a>          File baseDir = <strong>new</strong> File(<span class="string">""</span>);
+<a name="39" href="#39">39</a>          String testRource = baseDir.getAbsolutePath() + File.separator + <span class="string">"test-resources"</span>;
+<a name="40" href="#40">40</a>          resourceDir = <strong>new</strong> File(testRource).getPath();
+<a name="41" href="#41">41</a>  
+<a name="42" href="#42">42</a>      }
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>      <strong>protected</strong> InputStreamReader getResource(String relativePath, String resourceName) {
+<a name="45" href="#45">45</a>          String resourceFile = resourceDir + relativePath + File.separator + resourceName;
+<a name="46" href="#46">46</a>          String file = <strong>new</strong> File(<span class="string">"/home/sanka/sandesha2-src/trunk/test-resources/CreateSequence.xml"</span>).getPath();
+<a name="47" href="#47">47</a>  
+<a name="48" href="#48">48</a>          <strong>try</strong> {
+<a name="49" href="#49">49</a>              FileReader reader = <strong>new</strong> FileReader(resourceFile);
+<a name="50" href="#50">50</a>              <strong>return</strong> reader;
+<a name="51" href="#51">51</a>          } <strong>catch</strong> (FileNotFoundException e) {
+<a name="52" href="#52">52</a>              <strong>throw</strong> <strong>new</strong> RuntimeException(<span class="string">"cannot load the test-resource"</span>, e);
+<a name="53" href="#53">53</a>          }
+<a name="54" href="#54">54</a>      }
+<a name="55" href="#55">55</a>  
+<a name="56" href="#56">56</a>      <strong>protected</strong> SOAPEnvelope getSOAPEnvelope() {
+<a name="57" href="#57">57</a>          <strong>return</strong> OMAbstractFactory.getSOAP11Factory().getDefaultEnvelope();
+<a name="58" href="#58">58</a>      }
+<a name="59" href="#59">59</a>  
+<a name="60" href="#60">60</a>      <strong>protected</strong> SOAPEnvelope getSOAPEnvelope(String relativePath, String resourceName) {
+<a name="61" href="#61">61</a>          <strong>try</strong> {
+<a name="62" href="#62">62</a>              XMLStreamReader reader = XMLInputFactory.newInstance().createXMLStreamReader(
+<a name="63" href="#63">63</a>                      getResource(relativePath, resourceName));
+<a name="64" href="#64">64</a>              OMXMLParserWrapper wrapper = OMXMLBuilderFactory.createStAXSOAPModelBuilder(
+<a name="65" href="#65">65</a>                      OMAbstractFactory.getSOAP11Factory(), reader);
+<a name="66" href="#66">66</a>              <strong>return</strong> (SOAPEnvelope) wrapper.getDocumentElement();
+<a name="67" href="#67">67</a>  
+<a name="68" href="#68">68</a>          } <strong>catch</strong> (XMLStreamException e) {
+<a name="69" href="#69">69</a>              <strong>throw</strong> <strong>new</strong> RuntimeException(e);
+<a name="70" href="#70">70</a>          }
+<a name="71" href="#71">71</a>      }
+<a name="72" href="#72">72</a>  
+<a name="73" href="#73">73</a>      <strong>protected</strong> SOAPEnvelope getEmptySOAPEnvelope() {
+<a name="74" href="#74">74</a>          <strong>return</strong> OMAbstractFactory.getSOAP11Factory().getDefaultEnvelope();
+<a name="75" href="#75">75</a>      }
+<a name="76" href="#76">76</a>  
+<a name="77" href="#77">77</a>  
+<a name="78" href="#78">78</a>      <strong>private</strong> MessageContext getMessageContext() throws Exception{
+<a name="79" href="#79">79</a>          AxisConfiguration axisConfig = <strong>new</strong> AxisConfigurationImpl();
+<a name="80" href="#80">80</a>          ConfigurationContext configCtx = <strong>new</strong> ConfigurationContext(axisConfig);
+<a name="81" href="#81">81</a>          MessageContext msgCtx = <strong>new</strong> MessageContext(configCtx);
+<a name="82" href="#82">82</a>          <strong>return</strong> msgCtx;
+<a name="83" href="#83">83</a>  
+<a name="84" href="#84">84</a>      }
+<a name="85" href="#85">85</a>  
+<a name="86" href="#86">86</a>  
+<a name="87" href="#87">87</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/package-frame.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/package-frame.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/package-frame.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/package-frame.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,43 @@
+
+
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+  <html lang="en">
+    <head>
+      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+      <title>Apache Sandesha2 0.9 Reference Package org.apache.sandesha2</title>
+      <link rel="stylesheet" href="../../../stylesheet.css" type="text/css" title="style"></link>
+    </head>
+    <body>
+
+      <h3>
+        <a href="package-summary.html" target="classFrame">org.apache.sandesha2</a>
+      </h3>
+
+      <h3>Classes</h3>
+
+      <ul>
+        
+          <li>
+            <a href="DuplicateMessageTest.html" target="classFrame">DuplicateMessageTest</a>
+          </li>
+        
+          <li>
+            <a href="PorpertyLoaderTest.html" target="classFrame">PorpertyLoaderTest</a>
+          </li>
+        
+          <li>
+            <a href="RMPolicyTest.html" target="classFrame">RMPolicyTest</a>
+          </li>
+        
+          <li>
+            <a href="RetransmissionTest.html" target="classFrame">RetransmissionTest</a>
+          </li>
+        
+          <li>
+            <a href="SandeshaTestCase.html" target="classFrame">SandeshaTestCase</a>
+          </li>
+        
+      </ul>
+
+    </body>
+  </html>

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/package-summary.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/package-summary.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/package-summary.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/package-summary.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,126 @@
+
+
+  
+
+  
+    
+
+    
+
+    
+
+  
+      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+      <html lang="en">
+        <head>
+          <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+          <title>Apache Sandesha2 0.9 Reference Package </title>
+          <link rel="stylesheet" href="../../../stylesheet.css" type="text/css" title="style"></link>
+        </head>
+        <body>
+
+          
+      
+      
+
+      <div class="overview">
+        <ul>
+          <li>
+            <a href="../../../overview-summary.html">Overview</a>
+          </li>
+          <li class="selected">Package</li>
+        </ul>
+      </div>
+      <div class="framenoframe">
+        <ul>
+          <li>
+            <a href="../../../index.html" target="_top">FRAMES</a>
+          </li>
+          <li>
+            <a href="package-summary.html" target="_top">NO FRAMES</a>
+          </li>
+        </ul>
+      </div>
+
+      
+
+    
+      
+      <h2>Package org.apache.sandesha2</h2>
+
+      <table class="summary">
+        <thead>
+          <tr>
+            <th>Class Summary</th>
+          </tr>
+        </thead>
+
+        <tbody>
+          
+            <tr>
+              <td>
+                <a href="DuplicateMessageTest.html" target="classFrame">DuplicateMessageTest</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="PorpertyLoaderTest.html" target="classFrame">PorpertyLoaderTest</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="RMPolicyTest.html" target="classFrame">RMPolicyTest</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="RetransmissionTest.html" target="classFrame">RetransmissionTest</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="SandeshaTestCase.html" target="classFrame">SandeshaTestCase</a>
+              </td>
+            </tr>
+          
+        </tbody>
+      </table>
+
+    
+      
+      
+
+      <div class="overview">
+        <ul>
+          <li>
+            <a href="../../../overview-summary.html">Overview</a>
+          </li>
+          <li class="selected">Package</li>
+        </ul>
+      </div>
+      <div class="framenoframe">
+        <ul>
+          <li>
+            <a href="../../../index.html" target="_top">FRAMES</a>
+          </li>
+          <li>
+            <a href="package-summary.html" target="_top">NO FRAMES</a>
+          </li>
+        </ul>
+      </div>
+
+      
+
+    
+    
+
+          <hr></hr>
+
+          Copyright &copy; 2005 Apache Web Services. All Rights Reserved.
+        </body>
+      </html>
+    

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,109 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>CreateSeqBeanMgrTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <strong>package</strong> <a href="../../../../org/apache/sandesha2/storage/package-summary.html">org.apache.sandesha2.storage</a>;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <strong>import</strong> org.apache.sandesha2.storage.beanmanagers.CreateSeqBeanMgr;
+<a name="4" href="#4">4</a>   <strong>import</strong> org.apache.sandesha2.storage.beans.CreateSeqBean;
+<a name="5" href="#5">5</a>   <strong>import</strong> org.apache.sandesha2.util.SandeshaUtil;
+<a name="6" href="#6">6</a>   <strong>import</strong> org.apache.sandesha2.SandeshaTestCase;
+<a name="7" href="#7">7</a>   <strong>import</strong> org.apache.axis2.engine.AxisConfiguration;
+<a name="8" href="#8">8</a>   <strong>import</strong> org.apache.axis2.engine.AxisConfigurationImpl;
+<a name="9" href="#9">9</a>   <strong>import</strong> org.apache.axis2.context.ConfigurationContext;
+<a name="10" href="#10">10</a>  
+<a name="11" href="#11">11</a>  <strong>import</strong> java.util.Iterator;
+<a name="12" href="#12">12</a>  <em class="comment">/*</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * Copyright 2004,2005 The Apache Software Foundation.</em>
+<a name="14" href="#14">14</a>  <em class="comment"> *</em>
+<a name="15" href="#15">15</a>  <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="16" href="#16">16</a>  <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="17" href="#17">17</a>  <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="18" href="#18">18</a>  <em class="comment"> *</em>
+<a name="19" href="#19">19</a>  <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="20" href="#20">20</a>  <em class="comment"> *</em>
+<a name="21" href="#21">21</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="22" href="#22">22</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="23" href="#23">23</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="24" href="#24">24</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="25" href="#25">25</a>  <em class="comment"> * limitations under the License.</em>
+<a name="26" href="#26">26</a>  <em class="comment"> */</em>
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/sandesha2/storage/CreateSeqBeanMgrTest.html">CreateSeqBeanMgrTest</a> <strong>extends</strong> <a href="../../../../org/apache/sandesha2/SandeshaTestCase.html">SandeshaTestCase</a> {
+<a name="29" href="#29">29</a>      <strong>private</strong> CreateSeqBeanMgr mgr;
+<a name="30" href="#30">30</a>  
+<a name="31" href="#31">31</a>      <strong>public</strong> <a href="../../../../org/apache/sandesha2/storage/CreateSeqBeanMgrTest.html">CreateSeqBeanMgrTest</a>() {
+<a name="32" href="#32">32</a>          <strong>super</strong>(<span class="string">"CreateSeqBeanMgrTest"</span>);
+<a name="33" href="#33">33</a>      }
+<a name="34" href="#34">34</a>  
+<a name="35" href="#35">35</a>      <strong>public</strong> <strong>void</strong> setUp() throws Exception {
+<a name="36" href="#36">36</a>          AxisConfiguration axisConfig =  <strong>new</strong> AxisConfigurationImpl();
+<a name="37" href="#37">37</a>          ConfigurationContext configCtx = <strong>new</strong> ConfigurationContext(axisConfig);
+<a name="38" href="#38">38</a>  
+<a name="39" href="#39">39</a>          StorageManager storageManager = SandeshaUtil.getSandeshaStorageManager(configCtx);
+<a name="40" href="#40">40</a>          mgr = storageManager.getCreateSeqBeanMgr();
+<a name="41" href="#41">41</a>      }
+<a name="42" href="#42">42</a>  
+<a name="43" href="#43">43</a>      <strong>public</strong> <strong>void</strong> testDelete() {
+<a name="44" href="#44">44</a>          mgr.insert(<strong>new</strong> CreateSeqBean(<span class="string">"TmpSeqId1"</span>, <span class="string">"CreateSeqMsgId1"</span>, <span class="string">"SeqId1"</span>));
+<a name="45" href="#45">45</a>          mgr.delete(<span class="string">"CreateSeqMsgId1"</span>);
+<a name="46" href="#46">46</a>          assertNull(mgr.retrieve(<span class="string">"CreateSeqMsgId1"</span>));
+<a name="47" href="#47">47</a>      }
+<a name="48" href="#48">48</a>  
+<a name="49" href="#49">49</a>      <strong>public</strong> <strong>void</strong> testFind() {
+<a name="50" href="#50">50</a>          mgr.insert(<strong>new</strong> CreateSeqBean(<span class="string">"TmpSeqId2"</span>, <span class="string">"CreateSeqMsgId2"</span>, <span class="string">"SeqId2"</span>));
+<a name="51" href="#51">51</a>          mgr.insert(<strong>new</strong> CreateSeqBean(<span class="string">"TmpSeqId2"</span>, <span class="string">"CreateSeqMsgId3"</span>, <span class="string">"SeqId3"</span>));
+<a name="52" href="#52">52</a>  
+<a name="53" href="#53">53</a>          CreateSeqBean target = <strong>new</strong> CreateSeqBean();
+<a name="54" href="#54">54</a>          target.setInternalSequenceId(<span class="string">"TmpSeqId2"</span>);
+<a name="55" href="#55">55</a>  
+<a name="56" href="#56">56</a>          Iterator iter = mgr.find(target).iterator();
+<a name="57" href="#57">57</a>          CreateSeqBean tmp = (CreateSeqBean) iter.next();
+<a name="58" href="#58">58</a>          <strong>if</strong> (tmp.getCreateSeqMsgId().equals(<span class="string">"CreateSeqMsgId1"</span>)) {
+<a name="59" href="#59">59</a>              tmp = (CreateSeqBean) iter.next();
+<a name="60" href="#60">60</a>              assertTrue(tmp.getCreateSeqMsgId().equals(<span class="string">"CreateSeqMsgId2"</span>));
+<a name="61" href="#61">61</a>  
+<a name="62" href="#62">62</a>          }   <strong>else</strong> {
+<a name="63" href="#63">63</a>              tmp = (CreateSeqBean) iter.next();
+<a name="64" href="#64">64</a>              assertTrue(tmp.getCreateSeqMsgId().equals(<span class="string">"CreateSeqMsgId3"</span>));
+<a name="65" href="#65">65</a>          }
+<a name="66" href="#66">66</a>      }
+<a name="67" href="#67">67</a>  
+<a name="68" href="#68">68</a>      <strong>public</strong> <strong>void</strong> testInsert() {
+<a name="69" href="#69">69</a>          CreateSeqBean bean = <strong>new</strong> CreateSeqBean(<span class="string">"TmpSeqId4"</span>, <span class="string">"CreateSeqMsgId4"</span>, <span class="string">"SeqId4"</span>);
+<a name="70" href="#70">70</a>          mgr.insert(bean);
+<a name="71" href="#71">71</a>          CreateSeqBean tmpbean = mgr.retrieve(<span class="string">"CreateSeqMsgId4"</span>);
+<a name="72" href="#72">72</a>          assertTrue(tmpbean.getCreateSeqMsgId().equals(<span class="string">"CreateSeqMsgId4"</span>));
+<a name="73" href="#73">73</a>          assertTrue(tmpbean.getSequenceId().equals(<span class="string">"SeqId4"</span>));
+<a name="74" href="#74">74</a>          assertTrue(tmpbean.getInternalSequenceId().equals(<span class="string">"TmpSeqId4"</span>));
+<a name="75" href="#75">75</a>      }
+<a name="76" href="#76">76</a>  
+<a name="77" href="#77">77</a>  
+<a name="78" href="#78">78</a>      <strong>public</strong> <strong>void</strong> testRetrieve() {
+<a name="79" href="#79">79</a>          assertNull(mgr.retrieve(<span class="string">"CreateSeqMsgId5"</span>));
+<a name="80" href="#80">80</a>  
+<a name="81" href="#81">81</a>          CreateSeqBean bean = <strong>new</strong> CreateSeqBean(<span class="string">"TmpSeqId5"</span>, <span class="string">"CreateSeqMsgId5"</span>, <span class="string">"SeqId5"</span>);
+<a name="82" href="#82">82</a>          mgr.insert(bean);
+<a name="83" href="#83">83</a>          CreateSeqBean tmp = mgr.retrieve(<span class="string">"CreateSeqMsgId5"</span>);
+<a name="84" href="#84">84</a>          assertTrue(tmp.getCreateSeqMsgId().equals(<span class="string">"CreateSeqMsgId5"</span>));
+<a name="85" href="#85">85</a>      }
+<a name="86" href="#86">86</a>  
+<a name="87" href="#87">87</a>      <strong>public</strong> <strong>void</strong> testUpdate() {
+<a name="88" href="#88">88</a>  
+<a name="89" href="#89">89</a>          CreateSeqBean bean = <strong>new</strong> CreateSeqBean(<span class="string">"TmpSeqId6"</span>, <span class="string">"CreateSeqMsgId6"</span>, <span class="string">"SeqId6"</span>);
+<a name="90" href="#90">90</a>          mgr.insert(bean);
+<a name="91" href="#91">91</a>          bean.setInternalSequenceId(<span class="string">"TmpSeqId7"</span>);
+<a name="92" href="#92">92</a>          mgr.update(bean);
+<a name="93" href="#93">93</a>          CreateSeqBean tmp = mgr.retrieve(<span class="string">"CreateSeqMsgId6"</span>);
+<a name="94" href="#94">94</a>          assertTrue(tmp.getInternalSequenceId().equals(<span class="string">"TmpSeqId7"</span>));
+<a name="95" href="#95">95</a>      }
+<a name="96" href="#96">96</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/storage/NextMsgBeanMgrTest.html
URL: http://svn.apache.org/viewcvs/webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/storage/NextMsgBeanMgrTest.html?rev=349924&view=auto
==============================================================================
--- webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/storage/NextMsgBeanMgrTest.html (added)
+++ webservices/site/trunk/targets/sandesha/sandesha2/xref-test/org/apache/sandesha2/storage/NextMsgBeanMgrTest.html Wed Nov 30 03:11:01 2005
@@ -0,0 +1,106 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>NextMsgBeanMgrTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <strong>package</strong> <a href="../../../../org/apache/sandesha2/storage/package-summary.html">org.apache.sandesha2.storage</a>;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <strong>import</strong> org.apache.sandesha2.storage.beanmanagers.NextMsgBeanMgr;
+<a name="4" href="#4">4</a>   <strong>import</strong> org.apache.sandesha2.storage.beans.NextMsgBean;
+<a name="5" href="#5">5</a>   <strong>import</strong> org.apache.sandesha2.util.SandeshaUtil;
+<a name="6" href="#6">6</a>   <strong>import</strong> org.apache.sandesha2.SandeshaTestCase;
+<a name="7" href="#7">7</a>   <strong>import</strong> org.apache.axis2.engine.AxisConfiguration;
+<a name="8" href="#8">8</a>   <strong>import</strong> org.apache.axis2.engine.AxisConfigurationImpl;
+<a name="9" href="#9">9</a>   <strong>import</strong> org.apache.axis2.context.ConfigurationContext;
+<a name="10" href="#10">10</a>  
+<a name="11" href="#11">11</a>  <strong>import</strong> java.util.Iterator;
+<a name="12" href="#12">12</a>  <em class="comment">/*</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * Copyright 2004,2005 The Apache Software Foundation.</em>
+<a name="14" href="#14">14</a>  <em class="comment"> *</em>
+<a name="15" href="#15">15</a>  <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="16" href="#16">16</a>  <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="17" href="#17">17</a>  <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="18" href="#18">18</a>  <em class="comment"> *</em>
+<a name="19" href="#19">19</a>  <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="20" href="#20">20</a>  <em class="comment"> *</em>
+<a name="21" href="#21">21</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="22" href="#22">22</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="23" href="#23">23</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="24" href="#24">24</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="25" href="#25">25</a>  <em class="comment"> * limitations under the License.</em>
+<a name="26" href="#26">26</a>  <em class="comment"> */</em>
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/sandesha2/storage/NextMsgBeanMgrTest.html">NextMsgBeanMgrTest</a> <strong>extends</strong> <a href="../../../../org/apache/sandesha2/SandeshaTestCase.html">SandeshaTestCase</a> {
+<a name="29" href="#29">29</a>      <strong>private</strong> NextMsgBeanMgr mgr;
+<a name="30" href="#30">30</a>  
+<a name="31" href="#31">31</a>      <strong>public</strong> <a href="../../../../org/apache/sandesha2/storage/NextMsgBeanMgrTest.html">NextMsgBeanMgrTest</a>(String name) {
+<a name="32" href="#32">32</a>          <strong>super</strong>(name);
+<a name="33" href="#33">33</a>      }
+<a name="34" href="#34">34</a>  
+<a name="35" href="#35">35</a>      <strong>public</strong> <strong>void</strong> setUp() throws Exception {
+<a name="36" href="#36">36</a>          AxisConfiguration axisConfig = <strong>new</strong> AxisConfigurationImpl();
+<a name="37" href="#37">37</a>          ConfigurationContext configCtx = <strong>new</strong> ConfigurationContext(axisConfig);
+<a name="38" href="#38">38</a>          StorageManager storageManager = SandeshaUtil.getSandeshaStorageManager(configCtx);
+<a name="39" href="#39">39</a>          mgr = storageManager.getNextMsgBeanMgr();
+<a name="40" href="#40">40</a>  
+<a name="41" href="#41">41</a>      }
+<a name="42" href="#42">42</a>  
+<a name="43" href="#43">43</a>      <strong>public</strong> <strong>void</strong> testDelete() {
+<a name="44" href="#44">44</a>          mgr.insert(<strong>new</strong> NextMsgBean(<span class="string">"SeqId1"</span>, 1001));
+<a name="45" href="#45">45</a>          mgr.delete(<span class="string">"SeqId1"</span>);
+<a name="46" href="#46">46</a>          assertNull(mgr.retrieve(<span class="string">"SeqId1"</span>));
+<a name="47" href="#47">47</a>      }
+<a name="48" href="#48">48</a>  
+<a name="49" href="#49">49</a>      <strong>public</strong> <strong>void</strong> testFind() {
+<a name="50" href="#50">50</a>          mgr.insert(<strong>new</strong> NextMsgBean(<span class="string">"SeqId2"</span>, 1002));
+<a name="51" href="#51">51</a>          mgr.insert(<strong>new</strong> NextMsgBean(<span class="string">"SeqId3"</span>, 1002));
+<a name="52" href="#52">52</a>  
+<a name="53" href="#53">53</a>          NextMsgBean target = <strong>new</strong> NextMsgBean();
+<a name="54" href="#54">54</a>          target.setNextMsgNoToProcess(1002);
+<a name="55" href="#55">55</a>  
+<a name="56" href="#56">56</a>          Iterator iterator = mgr.find(target).iterator();
+<a name="57" href="#57">57</a>          NextMsgBean tmp = (NextMsgBean) iterator.next();
+<a name="58" href="#58">58</a>  
+<a name="59" href="#59">59</a>          <strong>if</strong> (tmp.getSequenceId().equals(<span class="string">"SeqId2"</span>)) {
+<a name="60" href="#60">60</a>              tmp = (NextMsgBean) iterator.next();
+<a name="61" href="#61">61</a>              tmp.getSequenceId().equals(<span class="string">"SeqId3"</span>);
+<a name="62" href="#62">62</a>          } <strong>else</strong> {
+<a name="63" href="#63">63</a>              tmp = (NextMsgBean) iterator.next();
+<a name="64" href="#64">64</a>              tmp.getSequenceId().equals(<span class="string">"SeqId2"</span>);
+<a name="65" href="#65">65</a>          }
+<a name="66" href="#66">66</a>  
+<a name="67" href="#67">67</a>      }
+<a name="68" href="#68">68</a>  
+<a name="69" href="#69">69</a>      <strong>public</strong> <strong>void</strong> testInsert() {
+<a name="70" href="#70">70</a>          NextMsgBean bean = <strong>new</strong> NextMsgBean(<span class="string">"SeqId4"</span>, 1004);
+<a name="71" href="#71">71</a>          mgr.insert(bean);
+<a name="72" href="#72">72</a>          NextMsgBean tmp = mgr.retrieve(<span class="string">"SeqId4"</span>);
+<a name="73" href="#73">73</a>          assertTrue(tmp.getNextMsgNoToProcess() == 1004);
+<a name="74" href="#74">74</a>      }
+<a name="75" href="#75">75</a>  
+<a name="76" href="#76">76</a>      <strong>public</strong> <strong>void</strong> testRetrieve() {
+<a name="77" href="#77">77</a>          assertNull(mgr.retrieve(<span class="string">"SeqId5"</span>));
+<a name="78" href="#78">78</a>          mgr.insert(<strong>new</strong> NextMsgBean(<span class="string">"SeqId5"</span>, 1005));
+<a name="79" href="#79">79</a>  
+<a name="80" href="#80">80</a>          NextMsgBean tmp = mgr.retrieve(<span class="string">"SeqId5"</span>);
+<a name="81" href="#81">81</a>          assertTrue(tmp.getNextMsgNoToProcess() == 1005);
+<a name="82" href="#82">82</a>      }
+<a name="83" href="#83">83</a>  
+<a name="84" href="#84">84</a>      <strong>public</strong> <strong>void</strong> testUpdate() {
+<a name="85" href="#85">85</a>          NextMsgBean bean = <strong>new</strong> NextMsgBean(<span class="string">"SeqId6"</span>, 1006);
+<a name="86" href="#86">86</a>          mgr.insert(bean);
+<a name="87" href="#87">87</a>          bean.setNextMsgNoToProcess(1007);
+<a name="88" href="#88">88</a>          mgr.update(bean);
+<a name="89" href="#89">89</a>          NextMsgBean tmp = mgr.retrieve(<span class="string">"SeqId6"</span>);
+<a name="90" href="#90">90</a>          assertTrue(tmp.getNextMsgNoToProcess() ==1007);
+<a name="91" href="#91">91</a>      }
+<a name="92" href="#92">92</a>  
+<a name="93" href="#93">93</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+



Mime
View raw message