You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by bu...@apache.org on 2015/07/31 12:22:00 UTC
svn commit: r960276 [5/8] - in /websites/staging/aries/trunk/content: ./
community/ development/ documentation/ documentation/tools/
documentation/tutorials/ downloads/
downloads/archived-releases/0.1-incubating/
downloads/archived-releases/0.2-incubat...
Modified: websites/staging/aries/trunk/content/downloads/currentrelease.html
==============================================================================
--- websites/staging/aries/trunk/content/downloads/currentrelease.html (original)
+++ websites/staging/aries/trunk/content/downloads/currentrelease.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,8 +274,19 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p><a name="Downloads-ApacheAriesDownloads"></a></p>
-<h1 id="apache-aries-downloads">Apache Aries Downloads</h1>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Downloads-ApacheAriesDownloads"></a></p>
+<h1 id="apache-aries-downloads">Apache Aries Downloads<a class="headerlink" href="#apache-aries-downloads" title="Permanent link">¶</a></h1>
<p>Apache Aries delivers a set of pluggable Java components enabling an
enterprise OSGi application programming model.</p>
<p>Apache Aries modules are distributed in source and binary form.
@@ -295,7 +299,7 @@ distribution for additional license info
<p>The release notes for the current release are <a href="releasenotes.html">here</a>
.</p>
<p><a name="Downloads-Samples"></a></p>
-<h3 id="samples">Samples</h3>
+<h3 id="samples">Samples<a class="headerlink" href="#samples" title="Permanent link">¶</a></h3>
<p>The easiest way to use the samples is to download the source zip, navigate
to the appropriate 'assembly' module and run mvn install to download all
the released binary artifacts. Alternatively you can build the entire
@@ -325,7 +329,7 @@ source.
<tr><td class="confluenceTd"> </td><td class="confluenceTd"> Blueprint ID Verifier</td><td class="confluenceTd"> 1.0.0 </td><td class="confluenceTd"> - </td><td class="confluenceTd"> </td></tr>
</table></p>
<p><a name="Downloads-EbaMavenPlugin"></a></p>
-<h3 id="eba-maven-plugin">EBA Maven Plugin</h3>
+<h3 id="eba-maven-plugin">EBA Maven Plugin<a class="headerlink" href="#eba-maven-plugin" title="Permanent link">¶</a></h3>
<table class="confluenceTable">
<tr><th class="confluenceTh"> Sub project </th><th class="confluenceTh"> Module </th><th class="confluenceTh"> Version </th><th class="confluenceTh"> Binary </th><th class="confluenceTh"> Source </th><th class="confluenceTh"> Comments </th></tr>
<tr><td class="confluenceTd"> eba-maven-plugin </td><td class="confluenceTd"> </td><td class="confluenceTd"> 1.0.0 </td><td class="confluenceTd"> - </td><td class="confluenceTd">
@@ -340,7 +344,7 @@ source.
</table>
<p><a name="Downloads-Projectcomponents"></a></p>
-<h3 id="project-components">Project components</h3>
+<h3 id="project-components">Project components<a class="headerlink" href="#project-components" title="Permanent link">¶</a></h3>
<!-- This page can be automatically generated from the dist directory using the create_modules_table.pl script -->
<table class="confluenceTable"><tr><th class="confluenceTh"> Sub project </th><th class="confluenceTh"> Module </th><th class="confluenceTh"> Version </th><th class="confluenceTh"> Binary </th><th class="confluenceTh"> Source </th><th class="confluenceTh"> Buildable src </th><th class="confluenceTh"> Comments </th></tr>
Modified: websites/staging/aries/trunk/content/downloads/testresults.html
==============================================================================
--- websites/staging/aries/trunk/content/downloads/testresults.html (original)
+++ websites/staging/aries/trunk/content/downloads/testresults.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,7 +274,18 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p>These are the test results for the current Aries release.</p>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p>These are the test results for the current Aries release.</p>
<p><a href="ct/1.0.0/org.osgi.test.cases.blueprint.html">Blueprint</a> - 7 failures</p>
<p><a href="ct/1.0.0/org.osgi.test.cases.blueprint.secure.html">Blueprint Secure</a> - 0 failures</p>
<p><a href="ct/1.0.0/org.osgi.test.cases.blueprint.java5.html">Blueprint Java 5</a> - 0 failures</p>
Modified: websites/staging/aries/trunk/content/index.html
==============================================================================
--- websites/staging/aries/trunk/content/index.html (original)
+++ websites/staging/aries/trunk/content/index.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,8 +274,19 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p><a name="Index-ApacheAries"></a></p>
-<h1 id="apache-aries">Apache Aries</h1>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Index-ApacheAries"></a></p>
+<h1 id="apache-aries">Apache Aries<a class="headerlink" href="#apache-aries" title="Permanent link">¶</a></h1>
<p>The Aries project consists of a set of pluggable Java components enabling
an enterprise OSGi application programming model. This includes
implementations (and extensions) of the following Enterprise OSGi specifications:</p>
Modified: websites/staging/aries/trunk/content/modules/applications.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/applications.html (original)
+++ websites/staging/aries/trunk/content/modules/applications.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,8 +274,19 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p><a name="Applications-AriesApplications"></a></p>
-<h1 id="aries-applications">Aries Applications</h1>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Applications-AriesApplications"></a></p>
+<h1 id="aries-applications">Aries Applications<a class="headerlink" href="#aries-applications" title="Permanent link">¶</a></h1>
<p>An Aries application is a collection of one or more OSGi modules that
together provide a coherent business function. An Aries application can
consist of modules of many different types. For example, a Aries
@@ -305,7 +309,7 @@ can also load packages and consume OSGi
space, that is, the OSGi framework instance that is the parent of all the
isolated framework instances of the OSGi applications.</p>
<p><a name="Applications-StructureofanAriesapplication"></a></p>
-<h2 id="structure-of-an-aries-application">Structure of an Aries application</h2>
+<h2 id="structure-of-an-aries-application">Structure of an Aries application<a class="headerlink" href="#structure-of-an-aries-application" title="Permanent link">¶</a></h2>
<p>An Aries application is packaged as a zip file with a '.eba' suffix. Its
structure is as follows:</p>
<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Sample Aries application structure</B></DIV><DIV class="codeContent panelContent">
@@ -327,7 +331,7 @@ to be shared. Sharing in this way can re
requirements of a system. Shared bundles must be provided by reference
rather than contained directly in an application.</p>
<p><a name="Applications-AriesApplicationManifest"></a></p>
-<h2 id="aries-application-manifest">Aries Application Manifest</h2>
+<h2 id="aries-application-manifest">Aries Application Manifest<a class="headerlink" href="#aries-application-manifest" title="Permanent link">¶</a></h2>
<p>An Aries Application is defined using a Manifest. The Aries manifest is
located at META-INF/APPLICATION.MF and describes modularity at the
application level. The manifest enumerates the modules that comprise the
@@ -386,7 +390,7 @@ Alternatively, you can ensure that two a
package imports. By setting the restriction at application level, the
bundle can remain flexible.</p>
<p><a name="Applications-AriesDeploymentManifest"></a></p>
-<h2 id="aries-deployment-manifest">Aries Deployment Manifest</h2>
+<h2 id="aries-deployment-manifest">Aries Deployment Manifest<a class="headerlink" href="#aries-deployment-manifest" title="Permanent link">¶</a></h2>
<p>The Aries application model allows for the possibility that the bundles
listed in APPLICATION.MF's Application-Content header, plus those
optionally included within a .eba file, may have unsatisfied package or
Modified: websites/staging/aries/trunk/content/modules/async-svcs.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/async-svcs.html (original)
+++ websites/staging/aries/trunk/content/modules/async-svcs.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,12 +274,23 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p>Title: Asynchronous Services</p>
-<h1 id="introduction">Introduction</h1>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p>Title: Asynchronous Services</p>
+<h1 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent link">¶</a></h1>
<p>The R6 OSGi specifications include support for Asynchronous programming using OSGi services.
Apache Aries aims to provide small, compliant implementations of these specifications to enable asynchronous
programming in enterprise applications. The two key specifications are OSGi Promises and the Async service.</p>
-<h1 id="osgi-promises">OSGi Promises</h1>
+<h1 id="osgi-promises">OSGi Promises<a class="headerlink" href="#osgi-promises" title="Permanent link">¶</a></h1>
<p>One of the fundamental pieces of an asynchronous programming system is the <em>Promise</em>. A Promise is a holder type that
represents an asynchronous calculation or computation. Since Java 5 the JDK has contained <em>java.util.concurrent.Future</em> to perform this
function. Java's Future type is, however, fatally flawed as it has no callback to notify the user when it resolves. Instead the
@@ -294,7 +298,7 @@ user must make a blocking call to <em>ge
<p>OSGi promises fix this problem by defining a Promise interface which allows the user to register callbacks which will be
called when the promise <em>resolves</em>. These callbacks are lambda friendly SAM types, but the Promise API itself has no
dependencies on Java 8. The Aries version (org.apache.aries.async.promise.api) has a minimum requirement of JDK 6.</p>
-<h2 id="creating-osgi-promises">Creating OSGi Promises</h2>
+<h2 id="creating-osgi-promises">Creating OSGi Promises<a class="headerlink" href="#creating-osgi-promises" title="Permanent link">¶</a></h2>
<p>Creating a Promise is easy. The <em>org.osgi.util.promise.Deferred</em> type is a factory for a single promise, and can also be used to
resolve or fail the promise:</p>
<div class="codehilite"><pre><span class="n">Deferred</span><span class="o"><</span><span class="n">Integer</span><span class="o">></span> <span class="n">deferred</span> <span class="p">=</span> <span class="n">new</span> <span class="n">Deferred</span><span class="o"><></span><span class="p">();</span>
@@ -327,7 +331,7 @@ effectively immutable, meaning they can
</pre></div>
-<h2 id="using-osgi-promises">Using OSGi Promises</h2>
+<h2 id="using-osgi-promises">Using OSGi Promises<a class="headerlink" href="#using-osgi-promises" title="Permanent link">¶</a></h2>
<p>Once you have a promise, what do you do with it? It's easy to get the value from a promise using the <em>getValue()</em> method,
or you can use the <em>getFailure()</em> method to get the failure cause. Unfortunately both of these methods block until the promise
resolves, and whilst the <em>isDone()</em> method does tell you if the Promise has completed they really aren't the right way to use a
@@ -351,7 +355,7 @@ doing work with the Promise when it reso
</pre></div>
-<h3 id="chaining-osgi-promises">Chaining OSGi Promises</h3>
+<h3 id="chaining-osgi-promises">Chaining OSGi Promises<a class="headerlink" href="#chaining-osgi-promises" title="Permanent link">¶</a></h3>
<p>In the previous examples our success callback returned <em>null</em> - why? Well the return value from a success callback is always
a promise (null is a shortcut for a promise resolved with null). The promise returned by the callback represents an asynchronous
execution flow in a process known as "chaining". The overall completion of this chain is represented by a third promise, returned
@@ -363,18 +367,18 @@ to the caller of the <em>then()</em> met
<li>The promise returned by the success callback completes successfully</li>
<li>The "chained" promise completes with the same value as the promise from step 4.</li>
</ol>
-<h2 id="other-promise-behaviours">Other Promise behaviours</h2>
+<h2 id="other-promise-behaviours">Other Promise behaviours<a class="headerlink" href="#other-promise-behaviours" title="Permanent link">¶</a></h2>
<p>As well as simple callbacks Promises also provide advanced mapping and recovery features. For example a promise can be
wrapped so that if the original work fails then a new value can be supplied using a recovery function.</p>
<p>The <em>org.osgi.util.promise.Promises</em> utility class also provides useful functions for working with promises. For example helper
methods to wrap an existing value or failure in a Promise, or a way of aggregating a group of promises into a single promise.</p>
-<h1 id="the-async-service">The Async service</h1>
+<h1 id="the-async-service">The Async service<a class="headerlink" href="#the-async-service" title="Permanent link">¶</a></h1>
<p>Most OSGi services have a synchronous API. This is usually the easiest way to think about, write, and use services. The main
problem with this is that long running service calls can cause applications to run slowly, and making the calls asynchronous is
both verbose and error-prone.</p>
<p>The Async service is designed to take away the boilerplate code needed to invoke a service asynchronously, and to convert any
synchronous API into an asynchronous API, returning promises instead of values.</p>
-<h2 id="using-the-async-service">Using the Async service</h2>
+<h2 id="using-the-async-service">Using the Async service<a class="headerlink" href="#using-the-async-service" title="Permanent link">¶</a></h2>
<p>The Async service is available in the service registry and is very easy to use - first we need to mediate the service.
Mediating is a bit like creating a mock object, the mediator records method calls made against it so that they can be
transformed into asynchronous calls. Mediating can apply to a concrete object, or to a ServiceReference. It is better to
@@ -398,19 +402,19 @@ the Async service's <em>call()</em> meth
</pre></div>
-<h3 id="void-methods">Void methods</h3>
+<h3 id="void-methods">Void methods<a class="headerlink" href="#void-methods" title="Permanent link">¶</a></h3>
<p>Void methods don't have a return value to pass to the async service, and should use the no-args version of call instead.</p>
<div class="codehilite"><pre><span class="nx">mediator</span><span class="p">.</span><span class="nx">longRunningVoidMethod</span><span class="p">()</span>
<span class="nx">Promise</span><span class="cp"><?</span><span class="o">></span> <span class="nx">promise</span> <span class="o">=</span> <span class="nx">async</span><span class="o">.</span><span class="nx">call</span><span class="p">();</span>
</pre></div>
-<h3 id="fire-and-forget-calls">Fire and Forget calls</h3>
+<h3 id="fire-and-forget-calls">Fire and Forget calls<a class="headerlink" href="#fire-and-forget-calls" title="Permanent link">¶</a></h3>
<p>Sometimes the user does not care when a piece of work finishes, or what value it returns, or even whether it was successful.
These sorts of calls are called "fire and forget" calls, and are also supported by the async service using the <em>execute()</em> method.</p>
<p>The execute method still returns a promise, however this promise represents whether the fire and forget call successfully started
or not, not whether it has completed.</p>
-<h1 id="getting-started">Getting Started</h1>
+<h1 id="getting-started">Getting Started<a class="headerlink" href="#getting-started" title="Permanent link">¶</a></h1>
<p>The Asynchronous Services implementation can be found in the Apache Aries codebase in the <code>async</code> directory: <a href="https://svn.apache.org/repos/asf/aries/trunk/async">https://svn.apache.org/repos/asf/aries/trunk/async</a></p>
<p>In this location a convenient all-in-one bundle can also be found with no dependencies: the <code>async-all</code> module.</p></div>
<!-- Content -->
Modified: websites/staging/aries/trunk/content/modules/blueprint-maven-plugin.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/blueprint-maven-plugin.html (original)
+++ websites/staging/aries/trunk/content/modules/blueprint-maven-plugin.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,9 +274,20 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p>Writing blueprint xml is quite verbose and large blueprint xmls are difficult to keep in sync with code changes and especially refactorings.
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p>Writing blueprint xml is quite verbose and large blueprint xmls are difficult to keep in sync with code changes and especially refactorings.
So you would like to do most declarations using annoations and ideally these annotations should be standardized.</p>
-<h2 id="blueprint-maven-plugin">blueprint-maven-plugin</h2>
+<h2 id="blueprint-maven-plugin">blueprint-maven-plugin<a class="headerlink" href="#blueprint-maven-plugin" title="Permanent link">¶</a></h2>
<p>The blueprint-maven-plugin allows to configure blueprint using annotations. It scans one or more paths for annotated classes and creates a blueprint.xml in target/generated-resources. So at runtime the bundle behaves like a normal blueprint bundle.
The generated blueprint can also be used together with a manually created blueprint file. So for example property placeholder configurations
or cxf services can be created in xml while most of the beans are automatically generated.</p>
@@ -309,35 +313,35 @@ or cxf services can be created in xml wh
</pre></div>
-<h2 id="annotations">Annotations</h2>
-<h3 id="javaxinject-jsr-330">javax.inject (JSR 330)</h3>
+<h2 id="annotations">Annotations<a class="headerlink" href="#annotations" title="Permanent link">¶</a></h2>
+<h3 id="javaxinject-jsr-330">javax.inject (JSR 330)<a class="headerlink" href="#javaxinject-jsr-330" title="Permanent link">¶</a></h3>
<ul>
<li>@Inject Inject a bean by type and optionally further qualifiers</li>
<li>@Singleton Mark a class as being a bean</li>
<li>@Named("Myname") Names a @Singleton and qualifies an @Inject to limit it to matches with the same bean id</li>
</ul>
-<h3 id="javaxannotation-jsr-250">javax.annotation (JSR 250)</h3>
+<h3 id="javaxannotation-jsr-250">javax.annotation (JSR 250)<a class="headerlink" href="#javaxannotation-jsr-250" title="Permanent link">¶</a></h3>
<ul>
<li>@PostConstruct Marks a method to be called after DI is finished (init-method)</li>
<li>@PreDestroy Marks a method to be called before the bean is destroyed (destroy-method)</li>
</ul>
-<h3 id="pax-cdi">pax-cdi</h3>
+<h3 id="pax-cdi">pax-cdi<a class="headerlink" href="#pax-cdi" title="Permanent link">¶</a></h3>
<ul>
<li>@OsgiServiceProvider(classes={TaskService.class}) Publishes a bean as an OSGi service with the given interfaces</li>
<li>@OsgiService creates a reference to an OSGi service. On optional filter is also possible</li>
<li>@Properties Defines service properties for OSGiServiceProvider</li>
<li>@Property Defines a service property</li>
</ul>
-<h3 id="javaxpersistence">javax.persistence</h3>
+<h3 id="javaxpersistence">javax.persistence<a class="headerlink" href="#javaxpersistence" title="Permanent link">¶</a></h3>
<ul>
<li>@PersistenceContext(unitName="tasklist") inject a managed EntityManager for the given persistence unit into a field</li>
<li>@PersistenceUnit(unitName="tasklist") inject an unmanaged EntityManagerFactory for the given persistence unit into a field</li>
</ul>
-<h3 id="javaxtransaction">javax.transaction</h3>
+<h3 id="javaxtransaction">javax.transaction<a class="headerlink" href="#javaxtransaction" title="Permanent link">¶</a></h3>
<ul>
<li>@Transactional mark the class as transactional. Individual methods are not yet supported</li>
</ul>
-<h2 id="dependencies-for-annotations">Dependencies for annotations</h2>
+<h2 id="dependencies-for-annotations">Dependencies for annotations<a class="headerlink" href="#dependencies-for-annotations" title="Permanent link">¶</a></h2>
<div class="codehilite"><pre><span class="nt"><dependency></span>
<span class="nt"><groupId></span>javax.inject<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>javax.inject<span class="nt"></artifactId></span>
@@ -363,7 +367,7 @@ or cxf services can be created in xml wh
</pre></div>
-<h2 id="example">Example</h2>
+<h2 id="example">Example<a class="headerlink" href="#example" title="Permanent link">¶</a></h2>
<p>For a complete example see <a href="https://github.com/cschneider/Karaf-Tutorial/tree/master/tasklist-blueprint-cdi">tasklist-blueprint-cdi</a> on github.</p></div>
<!-- Content -->
</td>
Modified: websites/staging/aries/trunk/content/modules/blueprint.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/blueprint.html (original)
+++ websites/staging/aries/trunk/content/modules/blueprint.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,10 +274,21 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p><a name="Blueprint-Blueprint"></a></p>
-<h1 id="blueprint">Blueprint</h1>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Blueprint-Blueprint"></a></p>
+<h1 id="blueprint">Blueprint<a class="headerlink" href="#blueprint" title="Permanent link">¶</a></h1>
<p><a name="Blueprint-Introduction"></a></p>
-<h2 id="introduction">Introduction</h2>
+<h2 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent link">¶</a></h2>
<p>Blueprint provides a dependency injection framework for OSGi and was
standardized by the OSGi Alliance in OSGi Compendium R4.2. It is designed
to deal with the dynamic nature of OSGi, where services can become
@@ -298,7 +302,7 @@ wired together to form a running module.
<p>The following documentation covers the 80:20 usage of Blueprint. For
further details, please refer to the OSGi Compendium R4.2 specification.</p>
<p><a name="Blueprint-BlueprintBundles"></a></p>
-<h2 id="blueprint-bundles">Blueprint Bundles</h2>
+<h2 id="blueprint-bundles">Blueprint Bundles<a class="headerlink" href="#blueprint-bundles" title="Permanent link">¶</a></h2>
<p>The Blueprint Container specification uses an extender pattern, whereby an
extender bundle monitors the state of bundles in the framework and performs
actions on behalf of those bundles based on their state. The Blueprint
@@ -323,7 +327,7 @@ service registry, and creates initial co
extender bundle also destroys the Blueprint Container for a bundle when the
bundle is stopped. </p>
<p><a name="Blueprint-BlueprintXML"></a></p>
-<h2 id="blueprint-xml">Blueprint XML</h2>
+<h2 id="blueprint-xml">Blueprint XML<a class="headerlink" href="#blueprint-xml" title="Permanent link">¶</a></h2>
<p>The Blueprint XML file is identified by a top-level blueprint element, as
shown below:</p>
<div class="codehilite"><pre><span class="cp"><?xml version="1.0" encoding="UTF-8"?></span>
@@ -338,7 +342,7 @@ version 1.0.0. The top-level blueprint
a blueprint module definition.</p>
<p><em>TODO:</em> ensure id, activation and dependsOn get documented somewhere.</p>
<p><a name="Blueprint-Beans"></a></p>
-<h2 id="beans">Beans</h2>
+<h2 id="beans">Beans<a class="headerlink" href="#beans" title="Permanent link">¶</a></h2>
<p>Beans are declared using the bean element. The following defines a single
bean called <em>accountOne</em> implemented by the POJO
<em>org.apache.aries.simple.Account</em>.</p>
@@ -350,7 +354,7 @@ bean called <em>accountOne</em> implemen
<p><a name="Blueprint-BeanConstruction"></a></p>
-<h3 id="bean-construction">Bean Construction</h3>
+<h3 id="bean-construction">Bean Construction<a class="headerlink" href="#bean-construction" title="Permanent link">¶</a></h3>
<p>During object construction, the Blueprint Container must first find the
right constructor or a factory method with a compatible set of parameters
that matches the arguments specified in the XML. By default, the Blueprint
@@ -435,7 +439,7 @@ the argument to create the Account objec
<p><a name="Blueprint-BeanProperties"></a></p>
-<h3 id="bean-properties">Bean Properties</h3>
+<h3 id="bean-properties">Bean Properties<a class="headerlink" href="#bean-properties" title="Permanent link">¶</a></h3>
<p>Beans can have property values injected. Injection is performed
immediately after the bean is constructed. The following example creates
the Account bean and then sets the description property using the Java
@@ -456,7 +460,7 @@ Beans naming convention.</p>
<p><a name="Blueprint-BeanWiring"></a></p>
-<h4 id="bean-wiring">Bean Wiring</h4>
+<h4 id="bean-wiring">Bean Wiring<a class="headerlink" href="#bean-wiring" title="Permanent link">¶</a></h4>
<p>Property injection is used for wiring beans together. In the following
example <em>accountOne</em> is injected with a <em>Currency</em> bean.</p>
<div class="codehilite"><pre> public class Account {
@@ -487,7 +491,7 @@ example <em>accountOne</em> is injected
<p><a name="Blueprint-Services"></a></p>
-<h2 id="services">Services</h2>
+<h2 id="services">Services<a class="headerlink" href="#services" title="Permanent link">¶</a></h2>
<p>In Blueprint XML, a service element defines the registration of a service
in the OSGi service registry. </p>
<p>The bean that provides the service object can be referenced using the
@@ -531,7 +535,7 @@ all the bean's interfaces:</p>
<p>Other values for <em>auto-export</em> are <em>disabled</em> (the default)
<em>class-hierarchy</em> and <em>all-classes</em>.</p>
<p><a name="Blueprint-ServiceProperties"></a></p>
-<h3 id="service-properties">Service Properties</h3>
+<h3 id="service-properties">Service Properties<a class="headerlink" href="#service-properties" title="Permanent link">¶</a></h3>
<p>A service can also be registered with a set of properties that can be
specified using the <em>service-properties</em> sub-element. The
<em>service-properties</em> element contains multiple <em>entry</em> sub-elements
@@ -557,7 +561,7 @@ properties. The <em>active</em> service
<p><a name="Blueprint-ServiceRanking"></a></p>
-<h3 id="service-ranking">Service Ranking</h3>
+<h3 id="service-ranking">Service Ranking<a class="headerlink" href="#service-ranking" title="Permanent link">¶</a></h3>
<p>Service ranking can be used to affect the choice of service when there are
multiple matches. When choosing between two services, the higher ranked
service will be returned ahead of the lower. The default ranking value is
@@ -569,7 +573,7 @@ follows:</p>
<p><a name="Blueprint-References"></a></p>
-<h2 id="references">References</h2>
+<h2 id="references">References<a class="headerlink" href="#references" title="Permanent link">¶</a></h2>
<p>Services are found in the service registry using the reference element. The
following shows a reference named <em>accountRef</em> to an <em>Account</em> service.
If a service matching this reference is found in the service registry then
@@ -584,7 +588,7 @@ it is set on the <em>accountClient</em>
<p><a name="Blueprint-ReferenceDynamism"></a></p>
-<h3 id="reference-dynamism">Reference Dynamism</h3>
+<h3 id="reference-dynamism">Reference Dynamism<a class="headerlink" href="#reference-dynamism" title="Permanent link">¶</a></h3>
<p>The object that is injected for a reference is actually a proxy to the
service registered in the service registry. A proxy enables the injected
object to remain the same while the backing service can come and go or be
@@ -625,7 +629,7 @@ reference to 20000 milliseconds (20 seco
<p>In all cases, a value of 0 means wait indefinitely for the reference to
become satisfied.</p>
<p><a name="Blueprint-ReferenceLists"></a></p>
-<h3 id="reference-lists">Reference Lists</h3>
+<h3 id="reference-lists">Reference Lists<a class="headerlink" href="#reference-lists" title="Permanent link">¶</a></h3>
<p>Multiple matching services can be found using the <em>reference-list</em>
element. The <em>reference-list</em> provides a <em>List</em> object that contains
the service proxy objects or <em>ServiceReference</em> objects, depending on the
@@ -655,31 +659,31 @@ ServiceReferences:</p>
<p>Example showing mandatory or optional references (availability)</p>
<p>Example showing use of filter</p>
<p><a name="Blueprint-BeanProperties"></a></p>
-<h2 id="bean-properties_1">Bean Properties</h2>
+<h2 id="bean-properties_1">Bean Properties<a class="headerlink" href="#bean-properties_1" title="Permanent link">¶</a></h2>
<p>Example showing use of bean properties</p>
<p><a name="Blueprint-Scopes"></a></p>
-<h2 id="scopes">Scopes</h2>
+<h2 id="scopes">Scopes<a class="headerlink" href="#scopes" title="Permanent link">¶</a></h2>
<p>Example showing singleton scope</p>
<p>Example showing prototype scope for beans</p>
<p>Example showing prototype scope for services</p>
<p><a name="Blueprint-ObjectValues"></a></p>
-<h2 id="object-values">Object Values</h2>
+<h2 id="object-values">Object Values<a class="headerlink" href="#object-values" title="Permanent link">¶</a></h2>
<p>Intro to Object Values</p>
<p>Examples showing the use of the various different object value types - ref,
map, props collection (list, array, set).</p>
<p><a name="Blueprint-Lifecycle"></a></p>
-<h2 id="lifecycle">Lifecycle</h2>
+<h2 id="lifecycle">Lifecycle<a class="headerlink" href="#lifecycle" title="Permanent link">¶</a></h2>
<p>Example showing use of init/destroy-method</p>
<p><a name="Blueprint-LazyandEagerActiviation"></a></p>
-<h2 id="lazy-and-eager-activiation">Lazy and Eager Activiation</h2>
+<h2 id="lazy-and-eager-activiation">Lazy and Eager Activiation<a class="headerlink" href="#lazy-and-eager-activiation" title="Permanent link">¶</a></h2>
<p>Example showing lazy activiation.</p>
<p>Example showing eager activation.</p>
<p><a name="Blueprint-Dynamism"></a></p>
-<h2 id="dynamism">Dynamism</h2>
+<h2 id="dynamism">Dynamism<a class="headerlink" href="#dynamism" title="Permanent link">¶</a></h2>
<p>Example showing service-listener</p>
<p>Example showing reference-listener</p>
<p><a name="Blueprint-TypeConverters"></a></p>
-<h2 id="type-converters">Type Converters</h2></div>
+<h2 id="type-converters">Type Converters<a class="headerlink" href="#type-converters" title="Permanent link">¶</a></h2></div>
<!-- Content -->
</td>
</tr>
Modified: websites/staging/aries/trunk/content/modules/blueprintannotation.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/blueprintannotation.html (original)
+++ websites/staging/aries/trunk/content/modules/blueprintannotation.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,8 +274,19 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p><a name="BlueprintAnnotation-Introduction"></a></p>
-<h1 id="introduction">Introduction</h1>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="BlueprintAnnotation-Introduction"></a></p>
+<h1 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent link">¶</a></h1>
<p>Blueprint annotation is being prototyped in Apache Aries in
trunk/blueprint. The blueprint annotation service is an optional service
to the blueprint core and should not affect the blueprint core if
@@ -297,9 +301,9 @@ blueprint implementation is available in
trunk/blueprint/blueprint-annotatiom-impl module. A blueprint annotated
sample is also provided in trunk/blueprint/blueprint-sample-annotation.</p>
<p><a name="BlueprintAnnotation-OverviewofAvailableblueprintAnnotations"></a></p>
-<h2 id="overview-of-available-blueprint-annotations">Overview of Available blueprint Annotations</h2>
+<h2 id="overview-of-available-blueprint-annotations">Overview of Available blueprint Annotations<a class="headerlink" href="#overview-of-available-blueprint-annotations" title="Permanent link">¶</a></h2>
<p><a name="BlueprintAnnotation-@InjectAnnotation"></a></p>
-<h3 id="inject-annotation">@Inject Annotation</h3>
+<h3 id="inject-annotation">@Inject Annotation<a class="headerlink" href="#inject-annotation" title="Permanent link">¶</a></h3>
<p>@Inject annotation can be used to inject fields or methods.</p>
<div class="codehilite"><pre><span class="p">@</span><span class="n">Bean</span><span class="p">(</span><span class="n">id</span><span class="p">=</span>"<span class="n">bar</span>"<span class="p">)</span>
<span class="n">public</span> <span class="n">class</span> <span class="n">Bar</span> <span class="p">{</span>
@@ -315,7 +319,7 @@ sample is also provided in trunk/bluepri
<p><a name="BlueprintAnnotation-@BeanAnnotation"></a></p>
-<h3 id="bean-annotation">@Bean Annotation</h3>
+<h3 id="bean-annotation">@Bean Annotation<a class="headerlink" href="#bean-annotation" title="Permanent link">¶</a></h3>
<p>You can annotate a bean using @Bean annotation. The bean id is currently
required, even tho it is possible we may want to the annotation service to
auto generate one in the future. Optionally, you can also specify
@@ -367,7 +371,7 @@ annotation</p>
<p><a name="BlueprintAnnotation-@Service,@RegistrationListener,@Register,@UnregisterAnnotations"></a></p>
-<h3 id="service-registrationlistener-register-unregister-annotations">@Service, @RegistrationListener, @Register, @Unregister Annotations</h3>
+<h3 id="service-registrationlistener-register-unregister-annotations">@Service, @RegistrationListener, @Register, @Unregister Annotations<a class="headerlink" href="#service-registrationlistener-register-unregister-annotations" title="Permanent link">¶</a></h3>
<p>If you want to register a bean as a service, you can use @Service
annotation to do so. You can specify ranking, autoExport, interfaces,
serviceProperties and registrationListeners for the service.</p>
@@ -409,7 +413,7 @@ can be used on the unregister-method for
<p><a name="BlueprintAnnotation-@Reference,@ReferenceList,@ReferenceListenerAnnotations"></a></p>
-<h3 id="reference-referencelist-referencelistener-annotations">@Reference, @ReferenceList, @ReferenceListener Annotations</h3>
+<h3 id="reference-referencelist-referencelistener-annotations">@Reference, @ReferenceList, @ReferenceListener Annotations<a class="headerlink" href="#reference-referencelist-referencelistener-annotations" title="Permanent link">¶</a></h3>
<p>For a bean that you want to act as a ReferenceListener, you can use
@ReferenceListener to annotate the bean class. </p>
<p>For the service that you want to inject the reference, you can use the
@@ -463,7 +467,7 @@ is supported in @ReferenceList. This is
<p><a name="BlueprintAnnotation-@Blueprintannotation"></a></p>
-<h3 id="blueprint-annotation">@Blueprint annotation</h3>
+<h3 id="blueprint-annotation">@Blueprint annotation<a class="headerlink" href="#blueprint-annotation" title="Permanent link">¶</a></h3>
<p>@Blueprint annotation can be used on any class to annotate the global
property of the blueprint bundle, such as defaultActivation,
defaultTimeout, defaultAvailability.</p>
@@ -477,7 +481,7 @@ defaultTimeout, defaultAvailability.</p>
<p><a name="BlueprintAnnotation-Typeconverters"></a></p>
-<h3 id="type-converters">Type converters</h3>
+<h3 id="type-converters">Type converters<a class="headerlink" href="#type-converters" title="Permanent link">¶</a></h3>
<p>If type converters are desired, you can use the @Bean annotation for it.
The blueprint annotation service will recognize it as a type converter if
it implements the <em>org.osgi.service.blueprint.container.Converter</em>
@@ -493,7 +497,7 @@ interface</p>
<p><a name="BlueprintAnnotation-Limitation"></a></p>
-<h3 id="limitation">Limitation</h3>
+<h3 id="limitation">Limitation<a class="headerlink" href="#limitation" title="Permanent link">¶</a></h3>
<p>Blueprint Annotation is still prototype work and currently only runtime
annotation scanning is supported. While it provides some basic useful
functions, there are still many things that you cannot do using annotation,
Modified: websites/staging/aries/trunk/content/modules/blueprintnoosgi.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/blueprintnoosgi.html (original)
+++ websites/staging/aries/trunk/content/modules/blueprintnoosgi.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,12 +274,23 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p><a name="BlueprintNoOSGi"></a></p>
-<h1 id="blueprint-no-osgi">Blueprint No-OSGi</h1>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="BlueprintNoOSGi"></a></p>
+<h1 id="blueprint-no-osgi">Blueprint No-OSGi<a class="headerlink" href="#blueprint-no-osgi" title="Permanent link">¶</a></h1>
<p>The Blueprint No-OSGi module makes it easy to use OSGi Blueprint as a dependency injection framework outside of OSGi containers such as inside any Servlet Engine. </p>
<p>You can then use Blueprint as a small standards base alternative to the Spring Framework's XML dependency injection files.</p>
<p><a name="BlueprintNoOSGi-HowToUse"></a></p>
-<h2 id="how-to-use-blueprint-no-osgi">How to use Blueprint No-OSGi</h2>
+<h2 id="how-to-use-blueprint-no-osgi">How to use Blueprint No-OSGi<a class="headerlink" href="#how-to-use-blueprint-no-osgi" title="Permanent link">¶</a></h2>
<p>Just create the blueprint container giving the urls of the xml descriptors</p>
<div class="codehilite"><pre><span class="n">BlueprintContainerImpl</span> <span class="n">container</span> <span class="p">=</span> <span class="n">new</span> <span class="n">BlueprintContainerImpl</span><span class="p">(</span><span class="n">classLoader</span><span class="p">,</span> <span class="n">resourcePaths</span><span class="p">);</span>
</pre></div>
@@ -303,11 +307,11 @@
<p><a name="BlueprintNoOSGi-Limitations"></a></p>
-<h2 id="limitations">Limitations</h2>
+<h2 id="limitations">Limitations<a class="headerlink" href="#limitations" title="Permanent link">¶</a></h2>
<p>The Blueprint No-OSGi module has limitations due to the fact that OSGi is not available.
The use of <reference/> and <reference-list/> and <service/> elements are not supported.</p>
<p><a name="BlueprintNoOSGi-Configuraiton"></a> </p>
-<h2 id="configuring-blueprint-through-properties">Configuring blueprint through properties</h2>
+<h2 id="configuring-blueprint-through-properties">Configuring blueprint through properties<a class="headerlink" href="#configuring-blueprint-through-properties" title="Permanent link">¶</a></h2>
<p>Blueprint beans can be configured using the variable substitutions.
You need to declare the ext namespace and add the property placeholder bean in your blueprint xml</p>
<div class="codehilite"><pre><span class="nt"><blueprint</span> <span class="na">xmlns=</span><span class="s">"http://www.osgi.org/xmlns/blueprint/v1.0.0"</span>
Modified: websites/staging/aries/trunk/content/modules/blueprintweb.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/blueprintweb.html (original)
+++ websites/staging/aries/trunk/content/modules/blueprintweb.html Fri Jul 31 10:21:58 2015
@@ -98,7 +98,18 @@
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
- <div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
+ <style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<div onclick="SwitchMenu('overview')" id="overviewTitle" class="menutitle">Overview</div>
<div id="overview" class="menuitemgroup">
<div class="menuitem">
@@ -153,7 +164,7 @@
<div id="community" class="menuitemgroup">
<div class="menuitem">
- <a href="/community/overview.html">Community</a>
+ <a href="/community/resources.html">Community Resources</a>
</div>
<div class="menuitem">
<a href="/community/gettinginvolved.html">Getting Involved</a>
@@ -161,9 +172,6 @@
<div class="menuitem">
<a href="/community/people.html">Who we are</a>
</div>
- <div class="menuitem">
- <a href="/community/mailinglists.html">Mailing lists</a>
- </div>
<div class="menuitem">
<a href="/community/logos.html">Logos for Users</a>
</div>
@@ -173,38 +181,23 @@
<div id="development" class="menuitemgroup">
<div class="menuitem">
- <a href="https://svn.apache.org/repos/asf/aries/">Source Control</a>
- </div>
- <div class="menuitem">
- <a href="https://issues.apache.org/jira/browse/ARIES">Bug Tracking</a>
- </div>
- <div class="menuitem">
<a href="/development/buildingaries.html">Building Aries </a>
</div>
<div class="menuitem">
- <a href="/development/maven-best-practice-in-aries.html">Maven best practice</a>
+ <a href="/development/guidelines.html">Cording Guidelines</a>
</div>
<div class="menuitem">
- <a href="/development/moduledependencies.html">Module Dependencies</a>
+ <a href="/development/architecture.html">Architecture</a>
</div>
<div class="menuitem">
<a href="/development/releasingaries.html">Releasing Aries </a>
</div>
<div class="menuitem">
- <a href="/development/verifyingrelease.html">Verifying Release artifacts</a>
- </div>
- <div class="menuitem">
<a href="/development/compliancetesting.html">OSGi Compliance Tests </a>
</div>
<div class="menuitem">
- <a href="https://builds.apache.org/hudson/">Build System</a>
- </div>
- <div class="menuitem">
<a href="/development/maintainingthewebpages.html">Web Site Maintenance </a>
</div>
- <div class="menuitem">
- <a href="/development/versionpolicy.html">OSGi Version Policy </a>
- </div>
</div>
<div onclick="SwitchMenu('modules')" id="modulesTitle" class="menutitle">Modules</div>
@@ -281,12 +274,23 @@
</td>
<td height="100%" width="100%">
<!-- Content -->
- <div class="wiki-content"><p><a name="BlueprintWeb"></a></p>
-<h1 id="blueprintweb">BlueprintWeb</h1>
+ <div class="wiki-content"><style type="text/css">
+/* The following code is added by mdx_elementid.py
+ It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+ visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="BlueprintWeb"></a></p>
+<h1 id="blueprintweb">BlueprintWeb<a class="headerlink" href="#blueprintweb" title="Permanent link">¶</a></h1>
<p>The Blueprint Web module makes it easy to use OSGi Blueprint as a dependency injection framework outside of OSGi containers such as inside any Servlet Engine. </p>
<p>You can then use Blueprint as a small standards base alternative to the Spring Framework's XML dependency injection files.</p>
<p><a name="BlueprintWeb-HowToUse"></a></p>
-<h2 id="how-to-use-blueprint-web">How to use Blueprint Web</h2>
+<h2 id="how-to-use-blueprint-web">How to use Blueprint Web<a class="headerlink" href="#how-to-use-blueprint-web" title="Permanent link">¶</a></h2>
<p>Just add the following to your web.xml</p>
<div class="codehilite"><pre> <span class="nt"><listener></span>
<span class="nt"><listener-class></span>org.apache.aries.blueprint.web.BlueprintContextListener<span class="nt"></listener-class></span>
@@ -305,7 +309,7 @@
<p><a name="BlueprintWeb-Configuraiton"></a> </p>
-<h2 id="configuring-blueprint-through-properties">Configuring blueprint through properties</h2>
+<h2 id="configuring-blueprint-through-properties">Configuring blueprint through properties<a class="headerlink" href="#configuring-blueprint-through-properties" title="Permanent link">¶</a></h2>
<p>Blueprint beans can be configured using the variable substitutions.
You need to declare the ext namespace and add the property placeholder bean in your blueprint xml</p>
<div class="codehilite"><pre><span class="nt"><blueprint</span> <span class="na">xmlns=</span><span class="s">"http://www.osgi.org/xmlns/blueprint/v1.0.0"</span>