You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by wi...@apache.org on 2005/08/12 22:45:46 UTC
svn commit: r232376 [45/112] - in
/webservices/muse/trunk/src/examples/client: ./ bin/ bin/axis/
bin/axis/com/ bin/axis/com/xyz/ bin/org/ bin/org/apache/ bin/org/apache/ws/
bin/org/apache/ws/client/ bin/org/apache/ws/client/async/
bin/org/apache/ws/cli...
Added: webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/Disk.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/Disk.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/Disk.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/Disk.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,322 @@
+<!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>Disk 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 class="comment">=============================================================================*</em></em>
+<a name="2" href="#2">2</a> <em class="comment"> * Copyright 2004 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> <strong>package</strong> <a href="../../../../../org/apache/ws/resource/example/package-summary.html">org.apache.ws.resource.example</a>;
+<a name="17" href="#17">17</a>
+<a name="18" href="#18">18</a> <strong>import</strong> org.apache.xmlbeans.GDuration;
+<a name="19" href="#19">19</a> <strong>import</strong> java.io.Serializable;
+<a name="20" href="#20">20</a> <strong>import</strong> java.math.BigInteger;
+<a name="21" href="#21">21</a> <strong>import</strong> java.util.Calendar;
+<a name="22" href="#22">22</a> <strong>import</strong> java.util.HashSet;
+<a name="23" href="#23">23</a> <strong>import</strong> java.util.Set;
+<a name="24" href="#24">24</a>
+<a name="25" href="#25">25</a> <em>/**<em>*</em></em>
+<a name="26" href="#26">26</a> <em> * Example bean representing a "backend" managed resource.</em>
+<a name="27" href="#27">27</a> <em> *</em>
+<a name="28" href="#28">28</a> <em> * NOTE: Here's a high-level algo for mapping resource prop XSD types to member var types:</em>
+<a name="29" href="#29">29</a> <em> * <pre></em>
+<a name="30" href="#30">30</a> <em> * if ( minOccurs == "1" && maxOccurs == "1" )</em>
+<a name="31" href="#31">31</a> <em> * type = single object or primitive</em>
+<a name="32" href="#32">32</a> <em> * elif ( maxOccurs != "unbounded" )</em>
+<a name="33" href="#33">33</a> <em> * type = array of objects or primitives w/ size=maxOccurs</em>
+<a name="34" href="#34">34</a> <em> * elif</em>
+<a name="35" href="#35">35</a> <em> * type = java.util.List</em>
+<a name="36" href="#36">36</a> <em> * fi</em>
+<a name="37" href="#37">37</a> <em> * </pre></em>
+<a name="38" href="#38">38</a> <em> *</em>
+<a name="39" href="#39">39</a> <em> * @author Ian P. Springer</em>
+<a name="40" href="#40">40</a> <em> */</em>
+<a name="41" href="#41">41</a> <strong>public</strong> <strong>class</strong> <a href="../../../../../org/apache/ws/resource/example/Disk.html">Disk</a>
+<a name="42" href="#42">42</a> implements Serializable
+<a name="43" href="#43">43</a> {
+<a name="44" href="#44">44</a> <strong>private</strong> BigInteger m_number_of_blocks = ExampleConstants.INITIAL_PROP_VALUE__NUMBER_OF_BLOCKS;
+<a name="45" href="#45">45</a> <strong>private</strong> Set m_filesystems = buildFileSystemSet( );
+<a name="46" href="#46">46</a> <strong>private</strong> Set m_state_info_set = buildStateInfoSet( );
+<a name="47" href="#47">47</a> <strong>private</strong> String m_manufacturer = ExampleConstants.INITIAL_PROP_VALUE__MANUFACTURER;
+<a name="48" href="#48">48</a> <strong>private</strong> <strong>int</strong> m_block_size = ExampleConstants.INITIAL_PROP_VALUE__BLOCK_SIZE;
+<a name="49" href="#49">49</a> <strong>private</strong> <strong>boolean</strong> m_isStarted;
+<a name="50" href="#50">50</a> <strong>private</strong> <strong>final</strong> String m_serialNumber;
+<a name="51" href="#51">51</a> <strong>private</strong> GDuration m_activeTime = ExampleConstants.INITIAL_PROP_VALUE__ACTIVE_TIME;
+<a name="52" href="#52">52</a>
+<a name="53" href="#53">53</a> <em>/**<em>*</em></em>
+<a name="54" href="#54">54</a> <em> * Creates a new {@link Disk} object with the specified serial number.</em>
+<a name="55" href="#55">55</a> <em> */</em>
+<a name="56" href="#56">56</a> <strong>public</strong> <a href="../../../../../org/apache/ws/resource/example/Disk.html">Disk</a>( String serialNumber )
+<a name="57" href="#57">57</a> {
+<a name="58" href="#58">58</a> m_serialNumber = serialNumber;
+<a name="59" href="#59">59</a> }
+<a name="60" href="#60">60</a>
+<a name="61" href="#61">61</a> <em>/**<em>*</em></em>
+<a name="62" href="#62">62</a> <em> * DOCUMENT_ME</em>
+<a name="63" href="#63">63</a> <em> *</em>
+<a name="64" href="#64">64</a> <em> * @param activeTime DOCUMENT_ME</em>
+<a name="65" href="#65">65</a> <em> */</em>
+<a name="66" href="#66">66</a> <strong>public</strong> <strong>void</strong> setActiveTime( GDuration activeTime )
+<a name="67" href="#67">67</a> {
+<a name="68" href="#68">68</a> m_activeTime = activeTime;
+<a name="69" href="#69">69</a> }
+<a name="70" href="#70">70</a>
+<a name="71" href="#71">71</a> <em>/**<em>*</em></em>
+<a name="72" href="#72">72</a> <em> * DOCUMENT_ME</em>
+<a name="73" href="#73">73</a> <em> *</em>
+<a name="74" href="#74">74</a> <em> * @return DOCUMENT_ME</em>
+<a name="75" href="#75">75</a> <em> */</em>
+<a name="76" href="#76">76</a> <strong>public</strong> GDuration getActiveTime( )
+<a name="77" href="#77">77</a> {
+<a name="78" href="#78">78</a> <strong>return</strong> m_activeTime;
+<a name="79" href="#79">79</a> }
+<a name="80" href="#80">80</a>
+<a name="81" href="#81">81</a> <em>/**<em>*</em></em>
+<a name="82" href="#82">82</a> <em> * DOCUMENT_ME</em>
+<a name="83" href="#83">83</a> <em> *</em>
+<a name="84" href="#84">84</a> <em> * @param blockSize DOCUMENT_ME</em>
+<a name="85" href="#85">85</a> <em> */</em>
+<a name="86" href="#86">86</a> <strong>public</strong> <strong>void</strong> setBlockSize( <strong>int</strong> blockSize )
+<a name="87" href="#87">87</a> {
+<a name="88" href="#88">88</a> m_block_size = blockSize;
+<a name="89" href="#89">89</a> }
+<a name="90" href="#90">90</a>
+<a name="91" href="#91">91</a> <em>/**<em>*</em></em>
+<a name="92" href="#92">92</a> <em> * DOCUMENT_ME</em>
+<a name="93" href="#93">93</a> <em> *</em>
+<a name="94" href="#94">94</a> <em> * @return DOCUMENT_ME</em>
+<a name="95" href="#95">95</a> <em> */</em>
+<a name="96" href="#96">96</a> <strong>public</strong> <strong>int</strong> getBlockSize( )
+<a name="97" href="#97">97</a> {
+<a name="98" href="#98">98</a> <strong>return</strong> m_block_size;
+<a name="99" href="#99">99</a> }
+<a name="100" href="#100">100</a>
+<a name="101" href="#101">101</a> <em>/**<em>*</em></em>
+<a name="102" href="#102">102</a> <em> * Returns the current capacity, computed via the formula: NumberOfBlocks * BlockSize</em>
+<a name="103" href="#103">103</a> <em> */</em>
+<a name="104" href="#104">104</a> <strong>public</strong> BigInteger getCapacity( )
+<a name="105" href="#105">105</a> {
+<a name="106" href="#106">106</a> <strong>return</strong> computeCapacity( m_number_of_blocks, m_block_size );
+<a name="107" href="#107">107</a> }
+<a name="108" href="#108">108</a>
+<a name="109" href="#109">109</a> <em>/**<em>*</em></em>
+<a name="110" href="#110">110</a> <em> * DOCUMENT_ME</em>
+<a name="111" href="#111">111</a> <em> *</em>
+<a name="112" href="#112">112</a> <em> * @return DOCUMENT_ME</em>
+<a name="113" href="#113">113</a> <em> */</em>
+<a name="114" href="#114">114</a> <strong>public</strong> String getSerialNumber( )
+<a name="115" href="#115">115</a> {
+<a name="116" href="#116">116</a> <strong>return</strong> m_serialNumber;
+<a name="117" href="#117">117</a> }
+<a name="118" href="#118">118</a>
+<a name="119" href="#119">119</a> <em>/**<em>*</em></em>
+<a name="120" href="#120">120</a> <em> * Computes the capacity of a disk with the specified number of blocks and block size.</em>
+<a name="121" href="#121">121</a> <em> *</em>
+<a name="122" href="#122">122</a> <em> * @param numberOfBlocks number of blocks</em>
+<a name="123" href="#123">123</a> <em> * @param blockSize block size</em>
+<a name="124" href="#124">124</a> <em> *</em>
+<a name="125" href="#125">125</a> <em> * @return the capacity of a disk with specified number of blocks and block size</em>
+<a name="126" href="#126">126</a> <em> */</em>
+<a name="127" href="#127">127</a> <strong>public</strong> <strong>static</strong> BigInteger computeCapacity( BigInteger numberOfBlocks,
+<a name="128" href="#128">128</a> <strong>int</strong> blockSize )
+<a name="129" href="#129">129</a> {
+<a name="130" href="#130">130</a> <strong>return</strong> numberOfBlocks.multiply( <strong>new</strong> BigInteger( String.valueOf( blockSize ) ) );
+<a name="131" href="#131">131</a> }
+<a name="132" href="#132">132</a>
+<a name="133" href="#133">133</a> <em>/**<em>*</em></em>
+<a name="134" href="#134">134</a> <em> * DOCUMENT_ME</em>
+<a name="135" href="#135">135</a> <em> *</em>
+<a name="136" href="#136">136</a> <em> * @return DOCUMENT_ME</em>
+<a name="137" href="#137">137</a> <em> */</em>
+<a name="138" href="#138">138</a> <strong>public</strong> String[] getFilesystems( )
+<a name="139" href="#139">139</a> {
+<a name="140" href="#140">140</a> <strong>return</strong> (String[]) m_filesystems.toArray( <strong>new</strong> String[0] );
+<a name="141" href="#141">141</a> }
+<a name="142" href="#142">142</a>
+<a name="143" href="#143">143</a> <em>/**<em>*</em></em>
+<a name="144" href="#144">144</a> <em> * DOCUMENT_ME</em>
+<a name="145" href="#145">145</a> <em> *</em>
+<a name="146" href="#146">146</a> <em> * @param manufacturer DOCUMENT_ME</em>
+<a name="147" href="#147">147</a> <em> */</em>
+<a name="148" href="#148">148</a> <strong>public</strong> <strong>void</strong> setManufacturer( String manufacturer )
+<a name="149" href="#149">149</a> {
+<a name="150" href="#150">150</a> m_manufacturer = manufacturer;
+<a name="151" href="#151">151</a> }
+<a name="152" href="#152">152</a>
+<a name="153" href="#153">153</a> <em>/**<em>*</em></em>
+<a name="154" href="#154">154</a> <em> * DOCUMENT_ME</em>
+<a name="155" href="#155">155</a> <em> *</em>
+<a name="156" href="#156">156</a> <em> * @return DOCUMENT_ME</em>
+<a name="157" href="#157">157</a> <em> */</em>
+<a name="158" href="#158">158</a> <strong>public</strong> String getManufacturer( )
+<a name="159" href="#159">159</a> {
+<a name="160" href="#160">160</a> <strong>return</strong> m_manufacturer;
+<a name="161" href="#161">161</a> }
+<a name="162" href="#162">162</a>
+<a name="163" href="#163">163</a> <em>/**<em>*</em></em>
+<a name="164" href="#164">164</a> <em> * DOCUMENT_ME</em>
+<a name="165" href="#165">165</a> <em> *</em>
+<a name="166" href="#166">166</a> <em> * @param numberOfBlocks DOCUMENT_ME</em>
+<a name="167" href="#167">167</a> <em> */</em>
+<a name="168" href="#168">168</a> <strong>public</strong> <strong>void</strong> setNumberOfBlocks( BigInteger numberOfBlocks )
+<a name="169" href="#169">169</a> {
+<a name="170" href="#170">170</a> m_number_of_blocks = numberOfBlocks;
+<a name="171" href="#171">171</a> }
+<a name="172" href="#172">172</a>
+<a name="173" href="#173">173</a> <em>/**<em>*</em></em>
+<a name="174" href="#174">174</a> <em> * DOCUMENT_ME</em>
+<a name="175" href="#175">175</a> <em> *</em>
+<a name="176" href="#176">176</a> <em> * @return DOCUMENT_ME</em>
+<a name="177" href="#177">177</a> <em> */</em>
+<a name="178" href="#178">178</a> <strong>public</strong> BigInteger getNumberOfBlocks( )
+<a name="179" href="#179">179</a> {
+<a name="180" href="#180">180</a> <strong>return</strong> m_number_of_blocks;
+<a name="181" href="#181">181</a> }
+<a name="182" href="#182">182</a>
+<a name="183" href="#183">183</a> <em>/**<em>*</em></em>
+<a name="184" href="#184">184</a> <em> * DOCUMENT_ME</em>
+<a name="185" href="#185">185</a> <em> *</em>
+<a name="186" href="#186">186</a> <em> * @return DOCUMENT_ME</em>
+<a name="187" href="#187">187</a> <em> */</em>
+<a name="188" href="#188">188</a> <strong>public</strong> <strong>boolean</strong> isStarted( )
+<a name="189" href="#189">189</a> {
+<a name="190" href="#190">190</a> <strong>return</strong> m_isStarted;
+<a name="191" href="#191">191</a> }
+<a name="192" href="#192">192</a>
+<a name="193" href="#193">193</a> <em>/**<em>*</em></em>
+<a name="194" href="#194">194</a> <em> * DOCUMENT_ME</em>
+<a name="195" href="#195">195</a> <em> *</em>
+<a name="196" href="#196">196</a> <em> * @return DOCUMENT_ME</em>
+<a name="197" href="#197">197</a> <em> */</em>
+<a name="198" href="#198">198</a> <strong>public</strong> <a href="../../../../../org/apache/ws/resource/example/StateInfo.html">StateInfo</a>[] getStateInfoList( )
+<a name="199" href="#199">199</a> {
+<a name="200" href="#200">200</a> <strong>return</strong> (StateInfo[]) m_state_info_set.toArray( <strong>new</strong> StateInfo[0] );
+<a name="201" href="#201">201</a> }
+<a name="202" href="#202">202</a>
+<a name="203" href="#203">203</a> <em>/**<em>*</em></em>
+<a name="204" href="#204">204</a> <em> * DOCUMENT_ME</em>
+<a name="205" href="#205">205</a> <em> *</em>
+<a name="206" href="#206">206</a> <em> * @param filesystem DOCUMENT_ME</em>
+<a name="207" href="#207">207</a> <em> */</em>
+<a name="208" href="#208">208</a> <strong>public</strong> <strong>void</strong> addFilesystem( String filesystem )
+<a name="209" href="#209">209</a> {
+<a name="210" href="#210">210</a> m_filesystems.add( filesystem );
+<a name="211" href="#211">211</a> }
+<a name="212" href="#212">212</a>
+<a name="213" href="#213">213</a> <em>/**<em>*</em></em>
+<a name="214" href="#214">214</a> <em> * DOCUMENT_ME</em>
+<a name="215" href="#215">215</a> <em> *</em>
+<a name="216" href="#216">216</a> <em> * @param stateInfo DOCUMENT_ME</em>
+<a name="217" href="#217">217</a> <em> */</em>
+<a name="218" href="#218">218</a> <strong>public</strong> <strong>void</strong> addStateInfo( StateInfo stateInfo )
+<a name="219" href="#219">219</a> {
+<a name="220" href="#220">220</a> m_state_info_set.add( stateInfo );
+<a name="221" href="#221">221</a> }
+<a name="222" href="#222">222</a>
+<a name="223" href="#223">223</a> <em>/**<em>*</em></em>
+<a name="224" href="#224">224</a> <em> * DOCUMENT_ME</em>
+<a name="225" href="#225">225</a> <em> */</em>
+<a name="226" href="#226">226</a> <strong>public</strong> <strong>void</strong> removeAllFilesystems( )
+<a name="227" href="#227">227</a> {
+<a name="228" href="#228">228</a> m_filesystems = <strong>new</strong> HashSet( );
+<a name="229" href="#229">229</a> }
+<a name="230" href="#230">230</a>
+<a name="231" href="#231">231</a> <em>/**<em>*</em></em>
+<a name="232" href="#232">232</a> <em> * DOCUMENT_ME</em>
+<a name="233" href="#233">233</a> <em> */</em>
+<a name="234" href="#234">234</a> <strong>public</strong> <strong>void</strong> removeAllStateInfos( )
+<a name="235" href="#235">235</a> {
+<a name="236" href="#236">236</a> m_state_info_set.clear( );
+<a name="237" href="#237">237</a> }
+<a name="238" href="#238">238</a>
+<a name="239" href="#239">239</a> <em>/**<em>*</em></em>
+<a name="240" href="#240">240</a> <em> * DOCUMENT_ME</em>
+<a name="241" href="#241">241</a> <em> *</em>
+<a name="242" href="#242">242</a> <em> * @param filesystem DOCUMENT_ME</em>
+<a name="243" href="#243">243</a> <em> */</em>
+<a name="244" href="#244">244</a> <strong>public</strong> <strong>void</strong> removeFilesystem( String filesystem )
+<a name="245" href="#245">245</a> {
+<a name="246" href="#246">246</a> m_filesystems.remove( filesystem );
+<a name="247" href="#247">247</a> }
+<a name="248" href="#248">248</a>
+<a name="249" href="#249">249</a> <em>/**<em>*</em></em>
+<a name="250" href="#250">250</a> <em> * DOCUMENT_ME</em>
+<a name="251" href="#251">251</a> <em> *</em>
+<a name="252" href="#252">252</a> <em> * @param stateInfo DOCUMENT_ME</em>
+<a name="253" href="#253">253</a> <em> */</em>
+<a name="254" href="#254">254</a> <strong>public</strong> <strong>void</strong> removeStateInfo( StateInfo stateInfo )
+<a name="255" href="#255">255</a> {
+<a name="256" href="#256">256</a> m_state_info_set.remove( stateInfo );
+<a name="257" href="#257">257</a> }
+<a name="258" href="#258">258</a>
+<a name="259" href="#259">259</a> <em>/**<em>*</em></em>
+<a name="260" href="#260">260</a> <em> * DOCUMENT_ME</em>
+<a name="261" href="#261">261</a> <em> *</em>
+<a name="262" href="#262">262</a> <em> * @throws Exception DOCUMENT_ME</em>
+<a name="263" href="#263">263</a> <em> */</em>
+<a name="264" href="#264">264</a> <strong>public</strong> <strong>void</strong> start( )
+<a name="265" href="#265">265</a> throws Exception
+<a name="266" href="#266">266</a> {
+<a name="267" href="#267">267</a> <strong>if</strong> ( !m_isStarted )
+<a name="268" href="#268">268</a> {
+<a name="269" href="#269">269</a> m_isStarted = <strong>true</strong>;
+<a name="270" href="#270">270</a> System.out.println( <span class="string">"Backend disk with serial # "</span> + m_serialNumber + <span class="string">" has been started."</span> );
+<a name="271" href="#271">271</a> }
+<a name="272" href="#272">272</a> }
+<a name="273" href="#273">273</a>
+<a name="274" href="#274">274</a> <em>/**<em>*</em></em>
+<a name="275" href="#275">275</a> <em> * DOCUMENT_ME</em>
+<a name="276" href="#276">276</a> <em> *</em>
+<a name="277" href="#277">277</a> <em> * @throws Exception DOCUMENT_ME</em>
+<a name="278" href="#278">278</a> <em> */</em>
+<a name="279" href="#279">279</a> <strong>public</strong> <strong>void</strong> stop( )
+<a name="280" href="#280">280</a> throws Exception
+<a name="281" href="#281">281</a> {
+<a name="282" href="#282">282</a> <strong>if</strong> ( m_isStarted )
+<a name="283" href="#283">283</a> {
+<a name="284" href="#284">284</a> m_isStarted = false;
+<a name="285" href="#285">285</a> System.out.println( <span class="string">"Backend disk with serial # "</span> + m_serialNumber + <span class="string">" has been stopped."</span> );
+<a name="286" href="#286">286</a> }
+<a name="287" href="#287">287</a> }
+<a name="288" href="#288">288</a>
+<a name="289" href="#289">289</a> <strong>private</strong> Set buildFileSystemSet( )
+<a name="290" href="#290">290</a> {
+<a name="291" href="#291">291</a> Set set = <strong>new</strong> HashSet( );
+<a name="292" href="#292">292</a> set.add( <span class="string">"/"</span> );
+<a name="293" href="#293">293</a> <strong>return</strong> set;
+<a name="294" href="#294">294</a> }
+<a name="295" href="#295">295</a>
+<a name="296" href="#296">296</a> <strong>private</strong> Set buildStateInfoSet( )
+<a name="297" href="#297">297</a> {
+<a name="298" href="#298">298</a> Set set = <strong>new</strong> HashSet( );
+<a name="299" href="#299">299</a> <a href="../../../../../org/apache/ws/resource/example/StateInfo.html">StateInfo</a> stateInfo1 = <strong>new</strong> <a href="../../../../../org/apache/ws/resource/example/StateInfo.html">StateInfo</a>( );
+<a name="300" href="#300">300</a> stateInfo1.setState( <span class="string">"http://stopped"</span> );
+<a name="301" href="#301">301</a> stateInfo1.setTimeEntered( Calendar.getInstance( ) );
+<a name="302" href="#302">302</a> set.add( stateInfo1 );
+<a name="303" href="#303">303</a> <a href="../../../../../org/apache/ws/resource/example/StateInfo.html">StateInfo</a> stateInfo2 = <strong>new</strong> <a href="../../../../../org/apache/ws/resource/example/StateInfo.html">StateInfo</a>( );
+<a name="304" href="#304">304</a> stateInfo2.setState( <span class="string">"http://starting"</span> );
+<a name="305" href="#305">305</a> stateInfo2.setTimeEntered( Calendar.getInstance( ) );
+<a name="306" href="#306">306</a> set.add( stateInfo2 );
+<a name="307" href="#307">307</a> <strong>return</strong> set;
+<a name="308" href="#308">308</a> }
+<a name="309" href="#309">309</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/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/ExampleConstants.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/ExampleConstants.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/ExampleConstants.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/ExampleConstants.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,96 @@
+<!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>ExampleConstants 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 class="comment">=============================================================================*</em></em>
+<a name="2" href="#2">2</a> <em class="comment"> * Copyright 2004 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> <strong>package</strong> <a href="../../../../../org/apache/ws/resource/example/package-summary.html">org.apache.ws.resource.example</a>;
+<a name="17" href="#17">17</a>
+<a name="18" href="#18">18</a> <strong>import</strong> org.apache.xmlbeans.GDuration;
+<a name="19" href="#19">19</a> <strong>import</strong> javax.xml.namespace.QName;
+<a name="20" href="#20">20</a> <strong>import</strong> java.math.BigInteger;
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <em>/**<em>*</em></em>
+<a name="23" href="#23">23</a> <em> * Example-related constants.</em>
+<a name="24" href="#24">24</a> <em> *</em>
+<a name="25" href="#25">25</a> <em> * @author Ian P. Springer</em>
+<a name="26" href="#26">26</a> <em> */</em>
+<a name="27" href="#27">27</a> <strong>public</strong> <strong>interface</strong> <a href="../../../../../org/apache/ws/resource/example/ExampleConstants.html">ExampleConstants</a>
+<a name="28" href="#28">28</a> {
+<a name="29" href="#29">29</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="30" href="#30">30</a> BigInteger INITIAL_PROP_VALUE__NUMBER_OF_BLOCKS = <strong>new</strong> BigInteger( <span class="string">"20000000000"</span> );
+<a name="31" href="#31">31</a>
+<a name="32" href="#32">32</a> <em>/**<em>* Target namespace prefix for the disk WSDL */</em></em>
+<a name="33" href="#33">33</a> String NSPREFIX_XYZ = <span class="string">"xyz"</span>;
+<a name="34" href="#34">34</a>
+<a name="35" href="#35">35</a> <em>/**<em>* Target namespace URI of the disk WSDL */</em></em>
+<a name="36" href="#36">36</a> String NSURI_XYZ = <span class="string">"http://xyz.com/"</span>;
+<a name="37" href="#37">37</a>
+<a name="38" href="#38">38</a> <em>/**<em>* QNames */</em></em>
+<a name="39" href="#39">39</a> QName RESOURCE_PROP_QNAME_ACTIVE_TIME = <strong>new</strong> QName( NSURI_XYZ, <span class="string">"ActiveTime"</span>, NSPREFIX_XYZ );
+<a name="40" href="#40">40</a>
+<a name="41" href="#41">41</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="42" href="#42">42</a> QName RESOURCE_PROP_QNAME_BLOCK_SIZE = <strong>new</strong> QName( NSURI_XYZ, <span class="string">"BlockSize"</span>, NSPREFIX_XYZ );
+<a name="43" href="#43">43</a>
+<a name="44" href="#44">44</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="45" href="#45">45</a> QName RESOURCE_PROP_QNAME_CAPACITY = <strong>new</strong> QName( NSURI_XYZ, <span class="string">"Capacity"</span>, NSPREFIX_XYZ );
+<a name="46" href="#46">46</a>
+<a name="47" href="#47">47</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="48" href="#48">48</a> QName RESOURCE_PROP_QNAME_FILE_SYSTEM = <strong>new</strong> QName( NSURI_XYZ, <span class="string">"FileSystem"</span>, NSPREFIX_XYZ );
+<a name="49" href="#49">49</a>
+<a name="50" href="#50">50</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="51" href="#51">51</a> QName RESOURCE_PROP_QNAME_MANUFACTURER = <strong>new</strong> QName( NSURI_XYZ, <span class="string">"Manufacturer"</span>, NSPREFIX_XYZ );
+<a name="52" href="#52">52</a>
+<a name="53" href="#53">53</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="54" href="#54">54</a> QName RESOURCE_PROP_QNAME_NUMBER_OF_BLOCKS = <strong>new</strong> QName( NSURI_XYZ, <span class="string">"NumberOfBlocks"</span>, NSPREFIX_XYZ );
+<a name="55" href="#55">55</a>
+<a name="56" href="#56">56</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="57" href="#57">57</a> QName RESOURCE_PROP_QNAME_STATE_INFO = <strong>new</strong> QName( NSURI_XYZ, <span class="string">"StateInfo"</span>, NSPREFIX_XYZ );
+<a name="58" href="#58">58</a>
+<a name="59" href="#59">59</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="60" href="#60">60</a> QName RESOURCE_PROP_QNAME_TOPIC_SPACE = <strong>new</strong> QName( NSURI_XYZ, <span class="string">"TopicSpace"</span>, NSPREFIX_XYZ );
+<a name="61" href="#61">61</a>
+<a name="62" href="#62">62</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="63" href="#63">63</a> String INITIAL_PROP_VALUE__MANUFACTURER = <span class="string">"Hewlett-Packard Company"</span>;
+<a name="64" href="#64">64</a>
+<a name="65" href="#65">65</a> <em>/**<em>* Name of the deployed disk Web service */</em></em>
+<a name="66" href="#66">66</a> String SERVICE_NAME = <span class="string">"disk"</span>;
+<a name="67" href="#67">67</a>
+<a name="68" href="#68">68</a> <em>/**<em>* Qualified name of the deployed disk Web service */</em></em>
+<a name="69" href="#69">69</a> QName SERVICE_QNAME = <strong>new</strong> QName( NSURI_XYZ, SERVICE_NAME );
+<a name="70" href="#70">70</a>
+<a name="71" href="#71">71</a> <em>/**<em>* URL path of the disk Web service */</em></em>
+<a name="72" href="#72">72</a> String SERVICE_URL_PATH = <span class="string">"/axis/services/"</span> + SERVICE_NAME;
+<a name="73" href="#73">73</a>
+<a name="74" href="#74">74</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="75" href="#75">75</a> <strong>int</strong> INITIAL_PROP_VALUE__BLOCK_SIZE = 1024;
+<a name="76" href="#76">76</a>
+<a name="77" href="#77">77</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="78" href="#78">78</a> BigInteger INITIAL_PROP_VALUE__CAPACITY =
+<a name="79" href="#79">79</a> Disk.computeCapacity( INITIAL_PROP_VALUE__NUMBER_OF_BLOCKS, INITIAL_PROP_VALUE__BLOCK_SIZE );
+<a name="80" href="#80">80</a>
+<a name="81" href="#81">81</a> <em>/**<em>* DOCUMENT_ME */</em></em>
+<a name="82" href="#82">82</a> GDuration INITIAL_PROP_VALUE__ACTIVE_TIME = <strong>new</strong> GDuration( <span class="string">"P0M"</span> );
+<a name="83" href="#83">83</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/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/StateInfo.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/StateInfo.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/StateInfo.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/StateInfo.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,82 @@
+<!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>StateInfo 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 class="comment">=============================================================================*</em></em>
+<a name="2" href="#2">2</a> <em class="comment"> * Copyright 2004 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> <strong>package</strong> <a href="../../../../../org/apache/ws/resource/example/package-summary.html">org.apache.ws.resource.example</a>;
+<a name="17" href="#17">17</a>
+<a name="18" href="#18">18</a> <strong>import</strong> java.io.Serializable;
+<a name="19" href="#19">19</a> <strong>import</strong> java.util.Calendar;
+<a name="20" href="#20">20</a>
+<a name="21" href="#21">21</a> <em>/**<em>*</em></em>
+<a name="22" href="#22">22</a> <em> * @author Ian P. Springer</em>
+<a name="23" href="#23">23</a> <em> */</em>
+<a name="24" href="#24">24</a> <strong>public</strong> <strong>class</strong> <a href="../../../../../org/apache/ws/resource/example/StateInfo.html">StateInfo</a>
+<a name="25" href="#25">25</a> implements Serializable
+<a name="26" href="#26">26</a> {
+<a name="27" href="#27">27</a> <strong>private</strong> Calendar m_timeEntered;
+<a name="28" href="#28">28</a> <strong>private</strong> String m_state;
+<a name="29" href="#29">29</a>
+<a name="30" href="#30">30</a> <em>/**<em>*</em></em>
+<a name="31" href="#31">31</a> <em> * DOCUMENT_ME</em>
+<a name="32" href="#32">32</a> <em> *</em>
+<a name="33" href="#33">33</a> <em> * @param state DOCUMENT_ME</em>
+<a name="34" href="#34">34</a> <em> */</em>
+<a name="35" href="#35">35</a> <strong>public</strong> <strong>void</strong> setState( String state )
+<a name="36" href="#36">36</a> {
+<a name="37" href="#37">37</a> m_state = state;
+<a name="38" href="#38">38</a> }
+<a name="39" href="#39">39</a>
+<a name="40" href="#40">40</a> <em>/**<em>*</em></em>
+<a name="41" href="#41">41</a> <em> * DOCUMENT_ME</em>
+<a name="42" href="#42">42</a> <em> *</em>
+<a name="43" href="#43">43</a> <em> * @return DOCUMENT_ME</em>
+<a name="44" href="#44">44</a> <em> */</em>
+<a name="45" href="#45">45</a> <strong>public</strong> String getState( )
+<a name="46" href="#46">46</a> {
+<a name="47" href="#47">47</a> <strong>return</strong> m_state;
+<a name="48" href="#48">48</a> }
+<a name="49" href="#49">49</a>
+<a name="50" href="#50">50</a> <em>/**<em>*</em></em>
+<a name="51" href="#51">51</a> <em> * DOCUMENT_ME</em>
+<a name="52" href="#52">52</a> <em> *</em>
+<a name="53" href="#53">53</a> <em> * @param timeEntered DOCUMENT_ME</em>
+<a name="54" href="#54">54</a> <em> */</em>
+<a name="55" href="#55">55</a> <strong>public</strong> <strong>void</strong> setTimeEntered( Calendar timeEntered )
+<a name="56" href="#56">56</a> {
+<a name="57" href="#57">57</a> m_timeEntered = timeEntered;
+<a name="58" href="#58">58</a> }
+<a name="59" href="#59">59</a>
+<a name="60" href="#60">60</a> <em>/**<em>*</em></em>
+<a name="61" href="#61">61</a> <em> * DOCUMENT_ME</em>
+<a name="62" href="#62">62</a> <em> *</em>
+<a name="63" href="#63">63</a> <em> * @return DOCUMENT_ME</em>
+<a name="64" href="#64">64</a> <em> */</em>
+<a name="65" href="#65">65</a> <strong>public</strong> Calendar getTimeEntered( )
+<a name="66" href="#66">66</a> {
+<a name="67" href="#67">67</a> <strong>return</strong> ( m_timeEntered );
+<a name="68" href="#68">68</a> }
+<a name="69" href="#69">69</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/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/DiskDiscoveryAgent.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/DiskDiscoveryAgent.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/DiskDiscoveryAgent.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/DiskDiscoveryAgent.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,113 @@
+<!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>DiskDiscoveryAgent 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/ws/resource/example/discovery/package-summary.html">org.apache.ws.resource.example.discovery</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a>
+<a name="4" href="#4">4</a> <strong>import</strong> javax.xml.namespace.QName;
+<a name="5" href="#5">5</a>
+<a name="6" href="#6">6</a> <strong>import</strong> org.apache.commons.logging.Log;
+<a name="7" href="#7">7</a> <strong>import</strong> org.apache.commons.logging.LogFactory;
+<a name="8" href="#8">8</a> <strong>import</strong> org.apache.ws.resource.discovery.DiscoveryAgent;
+<a name="9" href="#9">9</a> <strong>import</strong> org.apache.ws.resource.discovery.RegistrationManager;
+<a name="10" href="#10">10</a> <strong>import</strong> org.apache.ws.resource.discovery.faults.RegistrationFailureException;
+<a name="11" href="#11">11</a> <strong>import</strong> org.apache.ws.resource.discovery.impl.DiscoveryAgentProperty;
+<a name="12" href="#12">12</a>
+<a name="13" href="#13">13</a> <strong>import</strong> axis.com.xyz.DiskWsdmServiceWSResource;
+<a name="14" href="#14">14</a>
+<a name="15" href="#15">15</a> <em>/**<em>*</em></em>
+<a name="16" href="#16">16</a> <em> * This is a sample discovery agent that will add one new instance of a</em>
+<a name="17" href="#17">17</a> <em> * disk resource for each Agent property with an id of ResourceID.</em>
+<a name="18" href="#18">18</a> <em> * Its value will be the resource id to be used.</em>
+<a name="19" href="#19">19</a> <em> * <p/></em>
+<a name="20" href="#20">20</a> <em> * Below is a sample of how to instantiate 2 instances of</em>
+<a name="21" href="#21">21</a> <em> * disk resource, one with the id of 1234 and another with one</em>
+<a name="22" href="#22">22</a> <em> * of 5678.</em>
+<a name="23" href="#23">23</a> <em> * <p/></em>
+<a name="24" href="#24">24</a> <em> * <pre></em>
+<a name="25" href="#25">25</a> <em> * <agent-list ></em>
+<a name="26" href="#26">26</a> <em> * <agent></em>
+<a name="27" href="#27">27</a> <em> * <name>Disk Resource Discovery Agent</name></em>
+<a name="28" href="#28">28</a> <em> * <class>org.apache.ws.resource.example.discovery.DiskDiscoveryAgent</class></em>
+<a name="29" href="#29">29</a> <em> * <properties></em>
+<a name="30" href="#30">30</a> <em> * <property id="ResourceID">1234</property></em>
+<a name="31" href="#31">31</a> <em> * <property id="ResourceID">5678</property></em>
+<a name="32" href="#32">32</a> <em> * </properties></em>
+<a name="33" href="#33">33</a> <em> * </agent></em>
+<a name="34" href="#34">34</a> <em> * </agent-list></em>
+<a name="35" href="#35">35</a> <em> * </pre></em>
+<a name="36" href="#36">36</a> <em> *</em>
+<a name="37" href="#37">37</a> <em> * @author wire</em>
+<a name="38" href="#38">38</a> <em> * @version $Revision: 1.1 $</em>
+<a name="39" href="#39">39</a> <em> */</em>
+<a name="40" href="#40">40</a> <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/ws/resource/example/discovery/DiskDiscoveryAgent.html">DiskDiscoveryAgent</a>
+<a name="41" href="#41">41</a> implements DiscoveryAgent
+<a name="42" href="#42">42</a> {
+<a name="43" href="#43">43</a> <em>/**<em>*</em></em>
+<a name="44" href="#44">44</a> <em> * Provides log access for this class.</em>
+<a name="45" href="#45">45</a> <em> */</em>
+<a name="46" href="#46">46</a> <strong>private</strong> <strong>static</strong> <strong>final</strong> Log LOG = LogFactory.getLog( DiskDiscoveryAgent.<strong>class</strong> );
+<a name="47" href="#47">47</a>
+<a name="48" href="#48">48</a> <em>/**<em>*</em></em>
+<a name="49" href="#49">49</a> <em> * @see DiscoveryAgent#discover(String, RegistrationManager, DiscoveryAgentProperty[])</em>
+<a name="50" href="#50">50</a> <em> */</em>
+<a name="51" href="#51">51</a> <strong>public</strong> <strong>void</strong> discover( String agentname,
+<a name="52" href="#52">52</a> RegistrationManager registrationManager,
+<a name="53" href="#53">53</a> DiscoveryAgentProperty[] agentProps )
+<a name="54" href="#54">54</a> {
+<a name="55" href="#55">55</a> <em class="comment">// See how many agentProps there are with ResourceID</em>
+<a name="56" href="#56">56</a> <em class="comment">// For each one, create a DiskResource and register it</em>
+<a name="57" href="#57">57</a> <strong>int</strong> discoveredCount = 0;
+<a name="58" href="#58">58</a> <strong>for</strong> ( <strong>int</strong> i = 0; i < agentProps.length; i++ )
+<a name="59" href="#59">59</a> {
+<a name="60" href="#60">60</a> DiscoveryAgentProperty agentProp = agentProps[i];
+<a name="61" href="#61">61</a> <strong>if</strong> ( agentProp.getId( ).equals( <span class="string">"ResourceID"</span> ) )
+<a name="62" href="#62">62</a> {
+<a name="63" href="#63">63</a> <a href="../../../../../../axis/com/xyz/DiskWsdmServiceWSResource.html">DiskWsdmServiceWSResource</a> resource = <strong>null</strong>;
+<a name="64" href="#64">64</a> <strong>try</strong>
+<a name="65" href="#65">65</a> {
+<a name="66" href="#66">66</a> String resourceId = agentProp.getValue( );
+<a name="67" href="#67">67</a> resource = <strong>new</strong> <a href="../../../../../../axis/com/xyz/DiskWsdmServiceWSResource.html">DiskWsdmServiceWSResource</a>( resourceId );
+<a name="68" href="#68">68</a> resource.getPropertiesManager( ).setReadOnly(<strong>new</strong> QName( <span class="string">"http://xyz.com/"</span>, <span class="string">"Capacity"</span>, <span class="string">"xyz"</span> ), <strong>true</strong> );
+<a name="69" href="#69">69</a> discoveredCount++;
+<a name="70" href="#70">70</a> }
+<a name="71" href="#71">71</a> <strong>catch</strong> ( Throwable t )
+<a name="72" href="#72">72</a> {
+<a name="73" href="#73">73</a> LOG.error( <span class="string">"Discovery failed for DiskWsdmServiceWSResource with Id "</span> + agentProp.getId( ), t );
+<a name="74" href="#74">74</a> <strong>continue</strong>;
+<a name="75" href="#75">75</a> }
+<a name="76" href="#76">76</a>
+<a name="77" href="#77">77</a> LOG.info( <span class="string">"Attempting to register an instance of DiskWsdmServiceWSResource ResourceID="</span>
+<a name="78" href="#78">78</a> + agentProp.getValue( ) );
+<a name="79" href="#79">79</a> <strong>try</strong>
+<a name="80" href="#80">80</a> {
+<a name="81" href="#81">81</a> registrationManager.register( resource );
+<a name="82" href="#82">82</a> }
+<a name="83" href="#83">83</a> <strong>catch</strong> ( RegistrationFailureException rfe )
+<a name="84" href="#84">84</a> {
+<a name="85" href="#85">85</a> LOG.error( <span class="string">"Discovery failed to register "</span> + agentProp.getId( ), rfe );
+<a name="86" href="#86">86</a> }
+<a name="87" href="#87">87</a> }
+<a name="88" href="#88">88</a> }
+<a name="89" href="#89">89</a>
+<a name="90" href="#90">90</a> <em class="comment">//Just for conveniance, if nothing was discovered, write that to the log.</em>
+<a name="91" href="#91">91</a> <strong>if</strong> ( discoveredCount == 0 )
+<a name="92" href="#92">92</a> {
+<a name="93" href="#93">93</a> LOG.warn( <span class="string">"Discovery completed on agent "</span> + agentname + <span class="string">" but no new resources where added."</span> );
+<a name="94" href="#94">94</a> }
+<a name="95" href="#95">95</a> <strong>else</strong>
+<a name="96" href="#96">96</a> {
+<a name="97" href="#97">97</a> LOG.info( <span class="string">"Discovery agent <"</span> + agentname + <span class="string">"> finished."</span> );
+<a name="98" href="#98">98</a> }
+<a name="99" href="#99">99</a> }
+<a name="100" href="#100">100</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/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/package-frame.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/package-frame.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/package-frame.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/package-frame.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,27 @@
+
+
+ <!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>wsdmclient 1.0 Reference Package org.apache.ws.resource.example.discovery</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.ws.resource.example.discovery</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+
+ <li>
+ <a href="DiskDiscoveryAgent.html" target="classFrame">DiskDiscoveryAgent</a>
+ </li>
+
+ </ul>
+
+ </body>
+ </html>
Added: webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/package-summary.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/package-summary.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/package-summary.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/discovery/package-summary.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ <!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>wsdmclient 1.0 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.ws.resource.example.discovery</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+ <tr>
+ <td>
+ <a href="DiskDiscoveryAgent.html" target="classFrame">DiskDiscoveryAgent</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 © 2004 Apache. All Rights Reserved.
+ </body>
+ </html>
+
Added: webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/package-frame.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/package-frame.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/package-frame.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/package-frame.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,35 @@
+
+
+ <!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>wsdmclient 1.0 Reference Package org.apache.ws.resource.example</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.ws.resource.example</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+
+ <li>
+ <a href="Disk.html" target="classFrame">Disk</a>
+ </li>
+
+ <li>
+ <a href="ExampleConstants.html" target="classFrame">ExampleConstants</a>
+ </li>
+
+ <li>
+ <a href="StateInfo.html" target="classFrame">StateInfo</a>
+ </li>
+
+ </ul>
+
+ </body>
+ </html>
Added: webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/package-summary.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/package-summary.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/package-summary.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/resource/example/package-summary.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ <!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>wsdmclient 1.0 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.ws.resource.example</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+ <tr>
+ <td>
+ <a href="Disk.html" target="classFrame">Disk</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="ExampleConstants.html" target="classFrame">ExampleConstants</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="StateInfo.html" target="classFrame">StateInfo</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 © 2004 Apache. All Rights Reserved.
+ </body>
+ </html>
+
Added: webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractAxisTestCase.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractAxisTestCase.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractAxisTestCase.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractAxisTestCase.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,252 @@
+<!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>AbstractAxisTestCase 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 class="comment">=============================================================================*</em></em>
+<a name="2" href="#2">2</a> <em class="comment"> * Confidential Copyright (c) 2004 Hewlett-Packard Development Company, L.P. *</em>
+<a name="3" href="#3">3</a> <em class="comment"> *=============================================================================*/</em>
+<a name="4" href="#4">4</a> <strong>package</strong> <a href="../../../../org/apache/ws/test/package-summary.html">org.apache.ws.test</a>;
+<a name="5" href="#5">5</a>
+<a name="6" href="#6">6</a> <strong>import</strong> org.apache.ws.http.NotSoSimpleAxisServer;
+<a name="7" href="#7">7</a> <strong>import</strong> org.apache.ws.rpc.JaxRpcConstants;
+<a name="8" href="#8">8</a> <strong>import</strong> org.apache.ws.soap.SaajConstants;
+<a name="9" href="#9">9</a>
+<a name="10" href="#10">10</a> <strong>import</strong> junit.framework.AssertionFailedError;
+<a name="11" href="#11">11</a> <strong>import</strong> junit.framework.TestCase;
+<a name="12" href="#12">12</a>
+<a name="13" href="#13">13</a> <strong>import</strong> org.apache.axis.configuration.FileProvider;
+<a name="14" href="#14">14</a>
+<a name="15" href="#15">15</a> <strong>import</strong> java.net.MalformedURLException;
+<a name="16" href="#16">16</a> <strong>import</strong> java.net.ServerSocket;
+<a name="17" href="#17">17</a> <strong>import</strong> java.net.URL;
+<a name="18" href="#18">18</a>
+<a name="19" href="#19">19</a> <em>/**<em>*</em></em>
+<a name="20" href="#20">20</a> <em> * Provides some conviencence functionality for easier testing of web services.</em>
+<a name="21" href="#21">21</a> <em> * Methods provided by this JUnit test case superclass will allow an embedded</em>
+<a name="22" href="#22">22</a> <em> * Axis server to be started and stopped.</em>
+<a name="23" href="#23">23</a> <em> *</em>
+<a name="24" href="#24">24</a> <em> * @author mazz</em>
+<a name="25" href="#25">25</a> <em> */</em>
+<a name="26" href="#26">26</a> <strong>public</strong> <strong>abstract</strong> <strong>class</strong> <a href="../../../../org/apache/ws/test/AbstractAxisTestCase.html">AbstractAxisTestCase</a>
+<a name="27" href="#27">27</a> <strong>extends</strong> TestCase
+<a name="28" href="#28">28</a> {
+<a name="29" href="#29">29</a> <strong>private</strong> <strong>static</strong> <strong>final</strong> <strong>int</strong> ANY_FREE_PORT = 0;
+<a name="30" href="#30">30</a>
+<a name="31" href="#31">31</a> <em class="comment">/*</em>
+<a name="32" href="#32">32</a> <em class="comment"> * Make sure JAX-RPC and SAAJ factories all are set to Axis' impls.</em>
+<a name="33" href="#33">33</a> <em class="comment"> */</em>
+<a name="34" href="#34">34</a> <strong>static</strong>
+<a name="35" href="#35">35</a> {
+<a name="36" href="#36">36</a> System.setProperty( JaxRpcConstants.SYSPROP_SERVICE_FACTORY, JaxRpcConstants.IMPL_SERVICE_FACTORY_AXIS );
+<a name="37" href="#37">37</a> System.setProperty( SaajConstants.SYSPROP_SOAP_FACTORY, SaajConstants.IMPL_SOAP_FACTORY_AXIS );
+<a name="38" href="#38">38</a> System.setProperty( SaajConstants.SYSPROP_MESSAGE_FACTORY, SaajConstants.IMPL_MESSAGE_FACTORY_AXIS );
+<a name="39" href="#39">39</a> System.setProperty( SaajConstants.SYSPROP_SOAP_CONNECTION_FACTORY,
+<a name="40" href="#40">40</a> SaajConstants.IMPL_SOAP_CONNECTION_FACTORY_AXIS );
+<a name="41" href="#41">41</a> System.setProperty( SaajConstants.SYSPROP_SOAP_ELEMENT_FACTORY, SaajConstants.IMPL_SOAP_ELEMENT_FACTORY_AXIS );
+<a name="42" href="#42">42</a> }
+<a name="43" href="#43">43</a>
+<a name="44" href="#44">44</a> <em>/**<em>*</em></em>
+<a name="45" href="#45">45</a> <em> * the embedded Axis server</em>
+<a name="46" href="#46">46</a> <em> */</em>
+<a name="47" href="#47">47</a> <strong>private</strong> <a href="../../../../org/apache/ws/http/NotSoSimpleAxisServer.html">NotSoSimpleAxisServer</a> m_simpleAxisServer;
+<a name="48" href="#48">48</a>
+<a name="49" href="#49">49</a>
+<a name="50" href="#50">50</a> <em>/**<em>*</em></em>
+<a name="51" href="#51">51</a> <em> * @see TestCase#TestCase()</em>
+<a name="52" href="#52">52</a> <em> */</em>
+<a name="53" href="#53">53</a> <strong>public</strong> <a href="../../../../org/apache/ws/test/AbstractAxisTestCase.html">AbstractAxisTestCase</a>( )
+<a name="54" href="#54">54</a> {
+<a name="55" href="#55">55</a> <strong>super</strong>( );
+<a name="56" href="#56">56</a> }
+<a name="57" href="#57">57</a>
+<a name="58" href="#58">58</a> <em>/**<em>*</em></em>
+<a name="59" href="#59">59</a> <em> * @see TestCase#TestCase(String)</em>
+<a name="60" href="#60">60</a> <em> */</em>
+<a name="61" href="#61">61</a> <strong>public</strong> <a href="../../../../org/apache/ws/test/AbstractAxisTestCase.html">AbstractAxisTestCase</a>( String name )
+<a name="62" href="#62">62</a> {
+<a name="63" href="#63">63</a> <strong>super</strong>( name );
+<a name="64" href="#64">64</a> }
+<a name="65" href="#65">65</a>
+<a name="66" href="#66">66</a> <em>/**<em>*</em></em>
+<a name="67" href="#67">67</a> <em> * Returns the base URL used to contact the Axis server. To access a web service hosted inside</em>
+<a name="68" href="#68">68</a> <em> * of the embedded Axis server, append the name of the web service to this base URL.</em>
+<a name="69" href="#69">69</a> <em> * <p/></em>
+<a name="70" href="#70">70</a> <em> * Subclasses may override this method if the default is not acceptable. The</em>
+<a name="71" href="#71">71</a> <em> * default is <code><a href="http://127.0.0.1:" target="alexandria_uri">http://127.0.0.1:</a>####/axis/services/</code> where <code>####</code></em>
+<a name="72" href="#72">72</a> <em> * is the {@link #getAxisServerSocketPort() Axis port number} and <code>axis</code> is</em>
+<a name="73" href="#73">73</a> <em> * the {@link #getAxisContextName() Axis context name}.</em>
+<a name="74" href="#74">74</a> <em> *</em>
+<a name="75" href="#75">75</a> <em> * @return base URL for all web services hosted in the embedded Axis server</em>
+<a name="76" href="#76">76</a> <em> */</em>
+<a name="77" href="#77">77</a> <strong>protected</strong> URL getAxisBaseUrl( )
+<a name="78" href="#78">78</a> {
+<a name="79" href="#79">79</a> <strong>try</strong>
+<a name="80" href="#80">80</a> {
+<a name="81" href="#81">81</a> <strong>return</strong> <strong>new</strong> URL( <span class="string">"http"</span>,
+<a name="82" href="#82">82</a> <span class="string">"127.0.0.1"</span>,
+<a name="83" href="#83">83</a> m_simpleAxisServer.getServerSocket().getLocalPort(),
+<a name="84" href="#84">84</a> <span class="string">"/"</span> + getAxisContextName( ) + <span class="string">"/services/"</span> );
+<a name="85" href="#85">85</a> }
+<a name="86" href="#86">86</a> <strong>catch</strong> ( MalformedURLException murle )
+<a name="87" href="#87">87</a> { <em class="comment">// should never occur - throw error so as not to force a throws clause in signature</em>
+<a name="88" href="#88">88</a> <strong>throw</strong> <strong>new</strong> AssertionFailedError( murle.toString( ) );
+<a name="89" href="#89">89</a> }
+<a name="90" href="#90">90</a> }
+<a name="91" href="#91">91</a>
+<a name="92" href="#92">92</a> <em>/**<em>*</em></em>
+<a name="93" href="#93">93</a> <em> * Returns the full directory path containing the WSDD configuration file(s).</em>
+<a name="94" href="#94">94</a> <em> * This is the base path that is prepended to the</em>
+<a name="95" href="#95">95</a> <em> * {@link #getAxisConfigFileName() configuration file name}.</em>
+<a name="96" href="#96">96</a> <em> * <p/></em>
+<a name="97" href="#97">97</a> <em> * Subclasses may override this method if the default is not acceptable. The</em>
+<a name="98" href="#98">98</a> <em> * default is the current directory as defined by the system property</em>
+<a name="99" href="#99">99</a> <em> * <code>user.dir</code>.</em>
+<a name="100" href="#100">100</a> <em> *</em>
+<a name="101" href="#101">101</a> <em> * @return filename of the WSDD configuration file</em>
+<a name="102" href="#102">102</a> <em> */</em>
+<a name="103" href="#103">103</a> <strong>protected</strong> String getAxisConfigBasePath( )
+<a name="104" href="#104">104</a> {
+<a name="105" href="#105">105</a> <strong>return</strong> System.getProperty( <span class="string">"user.dir"</span> );
+<a name="106" href="#106">106</a> }
+<a name="107" href="#107">107</a>
+<a name="108" href="#108">108</a> <em>/**<em>*</em></em>
+<a name="109" href="#109">109</a> <em> * Returns the filename of the actual Axis WSDD configuration file, excluding</em>
+<a name="110" href="#110">110</a> <em> * all directory paths.</em>
+<a name="111" href="#111">111</a> <em> * <p/></em>
+<a name="112" href="#112">112</a> <em> * Subclasses may override this method if the default is not acceptable. The</em>
+<a name="113" href="#113">113</a> <em> * default is <code>server-config.wsdd</code>.</em>
+<a name="114" href="#114">114</a> <em> *</em>
+<a name="115" href="#115">115</a> <em> * @return filename of the WSDD configuration file</em>
+<a name="116" href="#116">116</a> <em> */</em>
+<a name="117" href="#117">117</a> <strong>protected</strong> String getAxisConfigFileName( )
+<a name="118" href="#118">118</a> {
+<a name="119" href="#119">119</a> <strong>return</strong> <span class="string">"server-config.wsdd"</span>;
+<a name="120" href="#120">120</a> }
+<a name="121" href="#121">121</a>
+<a name="122" href="#122">122</a> <em>/**<em>*</em></em>
+<a name="123" href="#123">123</a> <em> * Returns the context name of the Axis servlet for use within an endpoint URL.</em>
+<a name="124" href="#124">124</a> <em> *</em>
+<a name="125" href="#125">125</a> <em> * @return context name of the Axis servlet</em>
+<a name="126" href="#126">126</a> <em> */</em>
+<a name="127" href="#127">127</a> <strong>protected</strong> String getAxisContextName( )
+<a name="128" href="#128">128</a> {
+<a name="129" href="#129">129</a> <strong>return</strong> <span class="string">"axis"</span>;
+<a name="130" href="#130">130</a> }
+<a name="131" href="#131">131</a>
+<a name="132" href="#132">132</a> <em>/**<em>*</em></em>
+<a name="133" href="#133">133</a> <em> * This setter is to allow subclasses to tell us if we should use an already existing Axis server.</em>
+<a name="134" href="#134">134</a> <em> *</em>
+<a name="135" href="#135">135</a> <em> * @param server the embedded Axis server to be used by the tests</em>
+<a name="136" href="#136">136</a> <em> */</em>
+<a name="137" href="#137">137</a> <strong>protected</strong> <strong>void</strong> setAxisServer( NotSoSimpleAxisServer server )
+<a name="138" href="#138">138</a> {
+<a name="139" href="#139">139</a> m_simpleAxisServer = server;
+<a name="140" href="#140">140</a> }
+<a name="141" href="#141">141</a>
+<a name="142" href="#142">142</a> <em>/**<em>*</em></em>
+<a name="143" href="#143">143</a> <em> * @return the embedded Axis server to be used by the tests</em>
+<a name="144" href="#144">144</a> <em> */</em>
+<a name="145" href="#145">145</a> <strong>protected</strong> <a href="../../../../org/apache/ws/http/NotSoSimpleAxisServer.html">NotSoSimpleAxisServer</a> getAxisServer( )
+<a name="146" href="#146">146</a> {
+<a name="147" href="#147">147</a> <strong>return</strong> m_simpleAxisServer;
+<a name="148" href="#148">148</a> }
+<a name="149" href="#149">149</a>
+<a name="150" href="#150">150</a> <em>/**<em>*</em></em>
+<a name="151" href="#151">151</a> <em> * Returns the number of the port that the embedded Axis server will accept</em>
+<a name="152" href="#152">152</a> <em> * requests on.</em>
+<a name="153" href="#153">153</a> <em> * <p/></em>
+<a name="154" href="#154">154</a> <em> * Subclasses may override this method if the default is not acceptable. The</em>
+<a name="155" href="#155">155</a> <em> * default is <code>8080</code>.</em>
+<a name="156" href="#156">156</a> <em> *</em>
+<a name="157" href="#157">157</a> <em> * @return port number that the Axis server will listen to</em>
+<a name="158" href="#158">158</a> <em> */</em>
+<a name="159" href="#159">159</a> <strong>protected</strong> <strong>int</strong> getAxisServerSocketPort( )
+<a name="160" href="#160">160</a> {
+<a name="161" href="#161">161</a> <strong>return</strong> ANY_FREE_PORT;
+<a name="162" href="#162">162</a> }
+<a name="163" href="#163">163</a>
+<a name="164" href="#164">164</a>
+<a name="165" href="#165">165</a> <em>/**<em>*</em></em>
+<a name="166" href="#166">166</a> <em> * Returns a URL used to request a WSDL document for a web service with the given name.</em>
+<a name="167" href="#167">167</a> <em> * This method uses {@link #getAxisBaseUrl()} to determine the base URL.</em>
+<a name="168" href="#168">168</a> <em> *</em>
+<a name="169" href="#169">169</a> <em> * @param serviceName the name of the web service</em>
+<a name="170" href="#170">170</a> <em> * </em>
+<a name="171" href="#171">171</a> <em> * @return URL used to request a web service WSDL document</em>
+<a name="172" href="#172">172</a> <em> * </em>
+<a name="173" href="#173">173</a> <em> * @see #getAxisBaseUrl()</em>
+<a name="174" href="#174">174</a> <em> */</em>
+<a name="175" href="#175">175</a> <strong>protected</strong> URL getAxisWebServiceUrl( String serviceName )
+<a name="176" href="#176">176</a> {
+<a name="177" href="#177">177</a> <strong>try</strong>
+<a name="178" href="#178">178</a> {
+<a name="179" href="#179">179</a> <strong>return</strong> <strong>new</strong> URL( getAxisBaseUrl( ), serviceName );
+<a name="180" href="#180">180</a> }
+<a name="181" href="#181">181</a> <strong>catch</strong> ( MalformedURLException murle )
+<a name="182" href="#182">182</a> { <em class="comment">// should never occur - throw error so as not to force a throws clause in signature</em>
+<a name="183" href="#183">183</a> <strong>throw</strong> <strong>new</strong> AssertionFailedError( murle.toString( ) );
+<a name="184" href="#184">184</a> }
+<a name="185" href="#185">185</a> }
+<a name="186" href="#186">186</a>
+<a name="187" href="#187">187</a> <em>/**<em>*</em></em>
+<a name="188" href="#188">188</a> <em> * Returns a URL used to request a WSDL document for a web service with the given name.</em>
+<a name="189" href="#189">189</a> <em> * This method uses {@link #getAxisBaseUrl()} to determine the base URL.</em>
+<a name="190" href="#190">190</a> <em> *</em>
+<a name="191" href="#191">191</a> <em> * @param serviceName the name of the web service</em>
+<a name="192" href="#192">192</a> <em> *</em>
+<a name="193" href="#193">193</a> <em> * @return URL used to request a web service WSDL document</em>
+<a name="194" href="#194">194</a> <em> *</em>
+<a name="195" href="#195">195</a> <em> * @see #getAxisBaseUrl()</em>
+<a name="196" href="#196">196</a> <em> */</em>
+<a name="197" href="#197">197</a> <strong>protected</strong> URL getAxisWebServiceWsdlUrl( String serviceName )
+<a name="198" href="#198">198</a> {
+<a name="199" href="#199">199</a> <strong>try</strong>
+<a name="200" href="#200">200</a> {
+<a name="201" href="#201">201</a> <strong>return</strong> <strong>new</strong> URL( getAxisBaseUrl( ).toString( ) + serviceName + <span class="string">"?wsdl"</span> );
+<a name="202" href="#202">202</a> }
+<a name="203" href="#203">203</a> <strong>catch</strong> ( MalformedURLException murle )
+<a name="204" href="#204">204</a> { <em class="comment">// should never occur - throw error so as not to force a throws clause in signature</em>
+<a name="205" href="#205">205</a> <strong>throw</strong> <strong>new</strong> AssertionFailedError( murle.toString( ) );
+<a name="206" href="#206">206</a> }
+<a name="207" href="#207">207</a> }
+<a name="208" href="#208">208</a>
+<a name="209" href="#209">209</a> <em>/**<em>*</em></em>
+<a name="210" href="#210">210</a> <em> * Reads in the Axis configuration file, creates a server socket to accept</em>
+<a name="211" href="#211">211</a> <em> * requests and then starts the embedded Axis server.</em>
+<a name="212" href="#212">212</a> <em> *</em>
+<a name="213" href="#213">213</a> <em> * @throws Exception if failed to get the configuration file, failed to start</em>
+<a name="214" href="#214">214</a> <em> * the server socket or failed to start the server</em>
+<a name="215" href="#215">215</a> <em> */</em>
+<a name="216" href="#216">216</a> <strong>protected</strong> <strong>void</strong> startAxisServer( )
+<a name="217" href="#217">217</a> throws Exception
+<a name="218" href="#218">218</a> {
+<a name="219" href="#219">219</a> FileProvider config = <strong>new</strong> FileProvider( getAxisConfigBasePath( ),
+<a name="220" href="#220">220</a> getAxisConfigFileName( ) );
+<a name="221" href="#221">221</a> ServerSocket ss = <strong>new</strong> ServerSocket( getAxisServerSocketPort( ) );
+<a name="222" href="#222">222</a> m_simpleAxisServer = <strong>new</strong> <a href="../../../../org/apache/ws/http/NotSoSimpleAxisServer.html">NotSoSimpleAxisServer</a>( );
+<a name="223" href="#223">223</a> m_simpleAxisServer.setServerSocket( ss );
+<a name="224" href="#224">224</a> m_simpleAxisServer.setMyConfig( config );
+<a name="225" href="#225">225</a> m_simpleAxisServer.start( );
+<a name="226" href="#226">226</a> }
+<a name="227" href="#227">227</a>
+<a name="228" href="#228">228</a> <em>/**<em>*</em></em>
+<a name="229" href="#229">229</a> <em> * Stops the embedded Axis server if it is running.</em>
+<a name="230" href="#230">230</a> <em> */</em>
+<a name="231" href="#231">231</a> <strong>protected</strong> <strong>void</strong> stopAxisServer( )
+<a name="232" href="#232">232</a> {
+<a name="233" href="#233">233</a> <strong>if</strong> ( m_simpleAxisServer != <strong>null</strong> )
+<a name="234" href="#234">234</a> {
+<a name="235" href="#235">235</a> m_simpleAxisServer.stop( );
+<a name="236" href="#236">236</a> m_simpleAxisServer = <strong>null</strong>;
+<a name="237" href="#237">237</a> }
+<a name="238" href="#238">238</a> }
+<a name="239" href="#239">239</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/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractMultipleAxisTestCase.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractMultipleAxisTestCase.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractMultipleAxisTestCase.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractMultipleAxisTestCase.html Fri Aug 12 13:38:04 2005
@@ -0,0 +1,68 @@
+<!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>AbstractMultipleAxisTestCase 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 class="comment">=============================================================================*</em></em>
+<a name="2" href="#2">2</a> <em class="comment"> * Confidential Copyright (c) 2004 Hewlett-Packard Development Company, L.P. *</em>
+<a name="3" href="#3">3</a> <em class="comment"> *=============================================================================*/</em>
+<a name="4" href="#4">4</a> <strong>package</strong> <a href="../../../../org/apache/ws/test/package-summary.html">org.apache.ws.test</a>;
+<a name="5" href="#5">5</a>
+<a name="6" href="#6">6</a> <strong>import</strong> junit.framework.TestCase;
+<a name="7" href="#7">7</a>
+<a name="8" href="#8">8</a> <em>/**<em>*</em></em>
+<a name="9" href="#9">9</a> <em> * A JUnit test case superclass that will setup each individual test with its own</em>
+<a name="10" href="#10">10</a> <em> * Axis server. Multiple Axis servers will be started/stopped - one per test method.</em>
+<a name="11" href="#11">11</a> <em> *</em>
+<a name="12" href="#12">12</a> <em> * @author mazz</em>
+<a name="13" href="#13">13</a> <em> */</em>
+<a name="14" href="#14">14</a> <strong>public</strong> <strong>abstract</strong> <strong>class</strong> <a href="../../../../org/apache/ws/test/AbstractMultipleAxisTestCase.html">AbstractMultipleAxisTestCase</a>
+<a name="15" href="#15">15</a> <strong>extends</strong> <a href="../../../../org/apache/ws/test/AbstractAxisTestCase.html">AbstractAxisTestCase</a>
+<a name="16" href="#16">16</a> {
+<a name="17" href="#17">17</a> <em>/**<em>*</em></em>
+<a name="18" href="#18">18</a> <em> * @see AbstractAxisTestCase#AbstractAxisTestCase()</em>
+<a name="19" href="#19">19</a> <em> */</em>
+<a name="20" href="#20">20</a> <strong>public</strong> <a href="../../../../org/apache/ws/test/AbstractMultipleAxisTestCase.html">AbstractMultipleAxisTestCase</a>( )
+<a name="21" href="#21">21</a> {
+<a name="22" href="#22">22</a> }
+<a name="23" href="#23">23</a>
+<a name="24" href="#24">24</a> <em>/**<em>*</em></em>
+<a name="25" href="#25">25</a> <em> * @see AbstractAxisTestCase#AbstractAxisTestCase(String)</em>
+<a name="26" href="#26">26</a> <em> */</em>
+<a name="27" href="#27">27</a> <strong>public</strong> <a href="../../../../org/apache/ws/test/AbstractMultipleAxisTestCase.html">AbstractMultipleAxisTestCase</a>( String name )
+<a name="28" href="#28">28</a> {
+<a name="29" href="#29">29</a> <strong>super</strong>( name );
+<a name="30" href="#30">30</a> }
+<a name="31" href="#31">31</a>
+<a name="32" href="#32">32</a> <em>/**<em>*</em></em>
+<a name="33" href="#33">33</a> <em> * Starts the embedded Axis server.</em>
+<a name="34" href="#34">34</a> <em> *</em>
+<a name="35" href="#35">35</a> <em> * @see TestCase#setUp()</em>
+<a name="36" href="#36">36</a> <em> */</em>
+<a name="37" href="#37">37</a> <strong>protected</strong> <strong>void</strong> setUp( )
+<a name="38" href="#38">38</a> throws Exception
+<a name="39" href="#39">39</a> {
+<a name="40" href="#40">40</a> <strong>super</strong>.setUp( );
+<a name="41" href="#41">41</a> startAxisServer( );
+<a name="42" href="#42">42</a> }
+<a name="43" href="#43">43</a>
+<a name="44" href="#44">44</a> <em>/**<em>*</em></em>
+<a name="45" href="#45">45</a> <em> * Stops the embedded Axis server.</em>
+<a name="46" href="#46">46</a> <em> *</em>
+<a name="47" href="#47">47</a> <em> * @see TestCase#tearDown()</em>
+<a name="48" href="#48">48</a> <em> */</em>
+<a name="49" href="#49">49</a> <strong>protected</strong> <strong>void</strong> tearDown( )
+<a name="50" href="#50">50</a> throws Exception
+<a name="51" href="#51">51</a> {
+<a name="52" href="#52">52</a> <strong>super</strong>.tearDown( );
+<a name="53" href="#53">53</a> stopAxisServer( );
+<a name="54" href="#54">54</a> }
+<a name="55" href="#55">55</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/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractNoAxisTestCase.html
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractNoAxisTestCase.html?rev=232376&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractNoAxisTestCase.html (added)
+++ webservices/muse/trunk/src/examples/client/target/docs/xref-test/org/apache/ws/test/AbstractNoAxisTestCase.html Fri Aug 12 13:38:04 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>AbstractNoAxisTestCase 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 class="comment">=============================================================================*</em></em>
+<a name="2" href="#2">2</a> <em class="comment"> * Confidential Copyright (c) 2004 Hewlett-Packard Development Company, L.P. *</em>
+<a name="3" href="#3">3</a> <em class="comment"> *=============================================================================*/</em>
+<a name="4" href="#4">4</a> <strong>package</strong> <a href="../../../../org/apache/ws/test/package-summary.html">org.apache.ws.test</a>;
+<a name="5" href="#5">5</a>
+<a name="6" href="#6">6</a> <em>/**<em>*</em></em>
+<a name="7" href="#7">7</a> <em> * For running tests against an Axis instance running in another JVM (i.e. under Tomcat).</em>
+<a name="8" href="#8">8</a> <em> *</em>
+<a name="9" href="#9">9</a> <em> * @author Ian P. Springer</em>
+<a name="10" href="#10">10</a> <em> */</em>
+<a name="11" href="#11">11</a> <strong>public</strong> <strong>abstract</strong> <strong>class</strong> <a href="../../../../org/apache/ws/test/AbstractNoAxisTestCase.html">AbstractNoAxisTestCase</a>
+<a name="12" href="#12">12</a> <strong>extends</strong> <a href="../../../../org/apache/ws/test/AbstractAxisTestCase.html">AbstractAxisTestCase</a>
+<a name="13" href="#13">13</a> {
+<a name="14" href="#14">14</a> <em>/**<em>*</em></em>
+<a name="15" href="#15">15</a> <em> * Context is wsdm when not running under a {@link org.apache.axis.transport.http.SimpleAxisServer}.</em>
+<a name="16" href="#16">16</a> <em> *</em>
+<a name="17" href="#17">17</a> <em> * @return "wsdm"</em>
+<a name="18" href="#18">18</a> <em> */</em>
+<a name="19" href="#19">19</a> <strong>protected</strong> String getAxisContextName( )
+<a name="20" href="#20">20</a> {
+<a name="21" href="#21">21</a> <strong>return</strong> <span class="string">"wsdm"</span>;
+<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>
+
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org