You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by tv...@apache.org on 2013/04/29 08:01:54 UTC
svn commit: r860268 [31/36] - in /websites/production/turbine/content: ./
meta/ meta/images/ meta/images/logos/ meta/style/ stratum/ stratum/apidocs/
stratum/apidocs/org/ stratum/apidocs/org/apache/
stratum/apidocs/org/apache/stratum/ stratum/apidocs/o...
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/AbstractComponent.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/component/AbstractComponent.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/component/AbstractComponent.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,79 @@
+<!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>AbstractComponent xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/component/AbstractComponent.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/component/package-summary.html">org.apache.stratum.component</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong>import</strong> org.apache.commons.configuration.Configuration;
+<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> * TODO: DOCUMENT ME!</em>
+<a name="24" href="#24">24</a> <em> *</em>
+<a name="25" href="#25">25</a> <em> * @author $author$</em>
+<a name="26" href="#26">26</a> <em> * @version $Id: AbstractComponent.java 264191 2005-08-29 18:07:52Z henning $</em>
+<a name="27" href="#27">27</a> <em> */</em>
+<a name="28" href="#28">28</a> <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/stratum/component/AbstractComponent.html">AbstractComponent</a>
+<a name="29" href="#29">29</a> {
+<a name="30" href="#30">30</a> <em>/**<em>* TODO: DOCUMENT ME! */</em></em>
+<a name="31" href="#31">31</a> <strong>private</strong> Configuration configuration;
+<a name="32" href="#32">32</a>
+<a name="33" href="#33">33</a> <em>/**<em>* TODO: DOCUMENT ME! */</em></em>
+<a name="34" href="#34">34</a> <strong>private</strong> <strong>boolean</strong> isConfigured = false;
+<a name="35" href="#35">35</a>
+<a name="36" href="#36">36</a> <em>/**<em>*</em></em>
+<a name="37" href="#37">37</a> <em> * TODO: DOCUMENT ME!</em>
+<a name="38" href="#38">38</a> <em> *</em>
+<a name="39" href="#39">39</a> <em> * @return TODO: DOCUMENT ME!</em>
+<a name="40" href="#40">40</a> <em> */</em>
+<a name="41" href="#41">41</a> <strong>public</strong> <strong>boolean</strong> isConfigured()
+<a name="42" href="#42">42</a> {
+<a name="43" href="#43">43</a> <strong>return</strong> isConfigured;
+<a name="44" href="#44">44</a> }
+<a name="45" href="#45">45</a>
+<a name="46" href="#46">46</a> <em>/**<em>*</em></em>
+<a name="47" href="#47">47</a> <em> * TODO: DOCUMENT ME!</em>
+<a name="48" href="#48">48</a> <em> *</em>
+<a name="49" href="#49">49</a> <em> * @param configuration TODO: DOCUMENT ME!</em>
+<a name="50" href="#50">50</a> <em> */</em>
+<a name="51" href="#51">51</a> <strong>public</strong> <strong>void</strong> setConfiguration(Configuration configuration)
+<a name="52" href="#52">52</a> {
+<a name="53" href="#53">53</a> <strong>this</strong>.configuration = configuration;
+<a name="54" href="#54">54</a> isConfigured = <strong>true</strong>;
+<a name="55" href="#55">55</a> }
+<a name="56" href="#56">56</a>
+<a name="57" href="#57">57</a> <em>/**<em>*</em></em>
+<a name="58" href="#58">58</a> <em> * TODO: DOCUMENT ME!</em>
+<a name="59" href="#59">59</a> <em> *</em>
+<a name="60" href="#60">60</a> <em> * @return TODO: DOCUMENT ME!</em>
+<a name="61" href="#61">61</a> <em> */</em>
+<a name="62" href="#62">62</a> <strong>public</strong> Configuration getConfiguration()
+<a name="63" href="#63">63</a> {
+<a name="64" href="#64">64</a> <strong>return</strong> configuration;
+<a name="65" href="#65">65</a> }
+<a name="66" href="#66">66</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/AbstractComponent.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/AbstractComponent.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/Component.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/component/Component.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/component/Component.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,63 @@
+<!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>Component xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/component/Component.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/component/package-summary.html">org.apache.stratum.component</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong>import</strong> org.apache.commons.configuration.Configuration;
+<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> * TODO: DOCUMENT ME!</em>
+<a name="24" href="#24">24</a> <em> *</em>
+<a name="25" href="#25">25</a> <em> * @author $author$</em>
+<a name="26" href="#26">26</a> <em> * @version $Id: Component.java 264191 2005-08-29 18:07:52Z henning $</em>
+<a name="27" href="#27">27</a> <em> */</em>
+<a name="28" href="#28">28</a> <strong>public</strong> <strong>interface</strong> <a href="../../../../org/apache/stratum/component/Component.html">Component</a>
+<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> * TODO: DOCUMENT ME!</em>
+<a name="32" href="#32">32</a> <em> *</em>
+<a name="33" href="#33">33</a> <em> * @return TODO: DOCUMENT ME!</em>
+<a name="34" href="#34">34</a> <em> */</em>
+<a name="35" href="#35">35</a> <strong>boolean</strong> isConfigured();
+<a name="36" href="#36">36</a>
+<a name="37" href="#37">37</a> <em>/**<em>*</em></em>
+<a name="38" href="#38">38</a> <em> * TODO: DOCUMENT ME!</em>
+<a name="39" href="#39">39</a> <em> *</em>
+<a name="40" href="#40">40</a> <em> * @param configuration TODO: DOCUMENT ME!</em>
+<a name="41" href="#41">41</a> <em> */</em>
+<a name="42" href="#42">42</a> <strong>void</strong> setConfiguration(Configuration configuration);
+<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> * TODO: DOCUMENT ME!</em>
+<a name="46" href="#46">46</a> <em> *</em>
+<a name="47" href="#47">47</a> <em> * @return TODO: DOCUMENT ME!</em>
+<a name="48" href="#48">48</a> <em> */</em>
+<a name="49" href="#49">49</a> Configuration getConfiguration();
+<a name="50" href="#50">50</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/Component.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/Component.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/ComponentLoader.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/component/ComponentLoader.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/component/ComponentLoader.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,248 @@
+<!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>ComponentLoader xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/component/ComponentLoader.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/component/package-summary.html">org.apache.stratum.component</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong>import</strong> java.io.IOException;
+<a name="21" href="#21">21</a> <strong>import</strong> java.util.List;
+<a name="22" href="#22">22</a>
+<a name="23" href="#23">23</a> <strong>import</strong> org.apache.commons.configuration.CompositeConfiguration;
+<a name="24" href="#24">24</a> <strong>import</strong> org.apache.commons.configuration.Configuration;
+<a name="25" href="#25">25</a> <strong>import</strong> org.apache.commons.configuration.PropertiesConfiguration;
+<a name="26" href="#26">26</a> <strong>import</strong> org.apache.log4j.Category;
+<a name="27" href="#27">27</a> <strong>import</strong> org.apache.stratum.lifecycle.Configurable;
+<a name="28" href="#28">28</a> <strong>import</strong> org.apache.stratum.lifecycle.Initializable;
+<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> * Loader for Components implementing the lifecyle Interfaces. NOTE: This class is in its infancy and will more than likely change.</em>
+<a name="32" href="#32">32</a> <em> *</em>
+<a name="33" href="#33">33</a> <em> * @author <a href="<a href="mailto:eric" target="alexandria_uri">mailto:eric</a> NOSPAM dobbse.net">Eric Dobbs </a></em>
+<a name="34" href="#34">34</a> <em> * @author <a href="<a href="mailto:mpoeschl@marmot.at" target="alexandria_uri">mailto:mpoeschl@marmot.at</a>">Martin Poeschl </a></em>
+<a name="35" href="#35">35</a> <em> * @version $Id: ComponentLoader.java 264191 2005-08-29 18:07:52Z henning $</em>
+<a name="36" href="#36">36</a> <em> */</em>
+<a name="37" href="#37">37</a> <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/stratum/component/ComponentLoader.html">ComponentLoader</a>
+<a name="38" href="#38">38</a> {
+<a name="39" href="#39">39</a> <em>/**<em>* Log4j category used for logging. NOTE: we should change this to use the commons-logging API. */</em></em>
+<a name="40" href="#40">40</a> <strong>private</strong> <strong>static</strong> Category log = Category.getInstance(ComponentLoader.<strong>class</strong>);
+<a name="41" href="#41">41</a>
+<a name="42" href="#42">42</a> <em>/**<em>* <a href="../../../../org/apache/stratum/component/Component.html">Component</a> tag used in Configurations */</em></em>
+<a name="43" href="#43">43</a> <strong>private</strong> <strong>static</strong> String COMPONENT = <span class="string">"component"</span>;
+<a name="44" href="#44">44</a>
+<a name="45" href="#45">45</a> <em>/**<em>* Class name tag used in Configurations */</em></em>
+<a name="46" href="#46">46</a> <strong>private</strong> <strong>static</strong> String CLASSNAME = <span class="string">"classname"</span>;
+<a name="47" href="#47">47</a>
+<a name="48" href="#48">48</a> <em>/**<em>* Extension used for Configuration files. */</em></em>
+<a name="49" href="#49">49</a> <strong>private</strong> <strong>static</strong> String CONFIG = <span class="string">"config"</span>;
+<a name="50" href="#50">50</a>
+<a name="51" href="#51">51</a> <em>/**<em>* Extension used for Additional properties. */</em></em>
+<a name="52" href="#52">52</a> <strong>private</strong> <strong>static</strong> String PROPERTY = <span class="string">"property"</span>;
+<a name="53" href="#53">53</a>
+<a name="54" href="#54">54</a> <em>/**<em>* Name tag used in Configurations */</em></em>
+<a name="55" href="#55">55</a> <strong>private</strong> <strong>static</strong> String NAME = <span class="string">"name"</span>;
+<a name="56" href="#56">56</a>
+<a name="57" href="#57">57</a> <em>/**<em>* Configuration used by this ComponentLoader. */</em></em>
+<a name="58" href="#58">58</a> <strong>private</strong> Configuration configuration;
+<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> * Constructor</em>
+<a name="62" href="#62">62</a> <em> *</em>
+<a name="63" href="#63">63</a> <em> * @param configuration</em>
+<a name="64" href="#64">64</a> <em> */</em>
+<a name="65" href="#65">65</a> <strong>public</strong> <a href="../../../../org/apache/stratum/component/ComponentLoader.html">ComponentLoader</a>(Configuration configuration)
+<a name="66" href="#66">66</a> {
+<a name="67" href="#67">67</a> <strong>this</strong>.configuration = configuration;
+<a name="68" href="#68">68</a> }
+<a name="69" href="#69">69</a>
+<a name="70" href="#70">70</a> <em>/**<em>*</em></em>
+<a name="71" href="#71">71</a> <em> * Set the configuration for this ComponentLoader</em>
+<a name="72" href="#72">72</a> <em> *</em>
+<a name="73" href="#73">73</a> <em> * @param configuration Configuration</em>
+<a name="74" href="#74">74</a> <em> */</em>
+<a name="75" href="#75">75</a> <strong>public</strong> <strong>void</strong> setConfiguration(Configuration configuration)
+<a name="76" href="#76">76</a> {
+<a name="77" href="#77">77</a> <strong>this</strong>.configuration = configuration;
+<a name="78" href="#78">78</a> }
+<a name="79" href="#79">79</a>
+<a name="80" href="#80">80</a> <em>/**<em>*</em></em>
+<a name="81" href="#81">81</a> <em> * Support method for testing the constructor</em>
+<a name="82" href="#82">82</a> <em> *</em>
+<a name="83" href="#83">83</a> <em> * @return the configuration</em>
+<a name="84" href="#84">84</a> <em> */</em>
+<a name="85" href="#85">85</a> <strong>public</strong> Configuration getConfiguration()
+<a name="86" href="#86">86</a> {
+<a name="87" href="#87">87</a> <strong>return</strong> configuration;
+<a name="88" href="#88">88</a> }
+<a name="89" href="#89">89</a>
+<a name="90" href="#90">90</a> <em>/**<em>*</em></em>
+<a name="91" href="#91">91</a> <em> * <p></em>
+<a name="92" href="#92">92</a> <em> * Load all the components listed in the ComponentLoader's configuration. Log any errors, but throw no exceptions if components</em>
+<a name="93" href="#93">93</a> <em> * cannot be loaded.</em>
+<a name="94" href="#94">94</a> <em> * </p></em>
+<a name="95" href="#95">95</a> <em> * Configuration notes:<br></em>
+<a name="96" href="#96">96</a> <em> * Components are identified in the properties file as follows: <br></em>
+<a name="97" href="#97">97</a> <em> * <code> component.name=NAME component.NAME.classname = com.mycompany.components.SomeComponent component.NAME.config =</em>
+<a name="98" href="#98">98</a> <em> * path/to/SomeComponent.properties </code></em>
+<a name="99" href="#99">99</a> <em> *</em>
+<a name="100" href="#100">100</a> <em> * @return an array of loaded components</em>
+<a name="101" href="#101">101</a> <em> */</em>
+<a name="102" href="#102">102</a> <strong>public</strong> Object [] load()
+<a name="103" href="#103">103</a> {
+<a name="104" href="#104">104</a> List components = configuration.getList(COMPONENT + '.' + NAME);
+<a name="105" href="#105">105</a> Object [] loadedComponents = <strong>new</strong> Object[components.size()];
+<a name="106" href="#106">106</a>
+<a name="107" href="#107">107</a> String componentName;
+<a name="108" href="#108">108</a> String componentClassName;
+<a name="109" href="#109">109</a> String componentConfig;
+<a name="110" href="#110">110</a> Configuration componentAdditionalConfig;
+<a name="111" href="#111">111</a>
+<a name="112" href="#112">112</a> <strong>for</strong> (<strong>int</strong> i = 0; i < components.size(); i++)
+<a name="113" href="#113">113</a> {
+<a name="114" href="#114">114</a> componentName = (String) components.get(i);
+<a name="115" href="#115">115</a> componentClassName = getComponentClassname(componentName);
+<a name="116" href="#116">116</a> componentConfig = getComponentConfigFile(componentName);
+<a name="117" href="#117">117</a> componentAdditionalConfig = getComponentAdditionalConfig(componentName);
+<a name="118" href="#118">118</a>
+<a name="119" href="#119">119</a> log.info(<span class="string">"loading component: name="</span> + componentName + <span class="string">" class="</span> + componentClassName + <span class="string">" config="</span> + componentConfig);
+<a name="120" href="#120">120</a>
+<a name="121" href="#121">121</a> loadedComponents[i] = loadComponent(componentClassName, componentConfig, componentAdditionalConfig);
+<a name="122" href="#122">122</a> }
+<a name="123" href="#123">123</a>
+<a name="124" href="#124">124</a> <strong>return</strong> loadedComponents;
+<a name="125" href="#125">125</a> }
+<a name="126" href="#126">126</a>
+<a name="127" href="#127">127</a> <em>/**<em>*</em></em>
+<a name="128" href="#128">128</a> <em> * load the given component, configure it with the given config file, and initialize it. <br></em>
+<a name="129" href="#129">129</a> <em> * The component must implement the <code>Initializable</code> and <code>Configurable</code> interfaces.</em>
+<a name="130" href="#130">130</a> <em> *</em>
+<a name="131" href="#131">131</a> <em> * @param className the String class name of the component to load</em>
+<a name="132" href="#132">132</a> <em> * @param configFile the String path name of the component's config file</em>
+<a name="133" href="#133">133</a> <em> * @param additionalConfig TODO: DOCUMENT ME!</em>
+<a name="134" href="#134">134</a> <em> *</em>
+<a name="135" href="#135">135</a> <em> * @return the loaded component or null if it failed to load</em>
+<a name="136" href="#136">136</a> <em> *</em>
+<a name="137" href="#137">137</a> <em> * @see Initializable</em>
+<a name="138" href="#138">138</a> <em> * @see Configurable</em>
+<a name="139" href="#139">139</a> <em> */</em>
+<a name="140" href="#140">140</a> <strong>public</strong> Object loadComponent(String className, String configFile, Configuration additionalConfig)
+<a name="141" href="#141">141</a> {
+<a name="142" href="#142">142</a> Object component = <strong>null</strong>;
+<a name="143" href="#143">143</a>
+<a name="144" href="#144">144</a> <strong>if</strong> (log.isDebugEnabled())
+<a name="145" href="#145">145</a> {
+<a name="146" href="#146">146</a> log.debug(<span class="string">"attempting to load '"</span> + className + <span class="string">"' with the config file '"</span> + configFile + <span class="string">"'."</span>);
+<a name="147" href="#147">147</a> }
+<a name="148" href="#148">148</a>
+<a name="149" href="#149">149</a> <strong>try</strong>
+<a name="150" href="#150">150</a> {
+<a name="151" href="#151">151</a> component = Class.forName(className).newInstance();
+<a name="152" href="#152">152</a>
+<a name="153" href="#153">153</a> <em class="comment">// configure component using the given config file</em>
+<a name="154" href="#154">154</a> CompositeConfiguration config = <strong>new</strong> CompositeConfiguration();
+<a name="155" href="#155">155</a> config.addConfiguration(<strong>new</strong> PropertiesConfiguration(configFile));
+<a name="156" href="#156">156</a> config.addConfiguration(additionalConfig);
+<a name="157" href="#157">157</a> ((<a href="../../../../org/apache/stratum/lifecycle/Configurable.html">Configurable</a>) component).configure(config);
+<a name="158" href="#158">158</a>
+<a name="159" href="#159">159</a> <em class="comment">// initialize component</em>
+<a name="160" href="#160">160</a> ((<a href="../../../../org/apache/stratum/lifecycle/Initializable.html">Initializable</a>) component).initialize();
+<a name="161" href="#161">161</a>
+<a name="162" href="#162">162</a> <strong>if</strong> (log.isDebugEnabled())
+<a name="163" href="#163">163</a> {
+<a name="164" href="#164">164</a> log.debug(<span class="string">"good news! "</span> + className + <span class="string">" successfully configured and initialized"</span>);
+<a name="165" href="#165">165</a> }
+<a name="166" href="#166">166</a> }
+<a name="167" href="#167">167</a> <strong>catch</strong> (IOException ioe)
+<a name="168" href="#168">168</a> {
+<a name="169" href="#169">169</a> log.error(className + <span class="string">" could not be configured with file '"</span> + configFile + <span class="string">"'."</span>, ioe);
+<a name="170" href="#170">170</a> }
+<a name="171" href="#171">171</a> <strong>catch</strong> (Exception e)
+<a name="172" href="#172">172</a> {
+<a name="173" href="#173">173</a> log.error(className + <span class="string">" could not be initialized!"</span>, e);
+<a name="174" href="#174">174</a> }
+<a name="175" href="#175">175</a>
+<a name="176" href="#176">176</a> <strong>return</strong> component;
+<a name="177" href="#177">177</a> }
+<a name="178" href="#178">178</a>
+<a name="179" href="#179">179</a> <em>/**<em>*</em></em>
+<a name="180" href="#180">180</a> <em> * <p></em>
+<a name="181" href="#181">181</a> <em> * Get the component's classname as defined in the ComponentLoader configuration.</em>
+<a name="182" href="#182">182</a> <em> * </p></em>
+<a name="183" href="#183">183</a> <em> *</em>
+<a name="184" href="#184">184</a> <em> * <p></em>
+<a name="185" href="#185">185</a> <em> * Example property: <br/> component.NAME.classname=com.mycompany.components.MyComponent</em>
+<a name="186" href="#186">186</a> <em> * </p></em>
+<a name="187" href="#187">187</a> <em> *</em>
+<a name="188" href="#188">188</a> <em> * @param name the String NAME of the component in the classfile</em>
+<a name="189" href="#189">189</a> <em> *</em>
+<a name="190" href="#190">190</a> <em> * @return the configured classname</em>
+<a name="191" href="#191">191</a> <em> */</em>
+<a name="192" href="#192">192</a> <strong>private</strong> String getComponentClassname(String name)
+<a name="193" href="#193">193</a> {
+<a name="194" href="#194">194</a> <strong>return</strong> configuration.getString(COMPONENT + '.' + name + '.' + CLASSNAME);
+<a name="195" href="#195">195</a> }
+<a name="196" href="#196">196</a>
+<a name="197" href="#197">197</a> <em>/**<em>*</em></em>
+<a name="198" href="#198">198</a> <em> * <p></em>
+<a name="199" href="#199">199</a> <em> * Get the component's config file as defined in the ComponentLoader configuration.</em>
+<a name="200" href="#200">200</a> <em> * </p></em>
+<a name="201" href="#201">201</a> <em> *</em>
+<a name="202" href="#202">202</a> <em> * <p></em>
+<a name="203" href="#203">203</a> <em> * Example property: <br/>component.NAME.config=path/to/your/config</em>
+<a name="204" href="#204">204</a> <em> * </p></em>
+<a name="205" href="#205">205</a> <em> *</em>
+<a name="206" href="#206">206</a> <em> * @param name the String NAME of the component in the classfile</em>
+<a name="207" href="#207">207</a> <em> *</em>
+<a name="208" href="#208">208</a> <em> * @return the configured config file</em>
+<a name="209" href="#209">209</a> <em> */</em>
+<a name="210" href="#210">210</a> <strong>private</strong> String getComponentConfigFile(String name)
+<a name="211" href="#211">211</a> {
+<a name="212" href="#212">212</a> <strong>return</strong> configuration.getString(COMPONENT + '.' + name + '.' + CONFIG);
+<a name="213" href="#213">213</a> }
+<a name="214" href="#214">214</a>
+<a name="215" href="#215">215</a> <em>/**<em>*</em></em>
+<a name="216" href="#216">216</a> <em> * <p></em>
+<a name="217" href="#217">217</a> <em> * Get any additional configuration properties from the master configuration.</em>
+<a name="218" href="#218">218</a> <em> * </p></em>
+<a name="219" href="#219">219</a> <em> *</em>
+<a name="220" href="#220">220</a> <em> * <p></em>
+<a name="221" href="#221">221</a> <em> * Example property: <br/></em>
+<a name="222" href="#222">222</a> <em> * component.NAME.property.key1==value1 <br/></em>
+<a name="223" href="#223">223</a> <em> * component.NAME.property.key2==value2 <br/></em>
+<a name="224" href="#224">224</a> <em> * component.NAME.property.key3==value3 <br/></em>
+<a name="225" href="#225">225</a> <em> * </p></em>
+<a name="226" href="#226">226</a> <em> *</em>
+<a name="227" href="#227">227</a> <em> * @param name the String NAME of the component in the classfile</em>
+<a name="228" href="#228">228</a> <em> *</em>
+<a name="229" href="#229">229</a> <em> * @return the extra properties as a Configuration object</em>
+<a name="230" href="#230">230</a> <em> */</em>
+<a name="231" href="#231">231</a> <strong>private</strong> Configuration getComponentAdditionalConfig(String name)
+<a name="232" href="#232">232</a> {
+<a name="233" href="#233">233</a> <strong>return</strong> configuration.subset(COMPONENT + '.' + name + '.' + PROPERTY);
+<a name="234" href="#234">234</a> }
+<a name="235" href="#235">235</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/ComponentLoader.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/ComponentLoader.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-frame.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-frame.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-frame.html Mon Apr 29 06:01:27 2013
@@ -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>jakarta-turbine-stratum 1.0 Reference Package org.apache.stratum.component</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.stratum.component</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+
+ <li>
+ <a href="AbstractComponent.html" target="classFrame">AbstractComponent</a>
+ </li>
+
+ <li>
+ <a href="Component.html" target="classFrame">Component</a>
+ </li>
+
+ <li>
+ <a href="ComponentLoader.html" target="classFrame">ComponentLoader</a>
+ </li>
+
+ </ul>
+
+ </body>
+ </html>
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-frame.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-frame.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-summary.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-summary.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-summary.html Mon Apr 29 06:01:27 2013
@@ -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>jakarta-turbine-stratum 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.stratum.component</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+ <tr>
+ <td>
+ <a href="AbstractComponent.html" target="classFrame">AbstractComponent</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="Component.html" target="classFrame">Component</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="ComponentLoader.html" target="classFrame">ComponentLoader</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 © 2002-2005 Apache Software Foundation. All Rights Reserved.
+ </body>
+ </html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-summary.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/component/package-summary.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Configurable.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Configurable.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Configurable.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,53 @@
+<!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>Configurable xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/lifecycle/Configurable.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/lifecycle/package-summary.html">org.apache.stratum.lifecycle</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong>import</strong> org.apache.commons.configuration.Configuration;
+<a name="21" href="#21">21</a> <strong>import</strong> org.apache.commons.lang.exception.NestableException;
+<a name="22" href="#22">22</a>
+<a name="23" href="#23">23</a> <em>/**<em>*</em></em>
+<a name="24" href="#24">24</a> <em> * The Configurable interface is used by components that need to be initialized.</em>
+<a name="25" href="#25">25</a> <em> *</em>
+<a name="26" href="#26">26</a> <em> * @author <a href="<a href="mailto:jvanzyl@apache.org" target="alexandria_uri">mailto:jvanzyl@apache.org</a>">Jason van Zyl</a></em>
+<a name="27" href="#27">27</a> <em> * @version $Id: Configurable.java 264191 2005-08-29 18:07:52Z henning $</em>
+<a name="28" href="#28">28</a> <em> */</em>
+<a name="29" href="#29">29</a> <strong>public</strong> <strong>interface</strong> <a href="../../../../org/apache/stratum/lifecycle/Configurable.html">Configurable</a>
+<a name="30" href="#30">30</a> {
+<a name="31" href="#31">31</a> <em>/**<em>*</em></em>
+<a name="32" href="#32">32</a> <em> * Configure the component</em>
+<a name="33" href="#33">33</a> <em> *</em>
+<a name="34" href="#34">34</a> <em> * @param configuration</em>
+<a name="35" href="#35">35</a> <em> *</em>
+<a name="36" href="#36">36</a> <em> * @throws NestableException TODO: DOCUMENT ME!</em>
+<a name="37" href="#37">37</a> <em> */</em>
+<a name="38" href="#38">38</a> <strong>void</strong> configure(Configuration configuration)
+<a name="39" href="#39">39</a> throws NestableException;
+<a name="40" href="#40">40</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Configurable.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Configurable.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Disposable.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Disposable.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Disposable.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,50 @@
+<!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>Disposable xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/lifecycle/Disposable.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/lifecycle/package-summary.html">org.apache.stratum.lifecycle</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <em>/**<em>*</em></em>
+<a name="21" href="#21">21</a> <em> * The Disposable interface is used when components need to deallocate and dispose resources prior to their destruction.</em>
+<a name="22" href="#22">22</a> <em> *</em>
+<a name="23" href="#23">23</a> <em> * @author <a href="<a href="mailto:fede@apache.org" target="alexandria_uri">mailto:fede@apache.org</a>">Federico Barbieri</a></em>
+<a name="24" href="#24">24</a> <em> * @author <a href="<a href="mailto:pier@apache.org" target="alexandria_uri">mailto:pier@apache.org</a>">Pierpaolo Fumagalli</a></em>
+<a name="25" href="#25">25</a> <em> * @author <a href="<a href="mailto:stefano@apache.org" target="alexandria_uri">mailto:stefano@apache.org</a>">Stefano Mazzocchi</a></em>
+<a name="26" href="#26">26</a> <em> * @author <a href="<a href="mailto:donaldp@apache.org" target="alexandria_uri">mailto:donaldp@apache.org</a>">Peter Donald</a></em>
+<a name="27" href="#27">27</a> <em> * @author <a href="<a href="mailto:bloritsch@apache.org" target="alexandria_uri">mailto:bloritsch@apache.org</a>">Berin Loritsch</a></em>
+<a name="28" href="#28">28</a> <em> */</em>
+<a name="29" href="#29">29</a> <strong>public</strong> <strong>interface</strong> <a href="../../../../org/apache/stratum/lifecycle/Disposable.html">Disposable</a>
+<a name="30" href="#30">30</a> {
+<a name="31" href="#31">31</a> <em>/**<em>*</em></em>
+<a name="32" href="#32">32</a> <em> * The dispose operation is called at the end of a components lifecycle. This method will be called after Startable.stop()</em>
+<a name="33" href="#33">33</a> <em> * method (if implemented by component). Components use this method to release and destroy any resources that the Component</em>
+<a name="34" href="#34">34</a> <em> * owns.</em>
+<a name="35" href="#35">35</a> <em> */</em>
+<a name="36" href="#36">36</a> <strong>void</strong> dispose();
+<a name="37" href="#37">37</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Disposable.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Disposable.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Executable.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Executable.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Executable.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,52 @@
+<!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>Executable xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/lifecycle/Executable.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/lifecycle/package-summary.html">org.apache.stratum.lifecycle</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <em>/**<em>*</em></em>
+<a name="21" href="#21">21</a> <em> * The Executable can be implemented by components that need to perform some work. In many respects it is similar to Runnable</em>
+<a name="22" href="#22">22</a> <em> * except that it also allows an application to throw a non-Runtime Exception.</em>
+<a name="23" href="#23">23</a> <em> *</em>
+<a name="24" href="#24">24</a> <em> * <p></em>
+<a name="25" href="#25">25</a> <em> * The work done may be short lived (ie a simple task) or it could be a long running.</em>
+<a name="26" href="#26">26</a> <em> * </p></em>
+<a name="27" href="#27">27</a> <em> *</em>
+<a name="28" href="#28">28</a> <em> * @author <a href="<a href="mailto:donaldp@apache.org" target="alexandria_uri">mailto:donaldp@apache.org</a>">Peter Donald</a></em>
+<a name="29" href="#29">29</a> <em> */</em>
+<a name="30" href="#30">30</a> <strong>public</strong> <strong>interface</strong> <a href="../../../../org/apache/stratum/lifecycle/Executable.html">Executable</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> * Execute the action associated with this component.</em>
+<a name="34" href="#34">34</a> <em> *</em>
+<a name="35" href="#35">35</a> <em> * @exception Exception if an error occurs</em>
+<a name="36" href="#36">36</a> <em> */</em>
+<a name="37" href="#37">37</a> <strong>void</strong> execute()
+<a name="38" href="#38">38</a> throws Exception;
+<a name="39" href="#39">39</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Executable.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Executable.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Initializable.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Initializable.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Initializable.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,51 @@
+<!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>Initializable xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/lifecycle/Initializable.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/lifecycle/package-summary.html">org.apache.stratum.lifecycle</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <em>/**<em>*</em></em>
+<a name="21" href="#21">21</a> <em> * The Initializable interface is used by components that need to allocate resources prior to them becoming active.</em>
+<a name="22" href="#22">22</a> <em> *</em>
+<a name="23" href="#23">23</a> <em> * @author <a href="<a href="mailto:fede@apache.org" target="alexandria_uri">mailto:fede@apache.org</a>">Federico Barbieri</a></em>
+<a name="24" href="#24">24</a> <em> * @author <a href="<a href="mailto:pier@apache.org" target="alexandria_uri">mailto:pier@apache.org</a>">Pierpaolo Fumagalli</a></em>
+<a name="25" href="#25">25</a> <em> * @author <a href="<a href="mailto:stefano@apache.org" target="alexandria_uri">mailto:stefano@apache.org</a>">Stefano Mazzocchi</a></em>
+<a name="26" href="#26">26</a> <em> * @author <a href="<a href="mailto:donaldp@apache.org" target="alexandria_uri">mailto:donaldp@apache.org</a>">Peter Donald</a></em>
+<a name="27" href="#27">27</a> <em> * @version $Id: Initializable.java 264191 2005-08-29 18:07:52Z henning $</em>
+<a name="28" href="#28">28</a> <em> */</em>
+<a name="29" href="#29">29</a> <strong>public</strong> <strong>interface</strong> <a href="../../../../org/apache/stratum/lifecycle/Initializable.html">Initializable</a>
+<a name="30" href="#30">30</a> {
+<a name="31" href="#31">31</a> <em>/**<em>*</em></em>
+<a name="32" href="#32">32</a> <em> * Initialialize the component. Initialization includes allocating any resources required throughout the components lifecycle.</em>
+<a name="33" href="#33">33</a> <em> *</em>
+<a name="34" href="#34">34</a> <em> * @exception Exception if an error occurs</em>
+<a name="35" href="#35">35</a> <em> */</em>
+<a name="36" href="#36">36</a> <strong>void</strong> initialize()
+<a name="37" href="#37">37</a> throws Exception;
+<a name="38" href="#38">38</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Initializable.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Initializable.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Reconfigurable.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Reconfigurable.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Reconfigurable.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,53 @@
+<!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>Reconfigurable xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/lifecycle/Reconfigurable.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/lifecycle/package-summary.html">org.apache.stratum.lifecycle</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong>import</strong> org.apache.commons.configuration.Configuration;
+<a name="21" href="#21">21</a> <strong>import</strong> org.apache.commons.lang.exception.NestableException;
+<a name="22" href="#22">22</a>
+<a name="23" href="#23">23</a> <em>/**<em>*</em></em>
+<a name="24" href="#24">24</a> <em> * The Reconfigurable interface is used by components that need to be reconfigured.</em>
+<a name="25" href="#25">25</a> <em> *</em>
+<a name="26" href="#26">26</a> <em> * @author <a href="<a href="mailto:jvanzyl@apache.org" target="alexandria_uri">mailto:jvanzyl@apache.org</a>">Jason van Zyl</a></em>
+<a name="27" href="#27">27</a> <em> * @version $Id: Reconfigurable.java 264191 2005-08-29 18:07:52Z henning $</em>
+<a name="28" href="#28">28</a> <em> */</em>
+<a name="29" href="#29">29</a> <strong>public</strong> <strong>interface</strong> <a href="../../../../org/apache/stratum/lifecycle/Reconfigurable.html">Reconfigurable</a>
+<a name="30" href="#30">30</a> {
+<a name="31" href="#31">31</a> <em>/**<em>*</em></em>
+<a name="32" href="#32">32</a> <em> * TODO: DOCUMENT ME!</em>
+<a name="33" href="#33">33</a> <em> *</em>
+<a name="34" href="#34">34</a> <em> * @param configuration TODO: DOCUMENT ME!</em>
+<a name="35" href="#35">35</a> <em> *</em>
+<a name="36" href="#36">36</a> <em> * @throws NestableException TODO: DOCUMENT ME!</em>
+<a name="37" href="#37">37</a> <em> */</em>
+<a name="38" href="#38">38</a> <strong>void</strong> reconfigure(Configuration configuration)
+<a name="39" href="#39">39</a> throws NestableException;
+<a name="40" href="#40">40</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Reconfigurable.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Reconfigurable.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Startable.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Startable.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Startable.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,58 @@
+<!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>Startable xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/lifecycle/Startable.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/lifecycle/package-summary.html">org.apache.stratum.lifecycle</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <em>/**<em>*</em></em>
+<a name="21" href="#21">21</a> <em> * The Startable interface is used when components need to be "running" to be active. It provides a method through which components</em>
+<a name="22" href="#22">22</a> <em> * can be "started" and "stopped" without requiring a thread. Note that these methods should start the component but return</em>
+<a name="23" href="#23">23</a> <em> * imediately.</em>
+<a name="24" href="#24">24</a> <em> *</em>
+<a name="25" href="#25">25</a> <em> * @author <a href="<a href="mailto:donaldp@apache.org" target="alexandria_uri">mailto:donaldp@apache.org</a>">Peter Donald</a></em>
+<a name="26" href="#26">26</a> <em> * @author <a href="<a href="mailto:bloritsch@apache.org" target="alexandria_uri">mailto:bloritsch@apache.org</a>">Berin Loritsch</a></em>
+<a name="27" href="#27">27</a> <em> */</em>
+<a name="28" href="#28">28</a> <strong>public</strong> <strong>interface</strong> <a href="../../../../org/apache/stratum/lifecycle/Startable.html">Startable</a>
+<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> * Starts the component.</em>
+<a name="32" href="#32">32</a> <em> *</em>
+<a name="33" href="#33">33</a> <em> * @exception Exception if Component can not be started</em>
+<a name="34" href="#34">34</a> <em> */</em>
+<a name="35" href="#35">35</a> <strong>void</strong> start()
+<a name="36" href="#36">36</a> throws Exception;
+<a name="37" href="#37">37</a>
+<a name="38" href="#38">38</a> <em>/**<em>*</em></em>
+<a name="39" href="#39">39</a> <em> * Stops the component.</em>
+<a name="40" href="#40">40</a> <em> *</em>
+<a name="41" href="#41">41</a> <em> * @exception Exception if the Component can not be Stopped.</em>
+<a name="42" href="#42">42</a> <em> */</em>
+<a name="43" href="#43">43</a> <strong>void</strong> stop()
+<a name="44" href="#44">44</a> throws Exception;
+<a name="45" href="#45">45</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Startable.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Startable.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Suspendable.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Suspendable.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Suspendable.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,51 @@
+<!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>Suspendable xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/lifecycle/Suspendable.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/lifecycle/package-summary.html">org.apache.stratum.lifecycle</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <em>/**<em>*</em></em>
+<a name="21" href="#21">21</a> <em> * The Suspendable interface is used when a component will need to temporarily halt execution of a component. The execution may be</em>
+<a name="22" href="#22">22</a> <em> * halted so that you can reconfigure/ recompose/recontextualize component.</em>
+<a name="23" href="#23">23</a> <em> *</em>
+<a name="24" href="#24">24</a> <em> * @author <a href="<a href="mailto:donaldp@apache.org" target="alexandria_uri">mailto:donaldp@apache.org</a>">Peter Donald</a></em>
+<a name="25" href="#25">25</a> <em> * @author <a href="<a href="mailto:bloritsch@apache.org" target="alexandria_uri">mailto:bloritsch@apache.org</a>">Berin Loritsch</a></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/stratum/lifecycle/Suspendable.html">Suspendable</a>
+<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> * Suspends the component.</em>
+<a name="31" href="#31">31</a> <em> */</em>
+<a name="32" href="#32">32</a> <strong>void</strong> suspend();
+<a name="33" href="#33">33</a>
+<a name="34" href="#34">34</a> <em>/**<em>*</em></em>
+<a name="35" href="#35">35</a> <em> * Resumes the component.</em>
+<a name="36" href="#36">36</a> <em> */</em>
+<a name="37" href="#37">37</a> <strong>void</strong> resume();
+<a name="38" href="#38">38</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Suspendable.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/Suspendable.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-frame.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-frame.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-frame.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,51 @@
+
+
+ <!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>jakarta-turbine-stratum 1.0 Reference Package org.apache.stratum.lifecycle</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.stratum.lifecycle</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+
+ <li>
+ <a href="Configurable.html" target="classFrame">Configurable</a>
+ </li>
+
+ <li>
+ <a href="Disposable.html" target="classFrame">Disposable</a>
+ </li>
+
+ <li>
+ <a href="Executable.html" target="classFrame">Executable</a>
+ </li>
+
+ <li>
+ <a href="Initializable.html" target="classFrame">Initializable</a>
+ </li>
+
+ <li>
+ <a href="Reconfigurable.html" target="classFrame">Reconfigurable</a>
+ </li>
+
+ <li>
+ <a href="Startable.html" target="classFrame">Startable</a>
+ </li>
+
+ <li>
+ <a href="Suspendable.html" target="classFrame">Suspendable</a>
+ </li>
+
+ </ul>
+
+ </body>
+ </html>
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-frame.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-frame.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-summary.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-summary.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-summary.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ <!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>jakarta-turbine-stratum 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.stratum.lifecycle</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+ <tr>
+ <td>
+ <a href="Configurable.html" target="classFrame">Configurable</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="Disposable.html" target="classFrame">Disposable</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="Executable.html" target="classFrame">Executable</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="Initializable.html" target="classFrame">Initializable</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="Reconfigurable.html" target="classFrame">Reconfigurable</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="Startable.html" target="classFrame">Startable</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <a href="Suspendable.html" target="classFrame">Suspendable</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 © 2002-2005 Apache Software Foundation. All Rights Reserved.
+ </body>
+ </html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-summary.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/lifecycle/package-summary.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: websites/production/turbine/content/stratum/xref/org/apache/stratum/messenger/MessengerComponent.html
==============================================================================
--- websites/production/turbine/content/stratum/xref/org/apache/stratum/messenger/MessengerComponent.html (added)
+++ websites/production/turbine/content/stratum/xref/org/apache/stratum/messenger/MessengerComponent.html Mon Apr 29 06:01:27 2013
@@ -0,0 +1,84 @@
+<!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>MessengerComponent xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/stratum/messenger/MessengerComponent.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong>package</strong> <a href="../../../../org/apache/stratum/messenger/package-summary.html">org.apache.stratum.messenger</a>;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <em class="comment">/*</em>
+<a name="4" href="#4">4</a> <em class="comment"> * Copyright 2001-2005 The Apache Software Foundation or its licensors,</em>
+<a name="5" href="#5">5</a> <em class="comment"> * as applicable.</em>
+<a name="6" href="#6">6</a> <em class="comment"> *</em>
+<a name="7" href="#7">7</a> <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="8" href="#8">8</a> <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="9" href="#9">9</a> <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</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="12" href="#12">12</a> <em class="comment"> *</em>
+<a name="13" href="#13">13</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a> <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a> <em class="comment"> */</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong>import</strong> org.apache.commons.configuration.Configuration;
+<a name="21" href="#21">21</a> <strong>import</strong> org.apache.commons.messenger.MessengerManager;
+<a name="22" href="#22">22</a> <strong>import</strong> org.apache.stratum.lifecycle.Configurable;
+<a name="23" href="#23">23</a> <strong>import</strong> org.apache.stratum.lifecycle.Initializable;
+<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> * This class is the Messenger component. It is an adaptor that allows the ComponentLoader to startup MessengerManager. Client</em>
+<a name="27" href="#27">27</a> <em> * code wishing to use Messenger should ask MessengerManager directly for Messenger instances.</em>
+<a name="28" href="#28">28</a> <em> *</em>
+<a name="29" href="#29">29</a> <em> * @author <a href="<a href="mailto:eric@dobbse.net" target="alexandria_uri">mailto:eric@dobbse.net</a>">Eric Dobbs</a></em>
+<a name="30" href="#30">30</a> <em> * @version $Id: MessengerComponent.java 264191 2005-08-29 18:07:52Z henning $</em>
+<a name="31" href="#31">31</a> <em> *</em>
+<a name="32" href="#32">32</a> <em> * @see org.apache.commons.messenger.MessengerManager</em>
+<a name="33" href="#33">33</a> <em> * @see org.apache.commons.messenger.Messenger</em>
+<a name="34" href="#34">34</a> <em> */</em>
+<a name="35" href="#35">35</a> <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/stratum/messenger/MessengerComponent.html">MessengerComponent</a>
+<a name="36" href="#36">36</a> implements Configurable, <a href="../../../../org/apache/stratum/lifecycle/Initializable.html">Initializable</a>
+<a name="37" href="#37">37</a> {
+<a name="38" href="#38">38</a> <em>/**<em>* The key for property 'messenger.xml.url' */</em></em>
+<a name="39" href="#39">39</a> <strong>private</strong> <strong>static</strong> <strong>final</strong> String MESSENGER_XML_URL = <span class="string">"messenger.xml.url"</span>;
+<a name="40" href="#40">40</a>
+<a name="41" href="#41">41</a> <em>/**<em>* The location of the Messenger.xml file */</em></em>
+<a name="42" href="#42">42</a> <strong>private</strong> String messengerXmlUrl;
+<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> * Configure MessengerManager. MessengerManager requires a URL to a Messenger.xml file. The messenger.properties file should</em>
+<a name="46" href="#46">46</a> <em> * define one property named 'messenger.xml.url' identifying the location of Messenger.xml.</em>
+<a name="47" href="#47">47</a> <em> *</em>
+<a name="48" href="#48">48</a> <em> * @param configuration Configuration object containing the 'messenger.xml.url' property</em>
+<a name="49" href="#49">49</a> <em> */</em>
+<a name="50" href="#50">50</a> <strong>public</strong> <strong>void</strong> configure(Configuration configuration)
+<a name="51" href="#51">51</a> {
+<a name="52" href="#52">52</a> messengerXmlUrl = configuration.getString(MESSENGER_XML_URL);
+<a name="53" href="#53">53</a> }
+<a name="54" href="#54">54</a>
+<a name="55" href="#55">55</a> <em>/**<em>*</em></em>
+<a name="56" href="#56">56</a> <em> * Initialize the MessengerManager.</em>
+<a name="57" href="#57">57</a> <em> *</em>
+<a name="58" href="#58">58</a> <em> * @exception Exception is thrown if the file defined in 'messenger.xml.url' can't be found. JMSException will be thrown if</em>
+<a name="59" href="#59">59</a> <em> * MessengerManager.configure is unhappy with the value from 'messenger.xml.url'</em>
+<a name="60" href="#60">60</a> <em> */</em>
+<a name="61" href="#61">61</a> <strong>public</strong> <strong>void</strong> initialize()
+<a name="62" href="#62">62</a> throws Exception
+<a name="63" href="#63">63</a> {
+<a name="64" href="#64">64</a> <strong>if</strong> (messengerXmlUrl == <strong>null</strong>)
+<a name="65" href="#65">65</a> {
+<a name="66" href="#66">66</a> <strong>throw</strong> <strong>new</strong> Exception(<span class="string">"Can't find property '"</span> + MESSENGER_XML_URL + <span class="string">"' in the properties file"</span>);
+<a name="67" href="#67">67</a> }
+<a name="68" href="#68">68</a>
+<a name="69" href="#69">69</a> MessengerManager.configure(messengerXmlUrl);
+<a name="70" href="#70">70</a> }
+<a name="71" href="#71">71</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/messenger/MessengerComponent.html
------------------------------------------------------------------------------
svn:executable = *
Propchange: websites/production/turbine/content/stratum/xref/org/apache/stratum/messenger/MessengerComponent.html
------------------------------------------------------------------------------
svn:mime-type = text/plain