Modified: zest/site/content/java/develop/library-http.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-http.html?rev=1739675&r1=1739674&r2=1739675&view=diff ============================================================================== --- zest/site/content/java/develop/library-http.html (original) +++ zest/site/content/java/develop/library-http.html Mon Apr 18 01:15:33 2016 @@ -66,9 +66,9 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><span xmlns="" href="library-http.html">HTTP</span></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="HTTP"><div class="titlepage"><div><div><h3 >class="title"><a id="library-http"></a>HTTP</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p >class="devstatus-code-stable">code</p>< p class="devstatus-docs-good">docs</p><p class="devstatus-tests-good">tests</p><p>The HTTP library provides a Jetty based embedded HTTP service with support for easy event listeners, servlets and + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><span xmlns="" href="library-http.html">HTTP</span></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-restlet.html">Restlet Support</a></span></dt><dt><span >class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="HTTP"><div class="titlepage"><div><div><h3 >class="title"><a id="library-http"></a>HTTP</h3></div></div></div><p >class="rema rk"><em><span class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p class="devstatus-docs-good">docs</p><p class="devstatus-tests-good">tests</p><p>The HTTP library provides a Jetty based embedded HTTP service with support for easy event listeners, servlets and filters assembly as Services.</p><p>Itâs an easy way to embedd a servlet container and reuse everything that can be run in it (JAX-*, Restlet, Wicket, -Vaadin, GWT etc..). If instead you want to run a Zest⢠Application in a servlet container, see <a class="xref" href="library-servlet.html" title="Servlet">Servlet Library</a>.</p><div class="table"><a id="idp140567696728432"></a><p class="title"><strong>Table 33. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.http</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Create an EventListenerService"><div class="titlepage"><div><div><h4 class="title"><a id="_create_an_eventlistenerservice "></a>Create an EventListenerService</h4></div></div></div><p>EventListeners in HttpService are assembled as Services, so one have to declare a ServiceComposite like this:</p><pre class="programlisting brush: java">@Mixins( FooServletContextListener.class ) +Vaadin, GWT etc..). If instead you want to run a Zest⢠Application in a servlet container, see <a class="xref" href="library-servlet.html" title="Servlet">Servlet Library</a>.</p><div class="table"><a id="idp140308291133920"></a><p class="title"><strong>Table 33. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.http</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Create an EventListenerService"><div class="titlepage"><div><div><h4 class="title"><a id="_create_an_eventlistenerservice "></a>Create an EventListenerService</h4></div></div></div><p>EventListeners in HttpService are assembled as Services, so one have to declare a ServiceComposite like this:</p><pre class="programlisting brush: java">@Mixins( FooServletContextListener.class ) public interface FooServletContextListenerService extends ServletContextListener, ServiceComposite {
Modified: zest/site/content/java/develop/library-invocation-cache.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-invocation-cache.html?rev=1739675&r1=1739674&r2=1739675&view=diff ============================================================================== --- zest/site/content/java/develop/library-invocation-cache.html (original) +++ zest/site/content/java/develop/library-invocation-cache.html Mon Apr 18 01:15:33 2016 @@ -66,8 +66,8 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><span xmlns="" href="library-invocation-cache.html">Invocation Cache</span></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Invocation Cache"><div class="titlepage"><div><div><h3 >class="title"><a id="library-invocation-cache"></a>Invocation >Cache</h3></div></div></div><p class="remark"><em><span >class="comment"></span></em></p><p cla ss="devstatus-code-stable">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-none">tests</p><p>The Invocation Cache Library provides constructs to easily cache the return value of -method invocations on composites.</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>It has nothing to do with the <a class="xref" href="core-spi.html#core-spi-cache" title="Cache SPI">Cache SPI</a>.</p></div><div class="table"><a id="idp140567696775056"></a><p class="title"><strong>Table 34. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.invocation-cache</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><p>By applying one of the <a class="link" href="gl ossary.html#def-concern">Concerns</a> it is possible to cache the return values of method + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><span xmlns="" href="library-invocation-cache.html">Invocation Cache</span></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-restlet.html">Restlet Support</a></span></dt><dt><span >class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Invocation Cache"><div class="titlepage"><div><div><h3 >class="title"><a id="library-invocation-cache"></a>Invocation Cache< /h3></div></div></div><p class="remark"><em><span class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-none">tests</p><p>The Invocation Cache Library provides constructs to easily cache the return value of +method invocations on composites.</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>It has nothing to do with the <a class="xref" href="core-spi.html#core-spi-cache" title="Cache SPI">Cache SPI</a>.</p></div><div class="table"><a id="idp140308291177808"></a><p class="title"><strong>Table 34. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.invocation-cache</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><p>By applying one of the <a class="link" href="gl ossary.html#def-concern">Concerns</a> it is possible to cache the return values of method calls. The concern will in turn delegate to the <code class="literal">InvocationCache</code> that is expected to be a <a class="xref" href="glossary.html#def-private-mixin">Private Mixin</a> in the same composite.</p><div class="section" title="@Cached"><div class="titlepage"><div><div><h4 class="title"><a id="_literal_cached_literal"></a><code class="literal">@Cached</code></h4></div></div></div><p>This annotation is used to mark the methods that should be considered for caching. Only if a caching concern has been defined and that an <code class="literal">InvocationCache</code> implementation mixin has been provided Modified: zest/site/content/java/develop/library-jmx.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-jmx.html?rev=1739675&r1=1739674&r2=1739675&view=diff ============================================================================== --- zest/site/content/java/develop/library-jmx.html (original) +++ zest/site/content/java/develop/library-jmx.html Mon Apr 18 01:15:33 2016 @@ -66,9 +66,9 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><span xmlns="" href="library-jmx.html">JMX</span></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="JMX"><div class="titlepage"><div><div><h3 >class="title"><a id="library-jmx"></a>JMX</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p >class="devstatus-code-stable">code</p><p c lass="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The JMX library provides a service that exposes a Zest⢠app in + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><span xmlns="" href="library-jmx.html">JMX</span></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-restlet.html">Restlet Support</a></span></dt><dt><span >class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="JMX"><div class="titlepage"><div><div><h3 >class="title"><a id="library-jmx"></a>JMX</h3></div></div></div><p >class="remark" ><em><span class="comment"></span></em></p><p >class="devstatus-code-stable">code</p><p >class="devstatus-docs-brief">docs</p><p >class="devstatus-tests-some">tests</p><p>The JMX library provides a service >that exposes a Zest⢠app in JMX automatically, giving you an opportunity to inspect the app much as -you would with the <a class="xref" href="tools-envisage.html" title="Envisage">Envisage Tool</a> tool.</p><div class="table"><a id="idp140567696819936"></a><p class="title"><strong>Table 35. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.jmx</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Usage"><div class="titlepage"><div><div><h4 class="title"><a id="_usage_4"></a>Usage</h4></div></div></div><pre class="programlisting brush: java"> +you would with the <a class="xref" href="tools-envisage.html" title="Envisage">Envisage Tool</a> tool.</p><div class="table"><a id="idp140308291222128"></a><p class="title"><strong>Table 35. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.jmx</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Usage"><div class="titlepage"><div><div><h4 class="title"><a id="_usage_4"></a>Usage</h4></div></div></div><pre class="programlisting brush: java"> public void assemble( ModuleAssembly module ) throws AssemblyException { Modified: zest/site/content/java/develop/library-locking.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-locking.html?rev=1739675&r1=1739674&r2=1739675&view=diff ============================================================================== --- zest/site/content/java/develop/library-locking.html (original) +++ zest/site/content/java/develop/library-locking.html Mon Apr 18 01:15:33 2016 @@ -66,8 +66,8 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><span xmlns="" href="library-locking.html">Locking</span></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Locking"><div class="titlepage"><div><div><h3 >class="title"><a id="library-locking"></a>Locking</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p >class="devstatus-code-stable"> code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The Locking Library is a simple way to mark method with Read or Write locks, and the details is handled by this -library.</p><p>This library is heavily used in EntityStore implementations.</p><div class="table"><a id="idp140567696841280"></a><p class="title"><strong>Table 36. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.locking</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><p>The library creates a <code class="literal">java.util.concurrent.ReentrantReadWriteLock</code> which is shared for all methods within the + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><span xmlns="" href="library-locking.html">Locking</span></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-restlet.html">Restlet Support</a></span></dt><dt><span >class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Locking"><div class="titlepage"><div><div><h3 >class="title"><a id="library-locking"></a>Locking</h3></div></div></div><p cl ass="remark"><em><span class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The Locking Library is a simple way to mark method with Read or Write locks, and the details is handled by this +library.</p><p>This library is heavily used in EntityStore implementations.</p><div class="table"><a id="idp140308291243552"></a><p class="title"><strong>Table 36. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.locking</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><p>The library creates a <code class="literal">java.util.concurrent.ReentrantReadWriteLock</code> which is shared for all methods within the composite. It then acquires the read or write lock in a concern that is applied to the methods of the composite, which have the corresponding annotations.</p><div class="section" title="@ReadLock"><div class="titlepage"><div><div><h4 class="title"><a id="_literal_readlock_literal"></a><code class="literal">@ReadLock</code></h4></div></div></div><p>This annotation will apply the <code class="literal">ReadLockConcern</code> to the method, and acquire the <code class="literal">lock.readLock()</code> on entry and relase it on exit of the method. See the <code class="literal">ReentrantReadWriteLock</code> for details on how/when to use it and the exact semantics.</p></div><div class="section" title="@WriteLock"><div class="titlepage"><div><div><h4 class="title"><a id="_literal_writelock_literal"></a><code class="literal">@WriteLock</code></h4></div></div></div><p>This annotation will apply the <code class="literal">WriteLockConcern</code> to the method, and acquire the <code class="literal">lock.writeLock()</code> on entry and relase Modified: zest/site/content/java/develop/library-logging.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-logging.html?rev=1739675&r1=1739674&r2=1739675&view=diff ============================================================================== --- zest/site/content/java/develop/library-logging.html (original) +++ zest/site/content/java/develop/library-logging.html Mon Apr 18 01:15:33 2016 @@ -66,7 +66,7 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><span xmlns="" href="library-logging.html">Logging</span></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Logging"><div class="titlepage"><div><div><h3 >class="title"><a id="library-logging"></a>Logging</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p >class="devstatus-code-stable"> code</p><p class="devstatus-docs-good">docs</p><p class="devstatus-tests-good">tests</p><p>First of all, Zest⢠is taking a fresh look at all things that we take for granted. Logging is one such thing.</p><p>It should (but is not) obvious that Logging are used for three very distinct purposes, and in our opinion the concepts + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><span xmlns="" href="library-logging.html">Logging</span></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-restlet.html">Restlet Support</a></span></dt><dt><span >class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Logging"><div class="titlepage"><div><div><h3 >class="title"><a id="library-logging"></a>Logging</h3></div></div></div><p cl ass="remark"><em><span class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p class="devstatus-docs-good">docs</p><p class="devstatus-tests-good">tests</p><p>First of all, Zest⢠is taking a fresh look at all things that we take for granted. Logging is one such thing.</p><p>It should (but is not) obvious that Logging are used for three very distinct purposes, and in our opinion the concepts are not related and should not be abstracted in the same fashion, as has been the norm in Log4j, JDK logging, Commons Logging and most other similar packages and APIs.</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem"> <span class="strong"><strong>Tracing</strong></span> - Developers often need to trace where the application has been, recording the sequence of execution to see if @@ -83,7 +83,7 @@ not only different, but if not handled p to turning off whole or parts of the domain logging by mistake. We want to avoid this, and instead crystalize the needs for each scenario and audience.</p><p>Another drastic difference from previous frameworks is that we donât have an Appender notion. All messages are entities which are stored in a configured entity store. This means that especially the domain log can be more easily be given a -user interface suitable for the domain, without complex parsing of message strings</p><div class="table"><a id="idp140567696880896"></a><p class="title"><strong>Table 37. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.logging</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Logging"><div class="titlepage"><div><div><h4 class="title"><a id="_logging"></a>Logging</h4></div></div></div><p>Logging is still not finalized and will need a lot more thought before considered done.</p></div><div class="section" title="Debugging"><div class="titlepage"><div><div><h4 class="title"><a id="_debugging"></a>Debugging</h4></div></div></div><p>To produce debugging output in your code you just need to add the field</p><pre class="programlisting brush: java">@Optional @This Debug debug; +user interface suitable for the domain, without complex parsing of message strings</p><div class="table"><a id="idp140308291283312"></a><p class="title"><strong>Table 37. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.logging</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Logging"><div class="titlepage"><div><div><h4 class="title"><a id="_logging"></a>Logging</h4></div></div></div><p>Logging is still not finalized and will need a lot more thought before considered done.</p></div><div class="section" title="Debugging"><div class="titlepage"><div><div><h4 class="title"><a id="_debugging"></a>Debugging</h4></div></div></div><p>To produce debugging output in your code you just need to add the field</p><pre class="programlisting brush: java">@Optional @This Debug debug; </pre><p>and then check for null at each usage</p><pre class="programlisting brush: java">if( debug != null ) { debug.debug( Debug.NORMAL, "Debugging is made easier." ); Modified: zest/site/content/java/develop/library-metrics.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-metrics.html?rev=1739675&r1=1739674&r2=1739675&view=diff ============================================================================== --- zest/site/content/java/develop/library-metrics.html (original) +++ zest/site/content/java/develop/library-metrics.html Mon Apr 18 01:15:33 2016 @@ -66,9 +66,9 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><span xmlns="" href="library-metrics.html">Metrics Library</span></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Metrics Library"><div class="titlepage"><div><div><h3 >class="title"><a id="library-metrics"></a>Metrics >Library</h3></div></div></div><p>The Metrics library is available to >application code to get production met rics from their applications. It allows + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><span xmlns="" href="library-metrics.html">Metrics Library</span></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-restlet.html">Restlet Support</a></span></dt><dt><span >class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Metrics Library"><div class="titlepage"><div><div><h3 >class="title"><a id="library-metrics"></a>Metrics Library</h3></div>< /div></div><p>The Metrics library is available to application code to get production metrics from their applications. It allows applications to easily mark critical section for metrics gathering, without handling the details with the Metrics -Extension.</p><div class="table"><a id="idp140567696910720"></a><p class="title"><strong>Table 38. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.metrics</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Usage"><div class="titlepage"><div><div><h4 class="title"><a id="_usage_5"></a>Usage</h4></div></div></div><p>There are currently the following possibilities available;</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem"> +Extension.</p><div class="table"><a id="idp140308291313168"></a><p class="title"><strong>Table 38. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.metrics</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Usage"><div class="titlepage"><div><div><h4 class="title"><a id="_usage_5"></a>Usage</h4></div></div></div><p>There are currently the following possibilities available;</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem"> @TimingCapture - capture timing on a single method </li><li class="listitem"> TimingCaptureAll - capture timing on all methods of a composite Modified: zest/site/content/java/develop/library-osgi.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-osgi.html?rev=1739675&r1=1739674&r2=1739675&view=diff ============================================================================== --- zest/site/content/java/develop/library-osgi.html (original) +++ zest/site/content/java/develop/library-osgi.html Mon Apr 18 01:15:33 2016 @@ -66,8 +66,8 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><span xmlns="" href="library-osgi.html">OSGi</span></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="OSGi"><div class="titlepage"><div><div><h3 >class="title"><a id="library-osgi"></a>OSGi</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p >class="devstatus-code-stable">code</p>< p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>OSGi Library allows you to import OSGi services as Zest⢠Services and to export Zest⢠Services as OSGi Services both -leveraging the Zest⢠Availability and OSGi FallbackStrategy mechanisms.</p><div class="table"><a id="idp140567696943824"></a><p class="title"><strong>Table 39. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.osgi</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Export Zest⢠services to an OSGi Bundle"><div class="titlepage"><div><div><h4 class="title"><a id="_export_zest_services_to_an_osgi_bundle"></a>Export Zest⢠services to an OSGi Bundle</h4></div></div></div><pre clas s="programlisting brush: java">interface MyZestService + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span class="section"> <a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><span xmlns="" href="library-osgi.html">OSGi</span></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-restlet.html">Restlet Support</a></span></dt><dt><span >class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="OSGi"><div class="titlepage"><div><div><h3 >class="title"><a id="library-osgi"></a>OSGi</h3></div></div></div><p >class="rema rk"><em><span class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>OSGi Library allows you to import OSGi services as Zest⢠Services and to export Zest⢠Services as OSGi Services both +leveraging the Zest⢠Availability and OSGi FallbackStrategy mechanisms.</p><div class="table"><a id="idp140308291346304"></a><p class="title"><strong>Table 39. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.osgi</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Export Zest⢠services to an OSGi Bundle"><div class="titlepage"><div><div><h4 class="title"><a id="_export_zest_services_to_an_osgi_bundle"></a>Export Zest⢠services to an OSGi Bundle</h4></div></div></div><pre clas s="programlisting brush: java">interface MyZestService extends OSGiEnabledService { // ...
