You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by si...@apache.org on 2013/01/15 21:45:36 UTC
svn commit: r1433627 [7/9] - in /incubator/onami/site/spi: ./
apidocs/assets/ apidocs/reference/ apidocs/reference/org/apache/onami/spi/
apidocs/reference/org/apache/onami/spi/binder/ cobertura/ xref-test/
xref-test/org/apache/onami/spi/ xref/ xref/org...
Modified: incubator/onami/site/spi/services.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/services.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/services.html (original)
+++ incubator/onami/site/spi/services.html Tue Jan 15 20:45:34 2013
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at Dec 9, 2012
+ | Generated by Apache Maven Doxia at Jan 15, 2013
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -8,7 +8,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Simple Configuration" />
- <meta name="Date-Revision-yyyymmdd" content="20121209" />
+ <meta name="Date-Revision-yyyymmdd" content="20130115" />
<meta http-equiv="Content-Language" content="en" />
<title>Apache Onami-SPI - Home</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -42,8 +42,8 @@
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 09 December 2012</li>
- <li class="divider">|</li> <li id="projectVersion">Version: 0.2-incubating-SNAPSHOT</li>
+ <li id="publishDate">Last Published: 15 January 2013</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0.0-incubating-SNAPSHOT</li>
@@ -105,7 +105,7 @@
<i class="icon-chevron-right"></i>
Project Reports</a>
</li>
- <li class="nav-header">Components</li>
+ <li class="nav-header">Extensions</li>
<li>
@@ -227,6 +227,13 @@
<i class="none"></i>
Code style recommendations</a>
</li>
+
+ <li>
+
+ <a href="../committers/release-howto.html" title="Release HowTo">
+ <i class="none"></i>
+ Release HowTo</a>
+ </li>
<li class="nav-header">ASF</li>
<li>
@@ -283,20 +290,20 @@
<div id="bodyColumn" class="span9" >
- <!-- --><!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- --><div class="section"><h2>Binding Services<a name="Binding_Services"></a></h2><
p>The <tt>org.apache.onami.spi.ServiceLoaderModule</tt> provides APIs to bind Services to Provided discovered via SPI pattern.</p><p>Given an hipotetycal <tt>FooService</tt>:</p><div class="source"><pre class="prettyprint">package com.acme;
+ <!-- --><!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- --><div class="section"><h2>Binding Services<a name="Binding_Services"></a></h2><
p>The <tt>org.apache.onami.spi.ServiceLoaderModule</tt> provides APIs to bind Services to Provided discovered via SPI pattern.</p><p>Given an hypothetical <tt>CreditCardProcessor</tt>:</p><div class="source"><pre class="prettyprint">package com.acme;
-public interface FooService
+public interface CreditCardProcessor
{
void doSomething();
}</pre></div><p>With related implementations:</p><div class="source"><pre class="prettyprint">package com.acme.first;
-public final class FooServiceImpl1
- implements FooService
+@javax.inject.Named( "Visa" ) // any @javax.inject.Qualifier or @com.google.inject.BindingAnnotation annotated annotation
+public final class VisaCreditCardProcessor
+ implements CreditCardProcessor
{
- @Override
public void doSomething()
{
// ...
@@ -304,25 +311,25 @@ public final class FooServiceImpl1
}</pre></div><p>and</p><div class="source"><pre class="prettyprint">package com.acme.second;
-public final class FooServiceImpl2
- implements FooService
+@javax.inject.Named( "MasterCard" ) // any @javax.inject.Qualifier or @com.google.inject.BindingAnnotation annotated annotation
+public final class MasterCardCreditCardProcessor
+ implements CreditCardProcessor
{
- @Override
public void doSomething()
{
// ...
}
-}</pre></div><p>Then define the SPI in <tt>META-INF/services/com.acme.FooService</tt> file(s):</p><div><pre># created by Jack Bauer in less than 24h
+}</pre></div><p>Then define the SPI in <tt>META-INF/services/com.acme.CreditCardProcessor</tt> file(s):</p><div><pre># created by Jack Bauer in less than 24h
-com.acme.first.FooServiceImpl1
-com.acme.second.FooServiceImpl2 # EOL comment
+com.acme.first.VisaCreditCardProcessor
+com.acme.second.MasterCardCreditCardProcessor # EOL comment
# comments and blank lines supported
-#</pre></div><p>Then users can:</p><ul><li>Bind the Service to the first discovered Provider<div class="source"><pre class="prettyprint">import static com.google.inject.Guice.createInjector;
+#</pre></div><p>Then users can require Services binding discovering implementation(s) with the service loader:</p><div class="source"><pre class="prettyprint">import static com.google.inject.Guice.createInjector;
import com.acme.FooService;
import com.google.inject.Injector;
@@ -335,46 +342,91 @@ Injector injector = createInjector( new
{
@Override
- protected void configure()
+ protected void configureServices()
{
- bindService( FooService.class ).loadingFirstService();
+ discover( CreditCardProcessor.class ); //.fromClassLoader( ClassLoader classLoader );
}
-} );</pre></div><p>and the require its injection somewhere else:</p><div class="source"><pre class="prettyprint">public class PowerTool
+} );</pre></div><p>and the require injections somewhere else:</p><div class="source"><pre class="prettyprint">public class PowerTool
{
@Inject
- private FooService fooService;
+ @javax.inject.Named( "MasterCard" )
+ private CreditCardProcessor creditCardProcessor;
// setters and algorithms omitted
-}</pre></div></li><li>Bind the Service to all discovered Provider<div class="source"><pre class="prettyprint">import static com.google.inject.Guice.createInjector;
+}</pre></div><p>if a service is <i>not</i> annotated by a qualifier/binding annotation, i.e.</p><div class="source"><pre class="prettyprint">package com.acme;
-import com.acme.FooService;
-import com.google.inject.Injector;
+public final class DefaultCreditCardProcessor
+ implements CreditCardProcessor
+{
-import org.apache.onami.spi.ServiceLoaderModule;
+ public void doSomething()
+ {
+ // ...
+ }
-...
+}</pre></div><p>Then defined the SPI in <tt>META-INF/services/com.acme.CreditCardProcessor</tt> file:</p><div><pre># created by Jack Bauer in less than 24h
-Injector injector = createInjector( new ServiceLoaderModule()
+com.acme.DefaultCreditCardProcessor</pre></div><p>it is enough requiring its injection:</p><div class="source"><pre class="prettyprint">public class PowerTool
{
- @Override
- protected void configure()
+ @Inject
+ // this is bound to com.acme.DefaultCreditCardProcessor
+ private CreditCardProcessor creditCardProcessor;
+
+ // setters and algorithms omitted
+
+}</pre></div></div><div class="section"><h2>Qualifier annotations<a name="Qualifier_annotations"></a></h2><p>Services implementations can be annotated with whatever annotation which, at their time, are annotated with a <tt>@javax.inject.Qualifier</tt> or <tt>@com.google.inject.BindingAnnotation</tt> annotation; i.e. given the following annotations:</p><div class="source"><pre class="prettyprint">@com.google.inject.BindingAnnotation
+@Retention( RUNTIME )
+@Target( { FIELD, TYPE } )
+public @interface Visa
+{}</pre></div><p>and</p><div class="source"><pre class="prettyprint">@com.google.inject.BindingAnnotation
+@Retention( RUNTIME )
+@Target( { FIELD, TYPE } )
+public @interface MasterCard
+{}</pre></div><p>users can annotate services implementations:</p><div class="source"><pre class="prettyprint">package com.acme.first;
+
+@Visa
+public final class VisaCreditCardProcessorImpl
+ implements CreditCardProcessor
+{
+
+ public void doSomething()
{
- bindService( FooService.class ).loadingAllService();
+ // ...
}
-} );</pre></div><p>and the require their injection somewhere else:</p><div class="source"><pre class="prettyprint">public class SuperPowerTool
+}</pre></div><p>and</p><div class="source"><pre class="prettyprint">package com.acme.second;
+
+@MasterCard
+public final class MasterCardCreditCardProcessorImpl
+ implements CreditCardProcessor
{
+ public void doSomething()
+ {
+ // ...
+ }
+
+}</pre></div><p>Then define the SPI in <tt>META-INF/services/com.acme.CreditCardProcessor</tt> file(s):</p><div><pre># created by Jack Bauer in less than 24h
+
+com.acme.first.VisaCreditCardProcessorImpl
+com.acme.second.MasterCardCreditCardProcessorImpl</pre></div><p>Injections can be required by qualifying the injections:</p><div class="source"><pre class="prettyprint">public class PowerTool
+{
+
+ @Inject
+ @Visa
+ private CreditCardProcessor creditCardProcessor;
+
@Inject
- private Set<FooService> fooService;
+ @MasterCard
+ private CreditCardProcessor creditCardProcessor;
// setters and algorithms omitted
-}</pre></div><p>Eh?!? Just that?!? YES!!! :)</p></li></ul></div><div class="section"><h2>Loading Services from SystemProperties<a name="Loading_Services_from_SystemProperties"></a></h2><p>Alternatively, SPIs can be specified via <i>Java System properties</i>:</p><div><pre>java -Dcom.acme.FooService=com.acme.first.FooServiceImpl1,com.acme.second.FooServiceImpl2</pre></div><p>Where <b>,</b> is the separator character between Providers.</p><div class="section"><h3>Note<a name="Note"></a></h3><p>If SPIs will be found in <i>Java System properties</i>, <tt>META-INF/services/com.acme.FooService</tt> file(s) will be ignored</p></div></div>
+}</pre></div></div><div class="section"><h2>Loading Services from SystemProperties<a name="Loading_Services_from_SystemProperties"></a></h2><p>Alternatively, SPIs can be specified via <i>Java System properties</i>:</p><div><pre>java -Dcom.acme.CreditCardProcessor=com.acme.first.VisaCreditCardProcessorImpl,com.acme.second.MasterCardCreditCardProcessorImpl</pre></div><p>Where <b>,</b> is the separator character between Providers.</p><div class="section"><h3>Note<a name="Note"></a></h3><p>If SPIs will be found in <i>Java System properties</i>, <tt>META-INF/services/com.acme.FooService</tt> file(s) will be ignored</p></div></div>
</div>
</div>
</div>
@@ -383,7 +435,7 @@ Injector injector = createInjector( new
<footer>
<div class="container-fluid">
- <div class="row span12">Copyright © 2012
+ <div class="row span12">Copyright © 2012-2013
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
Modified: incubator/onami/site/spi/source-repository.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/source-repository.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/source-repository.html (original)
+++ incubator/onami/site/spi/source-repository.html Tue Jan 15 20:45:34 2013
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at Dec 9, 2012
+ | Generated by Apache Maven Doxia at Jan 15, 2013
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="Date-Revision-yyyymmdd" content="20121209" />
+ <meta name="Date-Revision-yyyymmdd" content="20130115" />
<meta http-equiv="Content-Language" content="en" />
<title>Apache Onami-SPI - Source Repository</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -41,8 +41,8 @@
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 09 December 2012</li>
- <li class="divider">|</li> <li id="projectVersion">Version: 0.2-incubating-SNAPSHOT</li>
+ <li id="publishDate">Last Published: 15 January 2013</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0.0-incubating-SNAPSHOT</li>
@@ -197,7 +197,7 @@
<i class="icon-chevron-right"></i>
Project Reports</a>
</li>
- <li class="nav-header">Components</li>
+ <li class="nav-header">Extensions</li>
<li>
@@ -319,6 +319,13 @@
<i class="none"></i>
Code style recommendations</a>
</li>
+
+ <li>
+
+ <a href="../committers/release-howto.html" title="Release HowTo">
+ <i class="none"></i>
+ Release HowTo</a>
+ </li>
<li class="nav-header">ASF</li>
<li>
@@ -375,7 +382,7 @@
<div id="bodyColumn" class="span9" >
- <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>This project uses <a class="externalLink" href="http://subversion.apache.org/">Subversion</a> to manage its source code. Instructions on Subversion use can be found at <a class="externalLink" href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>.</p></div><div class="section"><h2>Web Access<a name="Web_Access"></a></h2><a name="Web_Access"></a><p>The following is a link to the online source repository.</p><div class="source"><pre class="prettyprint"><a class="externalLink" href="https://svn.apache.org/viewvc/incubator/onami/trunk/spi">https://svn.apache.org/viewvc/incubator/onami/trunk/spi</a></pre></div></div><div class="section"><h2>Anonymous access<a name="Anonymous_access"></a></h2><a name="Anonymous_access"></a><p>The source can be checked out anonymously from SVN with this command:</p><div class="source"><pre class="prettyprint">$ svn checkout https://svn.a
pache.org/repos/asf/incubator/onami/trunk/spi onami-spi</pre></div></div><div class="section"><h2>Developer access<a name="Developer_access"></a></h2><a name="Developer_access"></a><p>Everyone can access the Subversion repository via HTTP, but Committers must checkout the Subversion repository via HTTPS.</p><div class="source"><pre class="prettyprint">$ svn checkout https://svn.apache.org/repos/asf/incubator/onami/trunk/spi onami-spi</pre></div><p>To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password)</p><div class="source"><pre class="prettyprint">$ svn commit --username your-username -m "A message"</pre></div></div><div class="section"><h2>Access from behind a firewall<a name="Access_from_behind_a_firewall"></a></h2><a name="Access_from_behind_a_firewall"></a><p>For those users who are stuck behind a corporate firewall which is blocking HTTP access to the Subversion repository, you can try
to access it via the developer connection:</p><div class="source"><pre class="prettyprint">$ svn checkout https://svn.apache.org/repos/asf/incubator/onami/trunk/spi onami-spi</pre></div></div><div class="section"><h2>Access through a proxy<a name="Access_through_a_proxy"></a></h2><a name="Access_through_a_proxy"></a><p>The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The file's location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)</p><p>There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.</p><p>Example: Edit the 'servers
' file and add something like:</p><div class="source"><pre class="prettyprint">[global]
+ <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>This project uses <a class="externalLink" href="http://subversion.apache.org/">Subversion</a> to manage its source code. Instructions on Subversion use can be found at <a class="externalLink" href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>.</p></div><div class="section"><h2>Web Access<a name="Web_Access"></a></h2><a name="Web_Access"></a><p>The following is a link to the online source repository.</p><div class="source"><pre class="prettyprint"><a class="externalLink" href="https://svn.apache.org/viewvc/incubator/onami/trunk/spi">https://svn.apache.org/viewvc/incubator/onami/trunk/spi</a></pre></div></div><div class="section"><h2>Anonymous access<a name="Anonymous_access"></a></h2><a name="Anonymous_access"></a><p>The source can be checked out anonymously from SVN with this command:</p><div class="source"><pre class="prettyprint">$ svn checkout https://svn.a
pache.org/repos/asf/incubator/onami/trunk/spi org.apache.onami.spi</pre></div></div><div class="section"><h2>Developer access<a name="Developer_access"></a></h2><a name="Developer_access"></a><p>Everyone can access the Subversion repository via HTTP, but Committers must checkout the Subversion repository via HTTPS.</p><div class="source"><pre class="prettyprint">$ svn checkout https://svn.apache.org/repos/asf/incubator/onami/trunk/spi org.apache.onami.spi</pre></div><p>To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password)</p><div class="source"><pre class="prettyprint">$ svn commit --username your-username -m "A message"</pre></div></div><div class="section"><h2>Access from behind a firewall<a name="Access_from_behind_a_firewall"></a></h2><a name="Access_from_behind_a_firewall"></a><p>For those users who are stuck behind a corporate firewall which is blocking HTTP access to the Subversion r
epository, you can try to access it via the developer connection:</p><div class="source"><pre class="prettyprint">$ svn checkout https://svn.apache.org/repos/asf/incubator/onami/trunk/spi org.apache.onami.spi</pre></div></div><div class="section"><h2>Access through a proxy<a name="Access_through_a_proxy"></a></h2><a name="Access_through_a_proxy"></a><p>The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The file's location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)</p><p>There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.
</p><p>Example: Edit the 'servers' file and add something like:</p><div class="source"><pre class="prettyprint">[global]
http-proxy-host = your.proxy.name
http-proxy-port = 3128
</pre></div></div>
@@ -387,7 +394,7 @@ http-proxy-port = 3128
<footer>
<div class="container-fluid">
- <div class="row span12">Copyright © 2012
+ <div class="row span12">Copyright © 2012-2013
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
Modified: incubator/onami/site/spi/surefire-report.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/surefire-report.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/surefire-report.html (original)
+++ incubator/onami/site/spi/surefire-report.html Tue Jan 15 20:45:34 2013
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at Dec 9, 2012
+ | Generated by Apache Maven Doxia at Jan 15, 2013
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="Date-Revision-yyyymmdd" content="20121209" />
+ <meta name="Date-Revision-yyyymmdd" content="20130115" />
<meta http-equiv="Content-Language" content="en" />
<title>Apache Onami-SPI - Surefire Report</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -41,8 +41,8 @@
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 09 December 2012</li>
- <li class="divider">|</li> <li id="projectVersion">Version: 0.2-incubating-SNAPSHOT</li>
+ <li id="publishDate">Last Published: 15 January 2013</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0.0-incubating-SNAPSHOT</li>
@@ -169,7 +169,7 @@
</li>
</ul>
</li>
- <li class="nav-header">Components</li>
+ <li class="nav-header">Extensions</li>
<li>
@@ -291,6 +291,13 @@
<i class="none"></i>
Code style recommendations</a>
</li>
+
+ <li>
+
+ <a href="../committers/release-howto.html" title="Release HowTo">
+ <i class="none"></i>
+ Release HowTo</a>
+ </li>
<li class="nav-header">ASF</li>
<li>
@@ -363,7 +370,7 @@ function toggleDisplay(elementId) {
}
}
//]]>
-</script><div class="section"><h2>Surefire Report<a name="Surefire_Report"></a></h2></div><div class="section"><h2>Summary<a name="Summary"></a></h2><a name="Summary"></a><p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><br /><table border="1" class="table table-striped"><tr class="a"><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td>3</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.205</td></tr></table><br /><p>Note: failures are anticipated and checked for with assertions while errors are unanticipated.</p><br /></div><div class="section"><h2>Package List<a name="Package_List"></a></h2><a name="Package_List"></a><p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><br /><table border="1" class="table table-striped"><tr class="a"><th>Package</th><th>Tests</th><th
>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.onami.spi">org.apache.onami.spi</a></td><td>3</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.205</td></tr></table><br /><p>Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.</p><div class="section"><h3>org.apache.onami.spi<a name="org.apache.onami.spi"></a></h3><a name="org.apache.onami.spi"></a><table border="1" class="table table-striped"><tr class="a"><th></th><th>Class</th><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.onami.spiFromSystemPropertiesTestCase"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.onami.spiFromSystemPropertiesTestCase">FromSystemPropertiesTestCase</a></td><td>1</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.205</td></tr><tr class="a"><td
><a href="#org.apache.onami.spiGuiceServiceLoaderTestCase"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.onami.spiGuiceServiceLoaderTestCase">GuiceServiceLoaderTestCase</a></td><td>1</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0</td></tr><tr class="b"><td><a href="#org.apache.onami.spiServiceLoaderModuleTestCase"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.onami.spiServiceLoaderModuleTestCase">ServiceLoaderModuleTestCase</a></td><td>1</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0</td></tr></table></div><br /></div><div class="section"><h2>Test Cases<a name="Test_Cases"></a></h2><a name="Test_Cases"></a><p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><div class="section"><h3>FromSystemPropertiesTestCase<a name="FromSystemPropertiesTestCase"></a></h3><a name="org.apache.onami.spiFromSystemPropertiesTestCase"></a><table
border="1" class="table table-striped"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>injectedServicesCaughtFromSystemProperties</td><td>0.205</td></tr></table></div><div class="section"><h3>GuiceServiceLoaderTestCase<a name="GuiceServiceLoaderTestCase"></a></h3><a name="org.apache.onami.spiGuiceServiceLoaderTestCase"></a><table border="1" class="table table-striped"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>verifyRightModulesWereLoaded</td><td>0</td></tr></table></div><div class="section"><h3>ServiceLoaderModuleTestCase<a name="ServiceLoaderModuleTestCase"></a></h3><a name="org.apache.onami.spiServiceLoaderModuleTestCase"></a><table border="1" class="table table-striped"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>singleServiceInjection</td><td>0</td></tr></table></div><br /></div>
+</script><div class="section"><h2>Surefire Report<a name="Surefire_Report"></a></h2></div><div class="section"><h2>Summary<a name="Summary"></a></h2><a name="Summary"></a><p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><br /><table border="1" class="table table-striped"><tr class="a"><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td>3</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.188</td></tr></table><br /><p>Note: failures are anticipated and checked for with assertions while errors are unanticipated.</p><br /></div><div class="section"><h2>Package List<a name="Package_List"></a></h2><a name="Package_List"></a><p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><br /><table border="1" class="table table-striped"><tr class="a"><th>Package</th><th>Tests</th><th
>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.onami.spi">org.apache.onami.spi</a></td><td>3</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.188</td></tr></table><br /><p>Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.</p><div class="section"><h3>org.apache.onami.spi<a name="org.apache.onami.spi"></a></h3><a name="org.apache.onami.spi"></a><table border="1" class="table table-striped"><tr class="a"><th></th><th>Class</th><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.onami.spiFromSystemPropertiesTestCase"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.onami.spiFromSystemPropertiesTestCase">FromSystemPropertiesTestCase</a></td><td>1</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.187</td></tr><tr class="a"><td
><a href="#org.apache.onami.spiGuiceServiceLoaderTestCase"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.onami.spiGuiceServiceLoaderTestCase">GuiceServiceLoaderTestCase</a></td><td>1</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0</td></tr><tr class="b"><td><a href="#org.apache.onami.spiServiceLoaderModuleTestCase"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.onami.spiServiceLoaderModuleTestCase">ServiceLoaderModuleTestCase</a></td><td>1</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.001</td></tr></table></div><br /></div><div class="section"><h2>Test Cases<a name="Test_Cases"></a></h2><a name="Test_Cases"></a><p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><div class="section"><h3>FromSystemPropertiesTestCase<a name="FromSystemPropertiesTestCase"></a></h3><a name="org.apache.onami.spiFromSystemPropertiesTestCase"></a><t
able border="1" class="table table-striped"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>injectedServicesCaughtFromSystemProperties</td><td>0.187</td></tr></table></div><div class="section"><h3>GuiceServiceLoaderTestCase<a name="GuiceServiceLoaderTestCase"></a></h3><a name="org.apache.onami.spiGuiceServiceLoaderTestCase"></a><table border="1" class="table table-striped"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>verifyRightModulesWereLoaded</td><td>0</td></tr></table></div><div class="section"><h3>ServiceLoaderModuleTestCase<a name="ServiceLoaderModuleTestCase"></a></h3><a name="org.apache.onami.spiServiceLoaderModuleTestCase"></a><table border="1" class="table table-striped"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>singleServiceInjection</td><td>0.001</td></tr></table></div><br /></div>
</div>
</div>
</div>
@@ -372,7 +379,7 @@ function toggleDisplay(elementId) {
<footer>
<div class="container-fluid">
- <div class="row span12">Copyright © 2012
+ <div class="row span12">Copyright © 2012-2013
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
Modified: incubator/onami/site/spi/taglist.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/taglist.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/taglist.html (original)
+++ incubator/onami/site/spi/taglist.html Tue Jan 15 20:45:34 2013
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at Dec 9, 2012
+ | Generated by Apache Maven Doxia at Jan 15, 2013
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="Date-Revision-yyyymmdd" content="20121209" />
+ <meta name="Date-Revision-yyyymmdd" content="20130115" />
<meta http-equiv="Content-Language" content="en" />
<title>Apache Onami-SPI - Tag List report</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -41,8 +41,8 @@
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 09 December 2012</li>
- <li class="divider">|</li> <li id="projectVersion">Version: 0.2-incubating-SNAPSHOT</li>
+ <li id="publishDate">Last Published: 15 January 2013</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0.0-incubating-SNAPSHOT</li>
@@ -169,7 +169,7 @@
</li>
</ul>
</li>
- <li class="nav-header">Components</li>
+ <li class="nav-header">Extensions</li>
<li>
@@ -291,6 +291,13 @@
<i class="none"></i>
Code style recommendations</a>
</li>
+
+ <li>
+
+ <a href="../committers/release-howto.html" title="Release HowTo">
+ <i class="none"></i>
+ Release HowTo</a>
+ </li>
<li class="nav-header">ASF</li>
<li>
@@ -356,7 +363,7 @@
<footer>
<div class="container-fluid">
- <div class="row span12">Copyright © 2012
+ <div class="row span12">Copyright © 2012-2013
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
Modified: incubator/onami/site/spi/team-list.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/team-list.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/team-list.html (original)
+++ incubator/onami/site/spi/team-list.html Tue Jan 15 20:45:34 2013
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at Dec 9, 2012
+ | Generated by Apache Maven Doxia at Jan 15, 2013
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="Date-Revision-yyyymmdd" content="20121209" />
+ <meta name="Date-Revision-yyyymmdd" content="20130115" />
<meta http-equiv="Content-Language" content="en" />
<title>Apache Onami-SPI - Team list</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -41,8 +41,8 @@
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 09 December 2012</li>
- <li class="divider">|</li> <li id="projectVersion">Version: 0.2-incubating-SNAPSHOT</li>
+ <li id="publishDate">Last Published: 15 January 2013</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0.0-incubating-SNAPSHOT</li>
@@ -197,7 +197,7 @@
<i class="icon-chevron-right"></i>
Project Reports</a>
</li>
- <li class="nav-header">Components</li>
+ <li class="nav-header">Extensions</li>
<li>
@@ -319,6 +319,13 @@
<i class="none"></i>
Code style recommendations</a>
</li>
+
+ <li>
+
+ <a href="../committers/release-howto.html" title="Release HowTo">
+ <i class="none"></i>
+ Release HowTo</a>
+ </li>
<li class="nav-header">ASF</li>
<li>
@@ -409,7 +416,7 @@ window.onLoad = init();
<footer>
<div class="container-fluid">
- <div class="row span12">Copyright © 2012
+ <div class="row span12">Copyright © 2012-2013
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
Modified: incubator/onami/site/spi/xref-test/allclasses-frame.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/allclasses-frame.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/allclasses-frame.html (original)
+++ incubator/onami/site/spi/xref-test/allclasses-frame.html Tue Jan 15 20:45:34 2013
@@ -24,6 +24,9 @@
<a href="org/apache/onami/spi/AcmeServiceImpl2.html" target="classFrame">AcmeServiceImpl2</a>
</li>
<li>
+ <a href="org/apache/onami/spi/BarBindingAnnotation.html" target="classFrame">BarBindingAnnotation</a>
+ </li>
+ <li>
<a href="org/apache/onami/spi/FooService.html" target="classFrame">FooService</a>
</li>
<li>
Modified: incubator/onami/site/spi/xref-test/index.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/index.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/index.html (original)
+++ incubator/onami/site/spi/xref-test/index.html Tue Jan 15 20:45:34 2013
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Onami-SPI 0.2-incubating-SNAPSHOT Reference</title>
+ <title>Apache Onami-SPI 1.0.0-incubating-SNAPSHOT Reference</title>
</head>
<frameset cols="20%,80%">
<frameset rows="30%,70%">
Modified: incubator/onami/site/spi/xref-test/org/apache/onami/spi/AcmeServiceImpl2.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/org/apache/onami/spi/AcmeServiceImpl2.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/org/apache/onami/spi/AcmeServiceImpl2.html (original)
+++ incubator/onami/site/spi/xref-test/org/apache/onami/spi/AcmeServiceImpl2.html Tue Jan 15 20:45:34 2013
@@ -10,35 +10,38 @@
<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.spi;
<a class="jxr_linenumber" name="2" href="#2">2</a>
-<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
-<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
-<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
-<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
-<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
-<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
-<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
-<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
-<a class="jxr_linenumber" name="11" href="#11">11</a> <em class="jxr_comment"> *</em>
-<a class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_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 class="jxr_linenumber" name="3" href="#3">3</a> <strong class="jxr_keyword">import</strong> javax.inject.Named;
+<a class="jxr_linenumber" name="4" href="#4">4</a>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="11" href="#11">11</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> *</em>
-<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
-<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
-<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
-<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
-<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
-<a class="jxr_linenumber" name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
-<a class="jxr_linenumber" name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
-<a class="jxr_linenumber" name="21" href="#21">21</a>
-<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/AcmeServiceImpl2.html">AcmeServiceImpl2</a>
-<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">implements</strong> <a href="../../../../org/apache/onami/spi/AcmeService.html">AcmeService</a>
-<a class="jxr_linenumber" name="24" href="#24">24</a> {
-<a class="jxr_linenumber" name="25" href="#25">25</a>
-<a class="jxr_linenumber" name="26" href="#26">26</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> doSomething()
-<a class="jxr_linenumber" name="27" href="#27">27</a> {
-<a class="jxr_linenumber" name="28" href="#28">28</a> <em class="jxr_comment">// but does nothing</em>
-<a class="jxr_linenumber" name="29" href="#29">29</a> }
-<a class="jxr_linenumber" name="30" href="#30">30</a>
-<a class="jxr_linenumber" name="31" href="#31">31</a> }
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_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 class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="21" href="#21">21</a> <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="23" href="#23">23</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> @Named( <span class="jxr_string">"second"</span> )
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/AcmeServiceImpl2.html">AcmeServiceImpl2</a>
+<a class="jxr_linenumber" name="26" href="#26">26</a> <strong class="jxr_keyword">implements</strong> <a href="../../../../org/apache/onami/spi/AcmeService.html">AcmeService</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> {
+<a class="jxr_linenumber" name="28" href="#28">28</a>
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> doSomething()
+<a class="jxr_linenumber" name="30" href="#30">30</a> {
+<a class="jxr_linenumber" name="31" href="#31">31</a> <em class="jxr_comment">// but does nothing</em>
+<a class="jxr_linenumber" name="32" href="#32">32</a> }
+<a class="jxr_linenumber" name="33" href="#33">33</a>
+<a class="jxr_linenumber" name="34" href="#34">34</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
Added: incubator/onami/site/spi/xref-test/org/apache/onami/spi/BarBindingAnnotation.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/org/apache/onami/spi/BarBindingAnnotation.html?rev=1433627&view=auto
==============================================================================
--- incubator/onami/site/spi/xref-test/org/apache/onami/spi/BarBindingAnnotation.html (added)
+++ incubator/onami/site/spi/xref-test/org/apache/onami/spi/BarBindingAnnotation.html Tue Jan 15 20:45:34 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=UTF-8" />
+<title>BarBindingAnnotation xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../testapidocs/org/apache/onami/spi/BarBindingAnnotation.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.spi;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="11" href="#11">11</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_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 class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> java.lang.annotation.ElementType.FIELD;
+<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> java.lang.annotation.ElementType.TYPE;
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> java.lang.annotation.RetentionPolicy.RUNTIME;
+<a class="jxr_linenumber" name="25" href="#25">25</a>
+<a class="jxr_linenumber" name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> java.lang.annotation.Retention;
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> java.lang.annotation.Target;
+<a class="jxr_linenumber" name="28" href="#28">28</a>
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.google.inject.BindingAnnotation;
+<a class="jxr_linenumber" name="30" href="#30">30</a>
+<a class="jxr_linenumber" name="31" href="#31">31</a> @BindingAnnotation
+<a class="jxr_linenumber" name="32" href="#32">32</a> @Retention( RUNTIME )
+<a class="jxr_linenumber" name="33" href="#33">33</a> @Target( { FIELD, TYPE } )
+<a class="jxr_linenumber" name="34" href="#34">34</a> <strong class="jxr_keyword">public</strong> @<strong class="jxr_keyword">interface</strong> <a href="../../../../org/apache/onami/spi/BarBindingAnnotation.html">BarBindingAnnotation</a>
+<a class="jxr_linenumber" name="35" href="#35">35</a> {
+<a class="jxr_linenumber" name="36" href="#36">36</a>
+<a class="jxr_linenumber" name="37" href="#37">37</a> <strong class="jxr_keyword">int</strong> value();
+<a class="jxr_linenumber" name="38" href="#38">38</a>
+<a class="jxr_linenumber" 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: incubator/onami/site/spi/xref-test/org/apache/onami/spi/BarBindingAnnotation.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/spi/xref-test/org/apache/onami/spi/BarBindingAnnotation.html
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/onami/site/spi/xref-test/org/apache/onami/spi/BarBindingAnnotation.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Modified: incubator/onami/site/spi/xref-test/org/apache/onami/spi/FooServiceImpl1.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/org/apache/onami/spi/FooServiceImpl1.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/org/apache/onami/spi/FooServiceImpl1.html (original)
+++ incubator/onami/site/spi/xref-test/org/apache/onami/spi/FooServiceImpl1.html Tue Jan 15 20:45:34 2013
@@ -29,11 +29,11 @@
<a class="jxr_linenumber" name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
<a class="jxr_linenumber" name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
<a class="jxr_linenumber" name="21" href="#21">21</a>
-<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/FooServiceImpl1.html">FooServiceImpl1</a>
-<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">implements</strong> <a href="../../../../org/apache/onami/spi/FooService.html">FooService</a>
-<a class="jxr_linenumber" name="24" href="#24">24</a> {
-<a class="jxr_linenumber" name="25" href="#25">25</a>
-<a class="jxr_linenumber" name="26" href="#26">26</a> @Override
+<a class="jxr_linenumber" name="22" href="#22">22</a> @BarBindingAnnotation( 1 )
+<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/FooServiceImpl1.html">FooServiceImpl1</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">implements</strong> <a href="../../../../org/apache/onami/spi/FooService.html">FooService</a>
+<a class="jxr_linenumber" name="25" href="#25">25</a> {
+<a class="jxr_linenumber" name="26" href="#26">26</a>
<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> doSomething()
<a class="jxr_linenumber" name="28" href="#28">28</a> {
<a class="jxr_linenumber" name="29" href="#29">29</a> <em class="jxr_comment">// ... but does nothing</em>
Modified: incubator/onami/site/spi/xref-test/org/apache/onami/spi/FooServiceImpl2.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/org/apache/onami/spi/FooServiceImpl2.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/org/apache/onami/spi/FooServiceImpl2.html (original)
+++ incubator/onami/site/spi/xref-test/org/apache/onami/spi/FooServiceImpl2.html Tue Jan 15 20:45:34 2013
@@ -29,11 +29,11 @@
<a class="jxr_linenumber" name="19" href="#19">19</a> <em class="jxr_comment"> * under the License.</em>
<a class="jxr_linenumber" name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
<a class="jxr_linenumber" name="21" href="#21">21</a>
-<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/FooServiceImpl2.html">FooServiceImpl2</a>
-<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">implements</strong> <a href="../../../../org/apache/onami/spi/FooService.html">FooService</a>
-<a class="jxr_linenumber" name="24" href="#24">24</a> {
-<a class="jxr_linenumber" name="25" href="#25">25</a>
-<a class="jxr_linenumber" name="26" href="#26">26</a> @Override
+<a class="jxr_linenumber" name="22" href="#22">22</a> @BarBindingAnnotation( 2 )
+<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/FooServiceImpl2.html">FooServiceImpl2</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">implements</strong> <a href="../../../../org/apache/onami/spi/FooService.html">FooService</a>
+<a class="jxr_linenumber" name="25" href="#25">25</a> {
+<a class="jxr_linenumber" name="26" href="#26">26</a>
<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> doSomething()
<a class="jxr_linenumber" name="28" href="#28">28</a> {
<a class="jxr_linenumber" name="29" href="#29">29</a> <em class="jxr_comment">// ... but does nothing</em>
Modified: incubator/onami/site/spi/xref-test/org/apache/onami/spi/FromSystemPropertiesTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/org/apache/onami/spi/FromSystemPropertiesTestCase.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/org/apache/onami/spi/FromSystemPropertiesTestCase.html (original)
+++ incubator/onami/site/spi/xref-test/org/apache/onami/spi/FromSystemPropertiesTestCase.html Tue Jan 15 20:45:34 2013
@@ -12,52 +12,58 @@
<a class="jxr_linenumber" name="2" href="#2">2</a>
<a class="jxr_linenumber" name="3" href="#3">3</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.Guice.createInjector;
<a class="jxr_linenumber" name="4" href="#4">4</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertEquals;
-<a class="jxr_linenumber" name="5" href="#5">5</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertFalse;
-<a class="jxr_linenumber" name="6" href="#6">6</a>
-<a class="jxr_linenumber" name="7" href="#7">7</a> <strong class="jxr_keyword">import</strong> java.util.Set;
+<a class="jxr_linenumber" name="5" href="#5">5</a>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <strong class="jxr_keyword">import</strong> org.junit.Before;
+<a class="jxr_linenumber" name="7" href="#7">7</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
<a class="jxr_linenumber" name="8" href="#8">8</a>
-<a class="jxr_linenumber" name="9" href="#9">9</a> <strong class="jxr_keyword">import</strong> org.apache.onami.spi.ServiceLoaderModule;
-<a class="jxr_linenumber" name="10" href="#10">10</a> <strong class="jxr_keyword">import</strong> org.junit.Before;
-<a class="jxr_linenumber" name="11" href="#11">11</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
-<a class="jxr_linenumber" name="12" href="#12">12</a>
-<a class="jxr_linenumber" name="13" href="#13">13</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
-<a class="jxr_linenumber" name="14" href="#14">14</a>
-<a class="jxr_linenumber" name="15" href="#15">15</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/FromSystemPropertiesTestCase.html">FromSystemPropertiesTestCase</a>
-<a class="jxr_linenumber" name="16" href="#16">16</a> {
+<a class="jxr_linenumber" name="9" href="#9">9</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
+<a class="jxr_linenumber" name="10" href="#10">10</a>
+<a class="jxr_linenumber" name="11" href="#11">11</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/FromSystemPropertiesTestCase.html">FromSystemPropertiesTestCase</a>
+<a class="jxr_linenumber" name="12" href="#12">12</a> {
+<a class="jxr_linenumber" name="13" href="#13">13</a>
+<a class="jxr_linenumber" name="14" href="#14">14</a> @Inject
+<a class="jxr_linenumber" name="15" href="#15">15</a> @BarBindingAnnotation( 1 )
+<a class="jxr_linenumber" name="16" href="#16">16</a> <strong class="jxr_keyword">private</strong> <a href="../../../../org/apache/onami/spi/FooService.html">FooService</a> fooService1;
<a class="jxr_linenumber" name="17" href="#17">17</a>
<a class="jxr_linenumber" name="18" href="#18">18</a> @Inject
-<a class="jxr_linenumber" name="19" href="#19">19</a> <strong class="jxr_keyword">private</strong> Set<FooService> fooServices;
-<a class="jxr_linenumber" name="20" href="#20">20</a>
-<a class="jxr_linenumber" name="21" href="#21">21</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setFooServices( Set<FooService> fooServices )
-<a class="jxr_linenumber" name="22" href="#22">22</a> {
-<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">this</strong>.fooServices = fooServices;
-<a class="jxr_linenumber" name="24" href="#24">24</a> }
-<a class="jxr_linenumber" name="25" href="#25">25</a>
-<a class="jxr_linenumber" name="26" href="#26">26</a> @Before
-<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp()
+<a class="jxr_linenumber" name="19" href="#19">19</a> @BarBindingAnnotation( 2 )
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">private</strong> <a href="../../../../org/apache/onami/spi/FooService.html">FooService</a> fooService2;
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setFooService1( FooService fooService1 )
+<a class="jxr_linenumber" name="23" href="#23">23</a> {
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">this</strong>.fooService1 = fooService1;
+<a class="jxr_linenumber" name="25" href="#25">25</a> }
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setFooService2( FooService fooService2 )
<a class="jxr_linenumber" name="28" href="#28">28</a> {
-<a class="jxr_linenumber" name="29" href="#29">29</a> createInjector( <strong class="jxr_keyword">new</strong> ServiceLoaderModule()
-<a class="jxr_linenumber" name="30" href="#30">30</a> {
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">this</strong>.fooService2 = fooService2;
+<a class="jxr_linenumber" name="30" href="#30">30</a> }
<a class="jxr_linenumber" name="31" href="#31">31</a>
-<a class="jxr_linenumber" name="32" href="#32">32</a> @Override
-<a class="jxr_linenumber" name="33" href="#33">33</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configure()
-<a class="jxr_linenumber" name="34" href="#34">34</a> {
-<a class="jxr_linenumber" name="35" href="#35">35</a> bindService( FooService.<strong class="jxr_keyword">class</strong> ).loadingAllServices();
-<a class="jxr_linenumber" name="36" href="#36">36</a> }
+<a class="jxr_linenumber" name="32" href="#32">32</a> @Before
+<a class="jxr_linenumber" name="33" href="#33">33</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp()
+<a class="jxr_linenumber" name="34" href="#34">34</a> {
+<a class="jxr_linenumber" name="35" href="#35">35</a> createInjector( <strong class="jxr_keyword">new</strong> ServiceLoaderModule()
+<a class="jxr_linenumber" name="36" href="#36">36</a> {
<a class="jxr_linenumber" name="37" href="#37">37</a>
-<a class="jxr_linenumber" name="38" href="#38">38</a> } )
-<a class="jxr_linenumber" name="39" href="#39">39</a> .getMembersInjector( FromSystemPropertiesTestCase.<strong class="jxr_keyword">class</strong> )
-<a class="jxr_linenumber" name="40" href="#40">40</a> .injectMembers( <strong class="jxr_keyword">this</strong> );
-<a class="jxr_linenumber" name="41" href="#41">41</a> }
-<a class="jxr_linenumber" name="42" href="#42">42</a>
-<a class="jxr_linenumber" name="43" href="#43">43</a> @Test
-<a class="jxr_linenumber" name="44" href="#44">44</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> injectedServicesCaughtFromSystemProperties()
-<a class="jxr_linenumber" name="45" href="#45">45</a> {
-<a class="jxr_linenumber" name="46" href="#46">46</a> assertFalse( fooServices.isEmpty() );
-<a class="jxr_linenumber" name="47" href="#47">47</a> assertEquals( 2, fooServices.size() );
-<a class="jxr_linenumber" name="48" href="#48">48</a> }
-<a class="jxr_linenumber" name="49" href="#49">49</a>
-<a class="jxr_linenumber" name="50" href="#50">50</a> }
+<a class="jxr_linenumber" name="38" href="#38">38</a> @Override
+<a class="jxr_linenumber" name="39" href="#39">39</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configureServices()
+<a class="jxr_linenumber" name="40" href="#40">40</a> {
+<a class="jxr_linenumber" name="41" href="#41">41</a> discover( FooService.<strong class="jxr_keyword">class</strong> );
+<a class="jxr_linenumber" name="42" href="#42">42</a> }
+<a class="jxr_linenumber" name="43" href="#43">43</a>
+<a class="jxr_linenumber" name="44" href="#44">44</a> } )
+<a class="jxr_linenumber" name="45" href="#45">45</a> .getMembersInjector( FromSystemPropertiesTestCase.<strong class="jxr_keyword">class</strong> )
+<a class="jxr_linenumber" name="46" href="#46">46</a> .injectMembers( <strong class="jxr_keyword">this</strong> );
+<a class="jxr_linenumber" name="47" href="#47">47</a> }
+<a class="jxr_linenumber" name="48" href="#48">48</a>
+<a class="jxr_linenumber" name="49" href="#49">49</a> @Test
+<a class="jxr_linenumber" name="50" href="#50">50</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> injectedServicesCaughtFromSystemProperties()
+<a class="jxr_linenumber" name="51" href="#51">51</a> {
+<a class="jxr_linenumber" name="52" href="#52">52</a> assertEquals( FooServiceImpl1.<strong class="jxr_keyword">class</strong>, fooService1.getClass() );
+<a class="jxr_linenumber" name="53" href="#53">53</a> assertEquals( FooServiceImpl2.<strong class="jxr_keyword">class</strong>, fooService2.getClass() );
+<a class="jxr_linenumber" name="54" href="#54">54</a> }
+<a class="jxr_linenumber" name="55" href="#55">55</a>
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
Modified: incubator/onami/site/spi/xref-test/org/apache/onami/spi/ServiceLoaderModuleTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/org/apache/onami/spi/ServiceLoaderModuleTestCase.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/org/apache/onami/spi/ServiceLoaderModuleTestCase.html (original)
+++ incubator/onami/site/spi/xref-test/org/apache/onami/spi/ServiceLoaderModuleTestCase.html Tue Jan 15 20:45:34 2013
@@ -30,52 +30,49 @@
<a class="jxr_linenumber" name="20" href="#20">20</a> <em class="jxr_comment"> */</em>
<a class="jxr_linenumber" name="21" href="#21">21</a>
<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.Guice.createInjector;
-<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.name.Names.named;
-<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertEquals;
-<a class="jxr_linenumber" name="25" href="#25">25</a>
-<a class="jxr_linenumber" name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> org.apache.onami.spi.ServiceLoaderModule;
-<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> org.junit.Before;
-<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
-<a class="jxr_linenumber" name="29" href="#29">29</a>
-<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
-<a class="jxr_linenumber" name="31" href="#31">31</a> <strong class="jxr_keyword">import</strong> com.google.inject.name.Named;
-<a class="jxr_linenumber" name="32" href="#32">32</a>
-<a class="jxr_linenumber" name="33" href="#33">33</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/ServiceLoaderModuleTestCase.html">ServiceLoaderModuleTestCase</a>
-<a class="jxr_linenumber" name="34" href="#34">34</a> {
-<a class="jxr_linenumber" name="35" href="#35">35</a>
-<a class="jxr_linenumber" name="36" href="#36">36</a> @Inject
-<a class="jxr_linenumber" name="37" href="#37">37</a> @Named( <span class="jxr_string">"first"</span> )
-<a class="jxr_linenumber" name="38" href="#38">38</a> <strong class="jxr_keyword">private</strong> <a href="../../../../org/apache/onami/spi/AcmeService.html">AcmeService</a> acmeService;
-<a class="jxr_linenumber" name="39" href="#39">39</a>
-<a class="jxr_linenumber" name="40" href="#40">40</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setAcmeService( AcmeService acmeService )
-<a class="jxr_linenumber" name="41" href="#41">41</a> {
-<a class="jxr_linenumber" name="42" href="#42">42</a> <strong class="jxr_keyword">this</strong>.acmeService = acmeService;
-<a class="jxr_linenumber" name="43" href="#43">43</a> }
-<a class="jxr_linenumber" name="44" href="#44">44</a>
-<a class="jxr_linenumber" name="45" href="#45">45</a> @Before
-<a class="jxr_linenumber" name="46" href="#46">46</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp()
-<a class="jxr_linenumber" name="47" href="#47">47</a> {
-<a class="jxr_linenumber" name="48" href="#48">48</a> createInjector( <strong class="jxr_keyword">new</strong> ServiceLoaderModule()
-<a class="jxr_linenumber" name="49" href="#49">49</a> {
-<a class="jxr_linenumber" name="50" href="#50">50</a>
-<a class="jxr_linenumber" name="51" href="#51">51</a> @Override
-<a class="jxr_linenumber" name="52" href="#52">52</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configure()
-<a class="jxr_linenumber" name="53" href="#53">53</a> {
-<a class="jxr_linenumber" name="54" href="#54">54</a> bindService( AcmeService.<strong class="jxr_keyword">class</strong> ).annotatedWith( named( <span class="jxr_string">"first"</span> ) ).loadingFirstService();
-<a class="jxr_linenumber" name="55" href="#55">55</a> }
-<a class="jxr_linenumber" name="56" href="#56">56</a>
-<a class="jxr_linenumber" name="57" href="#57">57</a> } )
-<a class="jxr_linenumber" name="58" href="#58">58</a> .getMembersInjector( ServiceLoaderModuleTestCase.<strong class="jxr_keyword">class</strong> )
-<a class="jxr_linenumber" name="59" href="#59">59</a> .injectMembers( <strong class="jxr_keyword">this</strong> );
-<a class="jxr_linenumber" name="60" href="#60">60</a> }
-<a class="jxr_linenumber" name="61" href="#61">61</a>
-<a class="jxr_linenumber" name="62" href="#62">62</a> @Test
-<a class="jxr_linenumber" name="63" href="#63">63</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> singleServiceInjection()
-<a class="jxr_linenumber" name="64" href="#64">64</a> {
-<a class="jxr_linenumber" name="65" href="#65">65</a> assertEquals( AcmeServiceImpl1.<strong class="jxr_keyword">class</strong>, acmeService.getClass() );
-<a class="jxr_linenumber" name="66" href="#66">66</a> }
-<a class="jxr_linenumber" name="67" href="#67">67</a>
-<a class="jxr_linenumber" name="68" href="#68">68</a> }
+<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertEquals;
+<a class="jxr_linenumber" name="24" href="#24">24</a>
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Before;
+<a class="jxr_linenumber" name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="27" href="#27">27</a>
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.google.inject.name.Named;
+<a class="jxr_linenumber" name="30" href="#30">30</a>
+<a class="jxr_linenumber" name="31" href="#31">31</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/onami/spi/ServiceLoaderModuleTestCase.html">ServiceLoaderModuleTestCase</a>
+<a class="jxr_linenumber" name="32" href="#32">32</a> {
+<a class="jxr_linenumber" name="33" href="#33">33</a>
+<a class="jxr_linenumber" name="34" href="#34">34</a> @Inject
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">private</strong> <a href="../../../../org/apache/onami/spi/AcmeService.html">AcmeService</a> firstAcmeService;
+<a class="jxr_linenumber" name="36" href="#36">36</a>
+<a class="jxr_linenumber" name="37" href="#37">37</a> @Inject
+<a class="jxr_linenumber" name="38" href="#38">38</a> @Named( <span class="jxr_string">"second"</span> )
+<a class="jxr_linenumber" name="39" href="#39">39</a> <strong class="jxr_keyword">private</strong> <a href="../../../../org/apache/onami/spi/AcmeService.html">AcmeService</a> secondAcmeService;
+<a class="jxr_linenumber" name="40" href="#40">40</a>
+<a class="jxr_linenumber" name="41" href="#41">41</a> @Before
+<a class="jxr_linenumber" name="42" href="#42">42</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp()
+<a class="jxr_linenumber" name="43" href="#43">43</a> {
+<a class="jxr_linenumber" name="44" href="#44">44</a> createInjector( <strong class="jxr_keyword">new</strong> ServiceLoaderModule()
+<a class="jxr_linenumber" name="45" href="#45">45</a> {
+<a class="jxr_linenumber" name="46" href="#46">46</a>
+<a class="jxr_linenumber" name="47" href="#47">47</a> @Override
+<a class="jxr_linenumber" name="48" href="#48">48</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configureServices()
+<a class="jxr_linenumber" name="49" href="#49">49</a> {
+<a class="jxr_linenumber" name="50" href="#50">50</a> discover( AcmeService.<strong class="jxr_keyword">class</strong> );
+<a class="jxr_linenumber" name="51" href="#51">51</a> }
+<a class="jxr_linenumber" name="52" href="#52">52</a>
+<a class="jxr_linenumber" name="53" href="#53">53</a> } )
+<a class="jxr_linenumber" name="54" href="#54">54</a> .getMembersInjector( ServiceLoaderModuleTestCase.<strong class="jxr_keyword">class</strong> )
+<a class="jxr_linenumber" name="55" href="#55">55</a> .injectMembers( <strong class="jxr_keyword">this</strong> );
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
+<a class="jxr_linenumber" name="57" href="#57">57</a>
+<a class="jxr_linenumber" name="58" href="#58">58</a> @Test
+<a class="jxr_linenumber" name="59" href="#59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> singleServiceInjection()
+<a class="jxr_linenumber" name="60" href="#60">60</a> {
+<a class="jxr_linenumber" name="61" href="#61">61</a> assertEquals( AcmeServiceImpl1.<strong class="jxr_keyword">class</strong>, firstAcmeService.getClass() );
+<a class="jxr_linenumber" name="62" href="#62">62</a> assertEquals( AcmeServiceImpl2.<strong class="jxr_keyword">class</strong>, secondAcmeService.getClass() );
+<a class="jxr_linenumber" name="63" href="#63">63</a> }
+<a class="jxr_linenumber" name="64" href="#64">64</a>
+<a class="jxr_linenumber" name="65" href="#65">65</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
Modified: incubator/onami/site/spi/xref-test/org/apache/onami/spi/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/org/apache/onami/spi/package-frame.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/org/apache/onami/spi/package-frame.html (original)
+++ incubator/onami/site/spi/xref-test/org/apache/onami/spi/package-frame.html Tue Jan 15 20:45:34 2013
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Onami-SPI 0.2-incubating-SNAPSHOT Reference Package org.apache.onami.spi</title>
+ <title>Apache Onami-SPI 1.0.0-incubating-SNAPSHOT Reference Package org.apache.onami.spi</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -28,6 +28,9 @@
<a href="AcmeServiceImpl2.html" target="classFrame">AcmeServiceImpl2</a>
</li>
<li>
+ <a href="BarBindingAnnotation.html" target="classFrame">BarBindingAnnotation</a>
+ </li>
+ <li>
<a href="FooService.html" target="classFrame">FooService</a>
</li>
<li>
Modified: incubator/onami/site/spi/xref-test/org/apache/onami/spi/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/org/apache/onami/spi/package-summary.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/org/apache/onami/spi/package-summary.html (original)
+++ incubator/onami/site/spi/xref-test/org/apache/onami/spi/package-summary.html Tue Jan 15 20:45:34 2013
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Onami-SPI 0.2-incubating-SNAPSHOT Reference Package org.apache.onami.spi</title>
+ <title>Apache Onami-SPI 1.0.0-incubating-SNAPSHOT Reference Package org.apache.onami.spi</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -57,6 +57,11 @@
</tr>
<tr>
<td>
+ <a href="BarBindingAnnotation.html" target="classFrame">BarBindingAnnotation</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
<a href="FooService.html" target="classFrame">FooService</a>
</td>
</tr>
@@ -107,6 +112,6 @@
</ul>
</div>
<hr />
- Copyright © 2012 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: incubator/onami/site/spi/xref-test/overview-frame.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/overview-frame.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/overview-frame.html (original)
+++ incubator/onami/site/spi/xref-test/overview-frame.html Tue Jan 15 20:45:34 2013
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Onami-SPI 0.2-incubating-SNAPSHOT Reference</title>
+ <title>Apache Onami-SPI 1.0.0-incubating-SNAPSHOT Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
Modified: incubator/onami/site/spi/xref-test/overview-summary.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref-test/overview-summary.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref-test/overview-summary.html (original)
+++ incubator/onami/site/spi/xref-test/overview-summary.html Tue Jan 15 20:45:34 2013
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Onami-SPI 0.2-incubating-SNAPSHOT Reference</title>
+ <title>Apache Onami-SPI 1.0.0-incubating-SNAPSHOT Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
@@ -24,7 +24,7 @@
</ul>
</div>
- <h2>Apache Onami-SPI 0.2-incubating-SNAPSHOT Reference</h2>
+ <h2>Apache Onami-SPI 1.0.0-incubating-SNAPSHOT Reference</h2>
<table class="summary">
<thead>
@@ -59,6 +59,6 @@
</div>
<hr />
- Copyright © 2012 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: incubator/onami/site/spi/xref/allclasses-frame.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref/allclasses-frame.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref/allclasses-frame.html (original)
+++ incubator/onami/site/spi/xref/allclasses-frame.html Tue Jan 15 20:45:34 2013
@@ -15,12 +15,6 @@
<a href="org/apache/onami/spi/AbstractServiceClassIterator.html" target="classFrame">AbstractServiceClassIterator</a>
</li>
<li>
- <a href="org/apache/onami/spi/binder/AnnotatedServiceBuilder.html" target="classFrame">AnnotatedServiceBuilder</a>
- </li>
- <li>
- <a href="org/apache/onami/spi/ServiceLoaderModule.html" target="classFrame">DefaultServiceBuilder</a>
- </li>
- <li>
<a href="org/apache/onami/spi/binder/FromClassLoaderBuilder.html" target="classFrame">FromClassLoaderBuilder</a>
</li>
<li>
@@ -33,7 +27,7 @@
<a href="org/apache/onami/spi/PropertyServiceClassIterator.html" target="classFrame">PropertyServiceClassIterator</a>
</li>
<li>
- <a href="org/apache/onami/spi/binder/ServiceBuilder.html" target="classFrame">ServiceBuilder</a>
+ <a href="org/apache/onami/spi/ServiceLoaderModule.html" target="classFrame">ServiceInfo</a>
</li>
<li>
<a href="org/apache/onami/spi/ServiceLoader.html" target="classFrame">ServiceLoader</a>
Modified: incubator/onami/site/spi/xref/index.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/spi/xref/index.html?rev=1433627&r1=1433626&r2=1433627&view=diff
==============================================================================
--- incubator/onami/site/spi/xref/index.html (original)
+++ incubator/onami/site/spi/xref/index.html Tue Jan 15 20:45:34 2013
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Onami-SPI 0.2-incubating-SNAPSHOT Reference</title>
+ <title>Apache Onami-SPI 1.0.0-incubating-SNAPSHOT Reference</title>
</head>
<frameset cols="20%,80%">
<frameset rows="30%,70%">