You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2015/09/21 17:16:12 UTC
svn commit: r1704315 [1/17] - in /zest/site: content/ content/java/2.1/
content/java/2.1/js/ content/java/latest/ content/java/latest/js/ src/
Author: paulmerlin
Date: Mon Sep 21 15:15:15 2015
New Revision: 1704315
URL: http://svn.apache.org/viewvc?rev=1704315&view=rev
Log:
zest: update 2.1 documentation, remove empty tutorial page
Modified:
zest/site/content/index.html
zest/site/content/java/2.1/build-system.html
zest/site/content/java/2.1/community-docs.html
zest/site/content/java/2.1/core-api.html
zest/site/content/java/2.1/core-bootstrap-assembly.html
zest/site/content/java/2.1/core-functional.html
zest/site/content/java/2.1/core-io.html
zest/site/content/java/2.1/core-runtime.html
zest/site/content/java/2.1/core-spi.html
zest/site/content/java/2.1/core-testsupport.html
zest/site/content/java/2.1/core.html
zest/site/content/java/2.1/extension-cache-ehcache.html
zest/site/content/java/2.1/extension-cache-memcache.html
zest/site/content/java/2.1/extension-es-file.html
zest/site/content/java/2.1/extension-es-hazelcast.html
zest/site/content/java/2.1/extension-es-jclouds.html
zest/site/content/java/2.1/extension-es-jdbm.html
zest/site/content/java/2.1/extension-es-leveldb.html
zest/site/content/java/2.1/extension-es-memory.html
zest/site/content/java/2.1/extension-es-mongodb.html
zest/site/content/java/2.1/extension-es-preferences.html
zest/site/content/java/2.1/extension-es-redis.html
zest/site/content/java/2.1/extension-es-riak.html
zest/site/content/java/2.1/extension-es-sql.html
zest/site/content/java/2.1/extension-index-elasticsearch.html
zest/site/content/java/2.1/extension-index-rdf.html
zest/site/content/java/2.1/extension-index-solr.html
zest/site/content/java/2.1/extension-indexing-sql.html
zest/site/content/java/2.1/extension-metrics-yammer.html
zest/site/content/java/2.1/extension-migration.html
zest/site/content/java/2.1/extension-reindexer.html
zest/site/content/java/2.1/extension-vs-jackson.html
zest/site/content/java/2.1/extension-vs-orgjson.html
zest/site/content/java/2.1/extension-vs-stax.html
zest/site/content/java/2.1/howto-assemble-application.html
zest/site/content/java/2.1/howto-configure-service.html
zest/site/content/java/2.1/howto-contextual-fragments.html
zest/site/content/java/2.1/howto-create-concern.html
zest/site/content/java/2.1/howto-create-constraint.html
zest/site/content/java/2.1/howto-create-entity.html
zest/site/content/java/2.1/howto-create-sideeffect.html
zest/site/content/java/2.1/howto-depend-on-zest.html
zest/site/content/java/2.1/howto-invocation-annotation.html
zest/site/content/java/2.1/howto-leverage-properties.html
zest/site/content/java/2.1/howto-use-io.html
zest/site/content/java/2.1/js/progressive-enhancement.js
zest/site/content/java/2.1/lang-groovy.html
zest/site/content/java/2.1/lang-javascript.html
zest/site/content/java/2.1/lang-scala.html
zest/site/content/java/2.1/library-alarm.html
zest/site/content/java/2.1/library-circuitbreaker.html
zest/site/content/java/2.1/library-constraints.html
zest/site/content/java/2.1/library-conversion.html
zest/site/content/java/2.1/library-eventsourcing.html
zest/site/content/java/2.1/library-fileconfig.html
zest/site/content/java/2.1/library-http.html
zest/site/content/java/2.1/library-invocation-cache.html
zest/site/content/java/2.1/library-jmx.html
zest/site/content/java/2.1/library-locking.html
zest/site/content/java/2.1/library-logging.html
zest/site/content/java/2.1/library-metrics.html
zest/site/content/java/2.1/library-osgi.html
zest/site/content/java/2.1/library-rdf.html
zest/site/content/java/2.1/library-rest-client.html
zest/site/content/java/2.1/library-rest-common.html
zest/site/content/java/2.1/library-rest-server.html
zest/site/content/java/2.1/library-scheduler.html
zest/site/content/java/2.1/library-servlet.html
zest/site/content/java/2.1/library-shiro-web.html
zest/site/content/java/2.1/library-shiro.html
zest/site/content/java/2.1/library-spring.html
zest/site/content/java/2.1/library-sql.html
zest/site/content/java/2.1/library-uid.html
zest/site/content/java/2.1/library-uowfile.html
zest/site/content/java/2.1/releasing-apache.html
zest/site/content/java/2.1/ten-minutes-intro.html
zest/site/content/java/2.1/thirty-minutes-intro.html
zest/site/content/java/2.1/tools-envisage.html
zest/site/content/java/2.1/tut-composites.html
zest/site/content/java/2.1/tut-services.html
zest/site/content/java/2.1/tutorials.html
zest/site/content/java/2.1/two-minutes-intro.html
zest/site/content/java/latest/build-system.html
zest/site/content/java/latest/community-docs.html
zest/site/content/java/latest/core-api.html
zest/site/content/java/latest/core-bootstrap-assembly.html
zest/site/content/java/latest/core-functional.html
zest/site/content/java/latest/core-io.html
zest/site/content/java/latest/core-runtime.html
zest/site/content/java/latest/core-spi.html
zest/site/content/java/latest/core-testsupport.html
zest/site/content/java/latest/core.html
zest/site/content/java/latest/extension-cache-ehcache.html
zest/site/content/java/latest/extension-cache-memcache.html
zest/site/content/java/latest/extension-es-file.html
zest/site/content/java/latest/extension-es-hazelcast.html
zest/site/content/java/latest/extension-es-jclouds.html
zest/site/content/java/latest/extension-es-jdbm.html
zest/site/content/java/latest/extension-es-leveldb.html
zest/site/content/java/latest/extension-es-memory.html
zest/site/content/java/latest/extension-es-mongodb.html
zest/site/content/java/latest/extension-es-preferences.html
zest/site/content/java/latest/extension-es-redis.html
zest/site/content/java/latest/extension-es-riak.html
zest/site/content/java/latest/extension-es-sql.html
zest/site/content/java/latest/extension-index-elasticsearch.html
zest/site/content/java/latest/extension-index-rdf.html
zest/site/content/java/latest/extension-index-solr.html
zest/site/content/java/latest/extension-indexing-sql.html
zest/site/content/java/latest/extension-metrics-yammer.html
zest/site/content/java/latest/extension-migration.html
zest/site/content/java/latest/extension-reindexer.html
zest/site/content/java/latest/extension-vs-jackson.html
zest/site/content/java/latest/extension-vs-orgjson.html
zest/site/content/java/latest/extension-vs-stax.html
zest/site/content/java/latest/howto-assemble-application.html
zest/site/content/java/latest/howto-configure-service.html
zest/site/content/java/latest/howto-contextual-fragments.html
zest/site/content/java/latest/howto-create-concern.html
zest/site/content/java/latest/howto-create-constraint.html
zest/site/content/java/latest/howto-create-entity.html
zest/site/content/java/latest/howto-create-sideeffect.html
zest/site/content/java/latest/howto-depend-on-zest.html
zest/site/content/java/latest/howto-invocation-annotation.html
zest/site/content/java/latest/howto-leverage-properties.html
zest/site/content/java/latest/howto-use-io.html
zest/site/content/java/latest/js/progressive-enhancement.js
zest/site/content/java/latest/lang-groovy.html
zest/site/content/java/latest/lang-javascript.html
zest/site/content/java/latest/lang-scala.html
zest/site/content/java/latest/library-alarm.html
zest/site/content/java/latest/library-circuitbreaker.html
zest/site/content/java/latest/library-constraints.html
zest/site/content/java/latest/library-conversion.html
zest/site/content/java/latest/library-eventsourcing.html
zest/site/content/java/latest/library-fileconfig.html
zest/site/content/java/latest/library-http.html
zest/site/content/java/latest/library-invocation-cache.html
zest/site/content/java/latest/library-jmx.html
zest/site/content/java/latest/library-locking.html
zest/site/content/java/latest/library-logging.html
zest/site/content/java/latest/library-metrics.html
zest/site/content/java/latest/library-osgi.html
zest/site/content/java/latest/library-rdf.html
zest/site/content/java/latest/library-rest-client.html
zest/site/content/java/latest/library-rest-common.html
zest/site/content/java/latest/library-rest-server.html
zest/site/content/java/latest/library-scheduler.html
zest/site/content/java/latest/library-servlet.html
zest/site/content/java/latest/library-shiro-web.html
zest/site/content/java/latest/library-shiro.html
zest/site/content/java/latest/library-spring.html
zest/site/content/java/latest/library-sql.html
zest/site/content/java/latest/library-uid.html
zest/site/content/java/latest/library-uowfile.html
zest/site/content/java/latest/releasing-apache.html
zest/site/content/java/latest/ten-minutes-intro.html
zest/site/content/java/latest/thirty-minutes-intro.html
zest/site/content/java/latest/tools-envisage.html
zest/site/content/java/latest/tut-composites.html
zest/site/content/java/latest/tut-services.html
zest/site/content/java/latest/tutorials.html
zest/site/content/java/latest/two-minutes-intro.html
zest/site/src/index.html
Modified: zest/site/content/index.html
URL: http://svn.apache.org/viewvc/zest/site/content/index.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/index.html (original)
+++ zest/site/content/index.html Mon Sep 21 15:15:15 2015
@@ -149,7 +149,7 @@ Composite Oriented Programming allows de
<div class="row-fluid">
<div class="span6">
<h3><i class="icon-time"></i> Get started</h3>
- <p>Get a grasp on Apache Zest⢠(Java Edition) in 2:42 and then, get real through the first steps needed to get a complete application up and running. From there, work through the fundamentals of Apache Zest⢠(Java Edition) development with in-depth tutorials.</p>
+ <p>Get a grasp on Apache Zest⢠(Java Edition) in 42 minutes and then, get real through the first steps needed to get a complete application up and running. From there, work through the fundamentals of Apache Zest⢠(Java Edition) development with in-depth tutorials.</p>
<p><a href="java/latest/tutorials.html"><i class="icon-time"></i> View details »</a></p>
</div><!--/span-->
<div class="span6">
Modified: zest/site/content/java/2.1/build-system.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/build-system.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/build-system.html (original)
+++ zest/site/content/java/2.1/build-system.html Mon Sep 21 15:15:15 2015
@@ -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"><span xmlns="" href="tutorials.html">Tutorials</span></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"><a href="libraries.html">Libraries</a></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="tutorials.html#_overview">Overview</a></span></dt><dt><span class="section"><a href="two-minutes-intro.html">Zest⢠in 2 minutes</a></span></dt><dt><span class="section"><a href="ten-minutes-intro.html">Zest⢠in 10 minutes</a></span></dt><dt><span class="section"><a href="thirty-minutes-intro.html">Zest⢠in 30 minutes</a></span></dt><dt><span class="section"><a href="two-hours-intro.html">Zest⢠in 2 hours</a></span></dt><dt><span class="section"><a href="howto-depend-on-zest.html">Depend on Zest⢠in your build</a></span></dt><dt><span class="section"><a href="howto-assemble-application.html">Assemble an Application</a></span></dt><dt><span class="section"><a href="tut-composites.html">Transient Composites Tutorial</a></span></dt><dt><span class="section">
<a href="tut-services.html">Services Composites Tutorial</a></span></dt><dt><span class="section"><a href="howto-contextual-fragments.html">Use contextual fragments</a></span></dt><dt><span class="section"><a href="howto-leverage-properties.html">Leverage Properties</a></span></dt><dt><span class="section"><a href="howto-create-constraint.html">Create a Constraint</a></span></dt><dt><span class="section"><a href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span class="section"><a href="howto-create-sideeffect.html">Create a SideEffect</a></span></dt><dt><span class="section"><a href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span class="section"><a href="howto-configure-service.html">Configure a Service</a></span></dt><dt><span class="section"><a href="howto-invocation-annotation.html">Use @Invocation</a></span></dt><dt><span class="section"><a href="howto-use-io.html">Use I/O API</a></span></dt><dt><span class="section"><span xmlns="" href="
build-system.html">Zest⢠Build System</span></span></dt><dt><span class="section"><a href="community-docs.html">Writing Zest⢠Documentation</a></span></dt><dt><span class="section"><a href="releasing-apache.html">Releasing Zestâ¢</a></span></dt></dl></div></div><div class="section" title="Zest⢠Build System"><div class="titlepage"><div><div><h3 class="title"><a id="build-system"></a>Zest⢠Build System</h3></div></div></div><p>This tutorial is intended for developpers who want to build the Zest⢠SDK themselves.
+ </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"><span xmlns="" href="tutorials.html">Tutorials</span></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"><a href="libraries.html">Libraries</a></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="tutorials.html#_overview">Overview</a></span></dt><dt><span class="section"><a href="two-minutes-intro.html">Zest⢠in 2 minutes</a></span></dt><dt><span class="section"><a href="ten-minutes-intro.html">Zest⢠in 10 minutes</a></span></dt><dt><span class="section"><a href="thirty-minutes-intro.html">Zest⢠in 30 minutes</a></span></dt><dt><span class="section"><a href="howto-depend-on-zest.html">Depend on Zest⢠in your build</a></span></dt><dt><span class="section"><a href="howto-assemble-application.html">Assemble an Application</a></span></dt><dt><span class="section"><a href="tut-composites.html">Transient Composites Tutorial</a></span></dt><dt><span class="section"><a href="tut-services.html">Services Composites Tutorial</a></span></dt><dt><span class="secti
on"><a href="howto-contextual-fragments.html">Use contextual fragments</a></span></dt><dt><span class="section"><a href="howto-leverage-properties.html">Leverage Properties</a></span></dt><dt><span class="section"><a href="howto-create-constraint.html">Create a Constraint</a></span></dt><dt><span class="section"><a href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span class="section"><a href="howto-create-sideeffect.html">Create a SideEffect</a></span></dt><dt><span class="section"><a href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span class="section"><a href="howto-configure-service.html">Configure a Service</a></span></dt><dt><span class="section"><a href="howto-invocation-annotation.html">Use @Invocation</a></span></dt><dt><span class="section"><a href="howto-use-io.html">Use I/O API</a></span></dt><dt><span class="section"><span xmlns="" href="build-system.html">Zest⢠Build System</span></span></dt><dt><span class="section"><a href
="community-docs.html">Writing Zest⢠Documentation</a></span></dt><dt><span class="section"><a href="releasing-apache.html">Releasing Zestâ¢</a></span></dt></dl></div></div><div class="section" title="Zest⢠Build System"><div class="titlepage"><div><div><h3 class="title"><a id="build-system"></a>Zest⢠Build System</h3></div></div></div><p>This tutorial is intended for developpers who want to build the Zest⢠SDK themselves.
It describe the Zest⢠SDK Build System from compilation to publication of artifacts for consumption by other
applications.</p><p>If instead you want to setup your project build system to depend on modules of the Zest⢠SDK see the
<a class="link" href="howto-depend-on-zest.html" title="Depend on Zest⢠in your build">dedicated tutorial</a>.</p><div class="section" title="Gradle"><div class="titlepage"><div><div><h4 class="title"><a id="_gradle"></a>Gradle</h4></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>All major Java IDEs have great Gradle support.
Modified: zest/site/content/java/2.1/community-docs.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/community-docs.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/community-docs.html (original)
+++ zest/site/content/java/2.1/community-docs.html Mon Sep 21 15:15:15 2015
@@ -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"><span xmlns="" href="tutorials.html">Tutorials</span></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"><a href="libraries.html">Libraries</a></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="tutorials.html#_overview">Overview</a></span></dt><dt><span class="section"><a href="two-minutes-intro.html">Zest⢠in 2 minutes</a></span></dt><dt><span class="section"><a href="ten-minutes-intro.html">Zest⢠in 10 minutes</a></span></dt><dt><span class="section"><a href="thirty-minutes-intro.html">Zest⢠in 30 minutes</a></span></dt><dt><span class="section"><a href="two-hours-intro.html">Zest⢠in 2 hours</a></span></dt><dt><span class="section"><a href="howto-depend-on-zest.html">Depend on Zest⢠in your build</a></span></dt><dt><span class="section"><a href="howto-assemble-application.html">Assemble an Application</a></span></dt><dt><span class="section"><a href="tut-composites.html">Transient Composites Tutorial</a></span></dt><dt><span class="section">
<a href="tut-services.html">Services Composites Tutorial</a></span></dt><dt><span class="section"><a href="howto-contextual-fragments.html">Use contextual fragments</a></span></dt><dt><span class="section"><a href="howto-leverage-properties.html">Leverage Properties</a></span></dt><dt><span class="section"><a href="howto-create-constraint.html">Create a Constraint</a></span></dt><dt><span class="section"><a href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span class="section"><a href="howto-create-sideeffect.html">Create a SideEffect</a></span></dt><dt><span class="section"><a href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span class="section"><a href="howto-configure-service.html">Configure a Service</a></span></dt><dt><span class="section"><a href="howto-invocation-annotation.html">Use @Invocation</a></span></dt><dt><span class="section"><a href="howto-use-io.html">Use I/O API</a></span></dt><dt><span class="section"><a href="build-system
.html">Zest⢠Build System</a></span></dt><dt><span class="section"><span xmlns="" href="community-docs.html">Writing Zest⢠Documentation</span></span></dt><dt><span class="section"><a href="releasing-apache.html">Releasing Zestâ¢</a></span></dt></dl></div></div><div class="section" title="Writing Zest⢠Documentation"><div class="titlepage"><div><div><h3 class="title"><a id="community-docs"></a>Writing Zest⢠Documentation</h3></div></div></div><p>The documents use the asciidoc format, see:</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem">
+ </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"><span xmlns="" href="tutorials.html">Tutorials</span></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"><a href="libraries.html">Libraries</a></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="tutorials.html#_overview">Overview</a></span></dt><dt><span class="section"><a href="two-minutes-intro.html">Zest⢠in 2 minutes</a></span></dt><dt><span class="section"><a href="ten-minutes-intro.html">Zest⢠in 10 minutes</a></span></dt><dt><span class="section"><a href="thirty-minutes-intro.html">Zest⢠in 30 minutes</a></span></dt><dt><span class="section"><a href="howto-depend-on-zest.html">Depend on Zest⢠in your build</a></span></dt><dt><span class="section"><a href="howto-assemble-application.html">Assemble an Application</a></span></dt><dt><span class="section"><a href="tut-composites.html">Transient Composites Tutorial</a></span></dt><dt><span class="section"><a href="tut-services.html">Services Composites Tutorial</a></span></dt><dt><span class="secti
on"><a href="howto-contextual-fragments.html">Use contextual fragments</a></span></dt><dt><span class="section"><a href="howto-leverage-properties.html">Leverage Properties</a></span></dt><dt><span class="section"><a href="howto-create-constraint.html">Create a Constraint</a></span></dt><dt><span class="section"><a href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span class="section"><a href="howto-create-sideeffect.html">Create a SideEffect</a></span></dt><dt><span class="section"><a href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span class="section"><a href="howto-configure-service.html">Configure a Service</a></span></dt><dt><span class="section"><a href="howto-invocation-annotation.html">Use @Invocation</a></span></dt><dt><span class="section"><a href="howto-use-io.html">Use I/O API</a></span></dt><dt><span class="section"><a href="build-system.html">Zest⢠Build System</a></span></dt><dt><span class="section"><span xmlns="" href="c
ommunity-docs.html">Writing Zest⢠Documentation</span></span></dt><dt><span class="section"><a href="releasing-apache.html">Releasing Zestâ¢</a></span></dt></dl></div></div><div class="section" title="Writing Zest⢠Documentation"><div class="titlepage"><div><div><h3 class="title"><a id="community-docs"></a>Writing Zest⢠Documentation</h3></div></div></div><p>The documents use the asciidoc format, see:</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem">
<a class="ulink" href="http://www.methods.co.nz/asciidoc/" target="_top">Aciidoc Reference</a>
</li><li class="listitem">
<a class="ulink" href="http://powerman.name/doc/asciidoc" target="_top">AsciiDoc cheatsheet</a>
Modified: zest/site/content/java/2.1/core-api.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/core-api.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/core-api.html (original)
+++ zest/site/content/java/2.1/core-api.html Mon Sep 21 15:15:15 2015
@@ -67,7 +67,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"><span xmlns="" href="core.html">Core</span></span></dt><dt><span class="section"><a href="libraries.html">Libraries</a></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="core.html#_overview_3">Overview</a></span></dt><dt><span class="section"><span xmlns="" href="core-api.html">Core API</span></span></dt><dt><span class="section"><a href="core-bootstrap-assembly.html">Core Bootstrap</a></span></dt><dt><span class="section"><a href="core-testsupport.html">Core Test Support</a></span></dt><dt><span class="section"><a href="core-functional.html">Core Functional API</a></span></dt><dt><span class="section"><a href="core-io.html">Core I/O API</a></span></dt><dt><span class="section"><a href="core-spi.html">Core Extension SPI</a></span></dt><dt><span class="section"><a href="core-runtime.html">Core Runtime</a></span></dt></dl></div></div><div class="section" title="Core API"><div class="titlepage"><div><div><h3 class="title"><a id="core-api"></a>Core
API</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 Zest⢠Core API is the primary interface for client application code during the main execution phase, i.e. after the
-application has been activated.</p><div class="table"><a id="idm152217155248"></a><p class="title"><strong>Table 15. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.api</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Composition"><div class="titlepage"><div><div><h4 class="title"><a id="core-api-composition"></a>Composition</h4></div></div></div><p>Composition is at the heart of COP, and refers to two different levels of constructs;</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="
listitem">
+application has been activated.</p><div class="table"><a id="idm371059221680"></a><p class="title"><strong>Table 15. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.api</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Composition"><div class="titlepage"><div><div><h4 class="title"><a id="core-api-composition"></a>Composition</h4></div></div></div><p>Composition is at the heart of COP, and refers to two different levels of constructs;</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="
listitem">
the ability to assemble (compose) objects from smaller pieces, called Fragments.
</li><li class="listitem">
the construction of applications by assembling Composites into Modules and Modules into Layers.
@@ -103,7 +103,7 @@ We can therefor get rid of a lot of addi
public interface BankAccount
{
Money checkBalance();
- [...snip...]
+ [...snip...]
}
</pre><p>and declare it with;</p><pre class="programlisting brush: java">public void assemble( ModuleAssembly module )
@@ -209,17 +209,17 @@ public void assemble( ModuleAssembly mod
throws AssemblyException
{
module.values( SomeValue.class ); // (2)
- [...snip...]
+ [...snip...]
}
-[...snip...]
+ [...snip...]
public void defaultValueSerialization()
{
SomeValue someValue = someNewValueInstance( module ); // (3)
String json = someValue.toString(); // (4)
SomeValue someNewValue = module.newValueFromSerializedState( SomeValue.class, json ); // (5)
- [...snip...]
+ [...snip...]
}
</pre><p>Reading this first example step by step we ;</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
@@ -249,21 +249,21 @@ public void assemble( ModuleAssembly mod
module.values( SomeValue.class ); // (2)
new OrgJsonValueSerializationAssembler().assemble( module ); // (3)
}
-[...snip...]
+ [...snip...]
@Service
private ValueSerializer valueSerializer; // (4)
@Service
private ValueDeserializer valueDeserializer; // (4)
-[...snip...]
+ [...snip...]
public void assembledDefaultServiceSerialization()
{
SomeValue someValue = someNewValueInstance( module ); // (5)
String json = valueSerializer.serialize( someValue ); // (6)
SomeValue someNewValue = valueDeserializer.deserialize( SomeValue.class, json ); // (7)
- [...snip...]
+ [...snip...]
}
</pre><p>In this second example, we ;</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
@@ -282,7 +282,7 @@ use the <code class="literal">ValueSeria
and finally, use the <code class="literal">ValueDeserializer#eserialize()</code> method to create a new Value instance from the JSON state.
</li></ol></div><p>Many applications need to stream data. The ValueSerialization API support such use cases in two ways.</p><p>The first one use classic streams.</p><pre class="programlisting brush: java">public void assembledServiceStreamingSerialization()
{
-[...snip...]
+ [...snip...]
// (1)
Iterable<AcmeValue> data = dataSource; // Eg. Entities converted to Values
@@ -290,14 +290,14 @@ and finally, use the <code class="litera
// (2)
valueSerializer.serialize( data, output );
- [...snip...]
+ [...snip...]
// (3)
InputStream input = sourceStream; // Eg. reading incoming JSON
// (4)
List<AcmeValue> values = valueDeserializer.deserialize( CollectionType.listOf( AcmeValue.class ), input );
- [...snip...]
+ [...snip...]
}
</pre><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
@@ -311,7 +311,7 @@ deserialize data from the <code class="l
</li></ol></div><p>The second one use the <a class="xref" href="core-io.html" title="Core I/O API">I/O API</a>:</p><pre class="programlisting brush: java">public void assembledServiceIOSerialization()
throws IOException
{
-[...snip...]
+ [...snip...]
// (1)
Iterable<AcmeValue> queryResult = dataSource; // Eg. Entities converted to Values
@@ -322,7 +322,7 @@ deserialize data from the <code class="l
// (3)
Inputs.iterable( queryResult ).transferTo( Transforms.map( serialize, Outputs.text( writer ) ) );
- [...snip...]
+ [...snip...]
// (4)
Reader reader = inputReader;
@@ -335,7 +335,7 @@ deserialize data from the <code class="l
// One serialized AcmeValue per line.
// (6)
Inputs.text( reader ).transferTo( Transforms.map( deserialize, Outputs.collection( values ) ) );
- [...snip...]
+ [...snip...]
}
</pre><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
@@ -441,7 +441,7 @@ public void assemble( ModuleAssembly mod
throws AssemblyException
{
ServiceDeclaration service = module.addServices( MyDemoService.class );
- [...snip...]
+ [...snip...]
service.taggedWith( "Important", "Drain" );
</pre><p>Tags are useful inside the application code to locate a particular service instance, in case we have many. For instance;</p><pre class="programlisting brush: java">@Service
@@ -487,12 +487,12 @@ public void sendMail( @Email String to,
MailServiceConfiguration conf = config.get();
String hostName = conf.hostName().get();
int port = conf.port().get();
- [...snip...]
+ [...snip...]
}
</pre></div><div class="section" title="Modifying Configuration"><div class="titlepage"><div><div><h5 class="title"><a id="_modifying_configuration"></a>Modifying Configuration</h5></div></div></div><p>Configuration is modifiable, and after the modifications have been made, the save() method on the Configuration type
must be called. Example;</p><pre class="programlisting brush: java"> void changeExternalMailService( String hostName, int port );
- [...snip...]
+ [...snip...]
@Override
public void changeExternalMailService( String hostName, int port )
@@ -502,7 +502,7 @@ must be called. Example;</p><pre class="
conf.port().set( port );
config.save();
}
- [...snip...]
+ [...snip...]
}
}
@@ -773,7 +773,7 @@ public class CacheConcern extends Generi
public class BusinessConcern extends GenericConcern
implements InvocationHandler
{
-[...snip...]
+ [...snip...]
public class BusinessAppliesToFilter
implements AppliesToFilter
@@ -790,7 +790,7 @@ public class BusinessAppliesToFilter
public class AuditConcern extends GenericConcern
implements InvocationHandler
{
-[...snip...]
+ [...snip...]
@Override
public Object invoke( Object proxy, Method method, Object[] args )
@@ -800,7 +800,7 @@ public class AuditConcern extends Generi
}
}
-[...snip...]
+ [...snip...]
@Retention( RetentionPolicy.RUNTIME )
@Target( { ElementType.METHOD } )
@@ -833,7 +833,7 @@ the same model instance, so any changes
{
String getBar();
void setBar(String value);
- [...snip...]
+ [...snip...]
}
</pre><p>and its implementation is not really relevant for this discussion.</p><p>Each of the views looks like this;</p><pre class="programlisting brush: java">@Mixins(View1.Mixin.class)
@@ -915,7 +915,7 @@ handling.</p><p>A Gauge can represent an
useful to have separate gauges for percentage (%) and absolute numbers of the same resource. Operations are mainly
interested in being alerted when threshold are reach as a percentage, as it is otherwise too many numbers to keep
track of.</p><p>To create a Gauge, you do something like;</p><pre class="programlisting brush: java">final BlockingQueue queue = new LinkedBlockingQueue( 20 );
-[...snip...]
+ [...snip...]
MetricsGaugeFactory gaugeFactory = provider.createFactory( MetricsGaugeFactory.class );
MetricsGauge<Integer> gauge = gaugeFactory.registerGauge( getClass(), "Sample Gauge", new MetricsGauge<Integer>()
Modified: zest/site/content/java/2.1/core-bootstrap-assembly.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/core-bootstrap-assembly.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/core-bootstrap-assembly.html (original)
+++ zest/site/content/java/2.1/core-bootstrap-assembly.html Mon Sep 21 15:15:15 2015
@@ -87,7 +87,7 @@ Set <span class="emphasis"><em>meta info
Import external services to be available as Zest⢠services.
</li><li class="listitem">
Tag services with markers
-</li></ul></div><div class="table"><a id="idm152216730992"></a><p class="title"><strong>Table 16. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.bootstrap</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Defining Objects"><div class="titlepage"><div><div><h4 class="title"><a id="_defining_objects"></a>Defining Objects</h4></div></div></div><pre class="programlisting brush: java">@Override
+</li></ul></div><div class="table"><a id="idm371058808416"></a><p class="title"><strong>Table 16. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.bootstrap</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Defining Objects"><div class="titlepage"><div><div><h4 class="title"><a id="_defining_objects"></a>Defining Objects</h4></div></div></div><pre class="programlisting brush: java">@Override
public void assemble( ModuleAssembly module )
throws AssemblyException
{
Modified: zest/site/content/java/2.1/core-functional.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/core-functional.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/core-functional.html (original)
+++ zest/site/content/java/2.1/core-functional.html Mon Sep 21 15:15:15 2015
@@ -67,9 +67,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"><span xmlns="" href="core.html">Core</span></span></dt><dt><span class="section"><a href="libraries.html">Libraries</a></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="core.html#_overview_3">Overview</a></span></dt><dt><span class="section"><a href="core-api.html">Core API</a></span></dt><dt><span class="section"><a href="core-bootstrap-assembly.html">Core Bootstrap</a></span></dt><dt><span class="section"><a href="core-testsupport.html">Core Test Support</a></span></dt><dt><span class="section"><span xmlns="" href="core-functional.html">Core Functional API</span></span></dt><dt><span class="section"><a href="core-io.html">Core I/O API</a></span></dt><dt><span class="section"><a href="core-spi.html">Core Extension SPI</a></span></dt><dt><span class="section"><a href="core-runtime.html">Core Runtime</a></span></dt></dl></div></div><div class="section" title="Core Functional API"><div class="titlepage"><div><div><h3 class="title"><a id="core-fun
ctional"></a>Core Functional API</h3></div></div></div><p class="remark"><em><span class="comment"></span></em></p><p class="devstatus-code-beta">code</p><p class="devstatus-docs-good">docs</p><p class="devstatus-tests-good">tests</p><p>The Zest⢠Core Functional API is a generic package to work with Iterables in a "functional programming language" style.</p><p>This package is completely independent of everything else in Zest⢠and may be used on its own in any kind of environment
-such as Spring or Java EE applications.</p><div class="table"><a id="idm152216605744"></a><p class="title"><strong>Table 18. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.functional</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="First Example"><div class="titlepage"><div><div><h4 class="title"><a id="_first_example"></a>First Example</h4></div></div></div><p>Letâs say that you have an Iterable of Integers and you want to sum them all up. Most people would create a loop and
+such as Spring or Java EE applications.</p><div class="table"><a id="idm371092057360"></a><p class="title"><strong>Table 18. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.functional</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="First Example"><div class="titlepage"><div><div><h4 class="title"><a id="_first_example"></a>First Example</h4></div></div></div><p>Letâs say that you have an Iterable of Integers and you want to sum them all up. Most people would create a loop and
sum it all up in something like this;</p><pre class="programlisting brush: java">Iterable<Long> data = new ArrayList<Long>();
-[...snip...]
+ [...snip...]
long sum = 0;
@@ -80,7 +80,7 @@ for( Long point : data )
System.out.println( "The sum is " + sum );
</pre><p>With the Zest⢠Core Functional API, you go about it in a different way. The code ends up looking like this;</p><pre class="programlisting brush: java">import static org.qi4j.functional.ForEach.forEach;
import static org.qi4j.functional.Functions.longSum;
-[...snip...]
+ [...snip...]
Iterable<Number> data = new ArrayList<Number>();
Long sum = forEach( data ).map( longSum() ).last();
Modified: zest/site/content/java/2.1/core-io.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/core-io.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/core-io.html (original)
+++ zest/site/content/java/2.1/core-io.html Mon Sep 21 15:15:15 2015
@@ -70,7 +70,7 @@
independently of Zest, together with the Zest⢠Core Functional API, which the Core I/O API depends on.</p><p>The Zest⢠Core I/O API tries to address the problem around shuffling data around from various I/O inputs and outputs,
possibly with transformations and filtering along the way. It was identified that there is a general mix-up of concerns
in the stereotypical I/O handling codebases that people deal with all the time. The reasoning around this, can be found
-in the <a class="xref" href="howto-use-io.html" title="Use I/O API">Use I/O API</a>, and is recommended reading.</p><div class="table"><a id="idm152216567392"></a><p class="title"><strong>Table 19. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.io</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="The Problem"><div class="titlepage"><div><div><h4 class="title"><a id="_the_problem"></a>The Problem</h4></div></div></div><p>Why does I/O operations in Java have to be so complicated, with nested try/catch/final
ly and loops? Donât you wish
+in the <a class="xref" href="howto-use-io.html" title="Use I/O API">Use I/O API</a>, and is recommended reading.</p><div class="table"><a id="idm371116472912"></a><p class="title"><strong>Table 19. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.io</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="The Problem"><div class="titlepage"><div><div><h4 class="title"><a id="_the_problem"></a>The Problem</h4></div></div></div><p>Why does I/O operations in Java have to be so complicated, with nested try/catch/final
ly and loops? Donât you wish
that the operations could be expressed in a more natural way, such as;</p><pre class="programlisting brush: java">File source = ...
File destination = ...
source.copyTo( destination );</pre><p>It seems natural to do, yet it is not present for us. We need to involve FileInputStream/FileOutputStream, wrap them
@@ -83,7 +83,7 @@ Inputs.text( source ).transferTo( Output
</pre><p>Pretty much self-explanatory, wouldnât you say? But what happened to the handling of exceptions and closing of
resources? It is all handled inside the Zest⢠Core I/O API. There is nothing you can forget to do.</p><p>Another simple example, where we want to count the number of lines in the text;</p><pre class="programlisting brush: java">import org.qi4j.io.Transforms.Counter;
import static org.qi4j.io.Transforms.map;
-[...snip...]
+ [...snip...]
File source = new File( "source.txt" );
File destination = new File( "destination.txt" );
@@ -107,7 +107,7 @@ likewise is the ultimate "receiver".</p>
(ReceiverThrowable) which the transferTo() method may also throw as the data may not be accepted and such exception
will bubble up to the transferTo() method (the clientâs view of the transfer).</p></div><div class="section" title="org.qi4j.io.Output"><div class="titlepage"><div><div><h4 class="title"><a id="_org_qi4j_io_output"></a>org.qi4j.io.Output</h4></div></div></div><p>The output interface is likewise fairly simple;</p><pre class="programlisting brush: java">public interface Output<T, ReceiverThrowableType extends Throwable>
{
-[...snip...]
+ [...snip...]
<SenderThrowableType extends Throwable> void receiveFrom( Sender<? extends T, SenderThrowableType> sender )
throws ReceiverThrowableType, SenderThrowableType;
@@ -210,7 +210,7 @@ as every 1000 items. This may not be wha
how you can combine the general principles found in the Zest⢠Core API package.</p></div><div class="section" title="How to write a filter specification?"><div class="titlepage"><div><div><h4 class="title"><a id="_how_to_write_a_filter_specification"></a>How to write a filter specification?</h4></div></div></div><p>The filter transform takes a specification implementation which has a very simple method, isSatisfiedBy() (read more
about that in <a class="xref" href="core-functional.html" title="Core Functional API">Function</a>.</p><pre class="programlisting brush: java">public interface Specification<T>
{
-[...snip...]
+ [...snip...]
boolean satisfiedBy( T item );
}
@@ -246,7 +246,7 @@ sources and destinations.</p></div><div
* @return Input that provides lines from the string as strings
*/
public static Input<String, RuntimeException> text( final String source )
-[...snip...]
+ [...snip...]
/**
@@ -257,7 +257,7 @@ public static Input<String, RuntimeEx
* @return Input that provides lines from the string as strings
*/
public static Input<String, RuntimeException> text( final Reader source )
-[...snip...]
+ [...snip...]
/**
@@ -270,7 +270,7 @@ public static Input<String, RuntimeEx
* @return Input that provides lines from the textfiles as strings
*/
public static Input<String, IOException> text( final File source )
-[...snip...]
+ [...snip...]
/**
@@ -284,7 +284,7 @@ public static Input<String, IOExcepti
* @return Input that provides lines from the textfiles as strings
*/
public static Input<String, IOException> text( final File source, final String encoding )
-[...snip...]
+ [...snip...]
/**
@@ -299,7 +299,7 @@ public static Input<String, IOExcepti
* @return Input that provides lines from the textfiles as strings
*/
public static Input<String, IOException> text( final URL source )
-[...snip...]
+ [...snip...]
/**
@@ -311,7 +311,7 @@ public static Input<String, IOExcepti
* @return An Input instance to be applied to streaming operations.
*/
public static Input<ByteBuffer, IOException> byteBuffer( final File source, final int bufferSize )
-[...snip...]
+ [...snip...]
/**
@@ -323,7 +323,7 @@ public static Input<ByteBuffer, IOExc
* @return An Input instance to be applied to streaming operations.
*/
public static Input<ByteBuffer, IOException> byteBuffer( final InputStream source, final int bufferSize )
-[...snip...]
+ [...snip...]
/**
@@ -337,7 +337,7 @@ public static Input<ByteBuffer, IOExc
* @return A combined Input, allowing for easy aggregation of many Input sources.
*/
public static <T, SenderThrowableType extends Throwable> Input<T, SenderThrowableType> combine( final Iterable<Input<T, SenderThrowableType>> inputs )
-[...snip...]
+ [...snip...]
/**
@@ -349,7 +349,7 @@ public static <T, SenderThrowableType
* @return An Input instance that is backed by the Iterable.
*/
public static <T> Input<T, RuntimeException> iterable( final Iterable<T> iterable )
-[...snip...]
+ [...snip...]
/**
@@ -377,7 +377,7 @@ public static Input<ByteBuffer, IOExc
* @return an Output for storing text in a file
*/
public static Output<String, IOException> text( final File file )
-[...snip...]
+ [...snip...]
/**
@@ -391,7 +391,7 @@ public static Output<String, IOExcept
* @return an Output for storing text in a file
*/
public static Output<String, IOException> text( final File file, final String encoding )
-[...snip...]
+ [...snip...]
/**
@@ -401,7 +401,7 @@ public static Output<String, IOExcept
* @return an Output for storing text in a Writer
*/
public static Output<String, IOException> text( final Writer writer )
-[...snip...]
+ [...snip...]
/**
@@ -411,7 +411,7 @@ public static Output<String, IOExcept
* @return an Output for storing text in a StringBuilder
*/
public static Output<String, IOException> text( final StringBuilder builder )
-[...snip...]
+ [...snip...]
/**
@@ -422,7 +422,7 @@ public static Output<String, IOExcept
* @return The Output ByteBuffer instance backed by a File.
*/
public static Output<ByteBuffer, IOException> byteBuffer( final File file )
-[...snip...]
+ [...snip...]
/**
@@ -433,7 +433,7 @@ public static Output<ByteBuffer, IOEx
* @return The Output of ByteBuffer that will be backed by the OutputStream.
*/
public static Output<ByteBuffer, IOException> byteBuffer( final OutputStream stream )
-[...snip...]
+ [...snip...]
/**
@@ -445,7 +445,7 @@ public static Output<ByteBuffer, IOEx
* @return An Output instance that will write to the given File.
*/
public static Output<byte[], IOException> bytes( final File file, final int bufferSize )
-[...snip...]
+ [...snip...]
/**
@@ -456,7 +456,7 @@ public static Output<byte[], IOExcept
* @return An Output instance that ignores all data.
*/
public static <T> Output<T, RuntimeException> noop()
-[...snip...]
+ [...snip...]
/**
@@ -469,7 +469,7 @@ public static <T> Output<T, Run
* @return An Output instance backed by a Receiver of items.
*/
public static <T, ReceiverThrowableType extends Throwable> Output<T, ReceiverThrowableType> withReceiver( final Receiver<T, ReceiverThrowableType> receiver )
-[...snip...]
+ [...snip...]
/**
@@ -478,7 +478,7 @@ public static <T, ReceiverThrowableTy
* @return An Output instance that is backed by System.out
*/
public static Output<Object, RuntimeException> systemOut()
-[...snip...]
+ [...snip...]
/**
@@ -488,7 +488,7 @@ public static Output<Object, RuntimeE
*/
@SuppressWarnings( "UnusedDeclaration" )
public static Output<Object, RuntimeException> systemErr()
-[...snip...]
+ [...snip...]
/**
Modified: zest/site/content/java/2.1/core-runtime.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/core-runtime.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/core-runtime.html (original)
+++ zest/site/content/java/2.1/core-runtime.html Mon Sep 21 15:15:15 2015
@@ -68,7 +68,7 @@
</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"><span xmlns="" href="core.html">Core</span></span></dt><dt><span class="section"><a href="libraries.html">Libraries</a></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="core.html#_overview_3">Overview</a></span></dt><dt><span class="section"><a href="core-api.html">Core API</a></span></dt><dt><span class="section"><a href="core-bootstrap-assembly.html">Core Bootstrap</a></span></dt><dt><span class="section"><a href="core-testsupport.html">Core Test Support</a></span></dt><dt><span class="section"><a href="core-functional.html">Core Functional API</a></span></dt><dt><span class="section"><a href="core-io.html">Core I/O API</a></span></dt><dt><span class="section"><a href="core-spi.html">Core Extension SPI</a></span></dt><dt><span class="section"><span xmlns="" href="core-runtime.html">Core Runtime</span></span></dt></dl></div></div><div class="section" title="Core Runtime"><div class="titlepage"><div><div><h3 class="title"><a id="core-runtime"><
/a>Core Runtime</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-good">tests</p><p>First of all, your code should never, ever, have a dependency on Core Runtime. If you think you need this, you should
probably contact qi4j-dev forum at Google Groups and see if your usecase can either be solved in a existing way or perhaps
-that a new Core SPI Extension is needed.</p><div class="table"><a id="idm152216426928"></a><p class="title"><strong>Table 21. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.runtime</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><p>Letâs repeat that; <span class="strong"><strong>Never, never, ever depend on Core Runtime</strong></span>. Make sure that the compile dependency does NOT include
+that a new Core SPI Extension is needed.</p><div class="table"><a id="idm371116328624"></a><p class="title"><strong>Table 21. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.runtime</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><p>Letâs repeat that; <span class="strong"><strong>Never, never, ever depend on Core Runtime</strong></span>. Make sure that the compile dependency does NOT include
the <code class="literal">org.qi4j.core.runtime</code> jar.</p></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="footer"><p>
Copyright © 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/" target="_blank">Apache License, Version 2.0</a>.
<br /><small>
Modified: zest/site/content/java/2.1/core-spi.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/core-spi.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/core-spi.html (original)
+++ zest/site/content/java/2.1/core-spi.html Mon Sep 21 15:15:15 2015
@@ -68,7 +68,7 @@
</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"><span xmlns="" href="core.html">Core</span></span></dt><dt><span class="section"><a href="libraries.html">Libraries</a></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="core.html#_overview_3">Overview</a></span></dt><dt><span class="section"><a href="core-api.html">Core API</a></span></dt><dt><span class="section"><a href="core-bootstrap-assembly.html">Core Bootstrap</a></span></dt><dt><span class="section"><a href="core-testsupport.html">Core Test Support</a></span></dt><dt><span class="section"><a href="core-functional.html">Core Functional API</a></span></dt><dt><span class="section"><a href="core-io.html">Core I/O API</a></span></dt><dt><span class="section"><span xmlns="" href="core-spi.html">Core Extension SPI</span></span></dt><dt><span class="section"><a href="core-runtime.html">Core Runtime</a></span></dt></dl></div></div><div class="section" title="Core Extension SPI"><div class="titlepage"><div><div><h3 class="title"><a id="core-spi"
></a>Core Extension SPI</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-good">tests</p><p>The Zest⢠Core Runtime has a number of extension points, which we call the <span class="emphasis"><em>Qi4j Core Extension SPI</em></span>. These are defined
interfaces used <span class="strong"><strong>only</strong></span> by the Core Runtime and <span class="strong"><strong>never</strong></span> directly by application code. <a class="xref" href="extensions.html" title="Extensions">Extensions</a> are assembled in
-applications during the bootstrap phase.</p><div class="table"><a id="idm152216487616"></a><p class="title"><strong>Table 20. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.spi</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><p>There are currently 5 Core SPI extensions;</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem">
+applications during the bootstrap phase.</p><div class="table"><a id="idm371116389312"></a><p class="title"><strong>Table 20. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.spi</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><p>There are currently 5 Core SPI extensions;</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem">
<a class="xref" href="core-spi.html#core-spi-valueserialization" title="ValueSerialization SPI">ValueSerialization SPI</a>
</li><li class="listitem">
<a class="xref" href="core-spi.html#core-spi-entitystore" title="EntityStore SPI">EntityStore SPI</a>
Modified: zest/site/content/java/2.1/core-testsupport.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/core-testsupport.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/core-testsupport.html (original)
+++ zest/site/content/java/2.1/core-testsupport.html Mon Sep 21 15:15:15 2015
@@ -69,9 +69,9 @@
</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"><span xmlns="" href="core.html">Core</span></span></dt><dt><span class="section"><a href="libraries.html">Libraries</a></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="core.html#_overview_3">Overview</a></span></dt><dt><span class="section"><a href="core-api.html">Core API</a></span></dt><dt><span class="section"><a href="core-bootstrap-assembly.html">Core Bootstrap</a></span></dt><dt><span class="section"><span xmlns="" href="core-testsupport.html">Core Test Support</span></span></dt><dt><span class="section"><a href="core-functional.html">Core Functional API</a></span></dt><dt><span class="section"><a href="core-io.html">Core I/O API</a></span></dt><dt><span class="section"><a href="core-spi.html">Core Extension SPI</a></span></dt><dt><span class="section"><a href="core-runtime.html">Core Runtime</a></span></dt></dl></div></div><div class="section" title="Core Test Support"><div class="titlepage"><div><div><h3 class="title"><a id="core-tests
upport"></a>Core Test Support</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>Zest⢠comes with classes to help with testing. For general development, only a couple of classes are of interest as the
others are mostly for EntityStore and Index/Query SPI implementations. There is also some mocking support, to allow
some of Zestâs unique aspects to be mocked, but since Zest⢠is so flexible at a fine-granular level, we have found that
-mocking is seldom, if ever, needed.</p><div class="table"><a id="idm152216632928"></a><p class="title"><strong>Table 17. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.testsupport</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Your First Testcase"><div class="titlepage"><div><div><h4 class="title"><a id="_your_first_testcase"></a>Your First Testcase</h4></div></div></div><p>In most cases, you will probably use the AbstractQi4jTest class to simplify starting a Zest⢠test instance.</p><pre class="pr
ogramlisting brush: java">public class HelloTest extends AbstractQi4jTest
+mocking is seldom, if ever, needed.</p><div class="table"><a id="idm371058717440"></a><p class="title"><strong>Table 17. 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.qi4j.core</p></td><td align="left" valign="top"><p>org.qi4j.core.testsupport</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Your First Testcase"><div class="titlepage"><div><div><h4 class="title"><a id="_your_first_testcase"></a>Your First Testcase</h4></div></div></div><p>In most cases, you will probably use the AbstractQi4jTest class to simplify starting a Zest⢠test instance.</p><pre class="pr
ogramlisting brush: java">public class HelloTest extends AbstractQi4jTest
{
-[...snip...]
+ [...snip...]
}
</pre><p>This will do all the initialization of a Zest⢠runtime instance and create a single layer with a single module in it.
Modified: zest/site/content/java/2.1/core.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/core.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/core.html (original)
+++ zest/site/content/java/2.1/core.html Mon Sep 21 15:15:15 2015
@@ -68,7 +68,7 @@
</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"><span xmlns="" href="core.html">Core</span></span></dt><dt><span class="section"><a href="libraries.html">Libraries</a></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"><span xmlns="" href="core.html#_overview_3">Overview</span></span></dt><dt><span class="section"><a href="core-api.html">Core API</a></span></dt><dt><span class="section"><a href="core-bootstrap-assembly.html">Core Bootstrap</a></span></dt><dt><span class="section"><a href="core-testsupport.html">Core Test Support</a></span></dt><dt><span class="section"><a href="core-functional.html">Core Functional API</a></span></dt><dt><span class="section"><a href="core-io.html">Core I/O API</a></span></dt><dt><span class="section"><a href="core-spi.html">Core Extension SPI</a></span></dt><dt><span class="section"><a href="core-runtime.html">Core Runtime</a></span></dt></dl></div></div><div class="section" title="Core"><div class="titlepage"><div><div><h2 class="title"><a id="core"></a>Core</h2></di
v></div></div><div class="section" title="Overview"><div class="titlepage"><div><div><h3 class="title"><a id="_overview_3"></a>Overview</h3></div></div></div><p>The Zest⢠Core is composed of several artifacts described in this section.</p><p>The following figure show the Core artifacts alongside <a class="link" href="libraries.html" title="Libraries">libraries</a> and <a class="link" href="extensions.html" title="Extensions">extensions</a>, and, in green,
typical applications artifacts. This is not a full code dependency graph but should give you a good overview of how the
-pieces fit together. Find out more about each of the Zest⢠Core artifacts below.</p><div class="figure"><a id="idm152217185728"></a><p class="title"><strong>Figure 1. Zest⢠Core Overview</strong></p><div class="figure-contents"><a class="ulink" href="images/core-overview.png" target="_top">
+pieces fit together. Find out more about each of the Zest⢠Core artifacts below.</p><div class="figure"><a id="idm371059252160"></a><p class="title"><strong>Figure 1. Zest⢠Core Overview</strong></p><div class="figure-contents"><a class="ulink" href="images/core-overview.png" target="_top">
<span class="inlinemediaobject"><img src="images/core-overview.png" alt="core-overview.png" /></span>
</a></div></div><br class="figure-break" /><div class="section" title="Core API"><div class="titlepage"><div><div><h4 class="title"><a id="_core_api"></a>Core API</h4></div></div></div><p>The Zest⢠Core API is the primary interface for client application code during the main execution phase, i.e. after the
application has been activated.</p><p><a class="link" href="core-api.html" title="Core API">Learn more</a></p></div><div class="section" title="Core Bootstrap"><div class="titlepage"><div><div><h4 class="title"><a id="_core_bootstrap"></a>Core Bootstrap</h4></div></div></div><p>Zest⢠has a distinct bootstrap phase, also known as the <span class="emphasis"><em>Assembly</em></span> of an application, where the applications structure
Modified: zest/site/content/java/2.1/extension-cache-ehcache.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/2.1/extension-cache-ehcache.html?rev=1704315&r1=1704314&r2=1704315&view=diff
==============================================================================
--- zest/site/content/java/2.1/extension-cache-ehcache.html (original)
+++ zest/site/content/java/2.1/extension-cache-ehcache.html Mon Sep 21 15:15:15 2015
@@ -66,11 +66,11 @@
})();
</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"><a href="libraries.html">Libraries</a></span></dt><dt><span class="section"><span xmlns="" href="extensions.html">Extensions</span></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="extensions.html#_overview_7">Overview</a></span></dt><dt><span class="section"><a href="extension-vs-orgjson.html">org.json ValueSerialization</a></span></dt><dt><span class="section"><a href="extension-vs-jackson.html">Jackson ValueSerialization</a></span></dt><dt><span class="section"><a href="extension-vs-stax.html">StAX ValueSerialization</a></span></dt><dt><span class="section"><span xmlns="" href="extension-cache-ehcache.html">Ehcache Cache</span></span></dt><dt><span class="section"><a href="extension-cache-memcache.html">Memcache Cache</a></span></dt><dt><span class="section"><a href="extension-es-memory.html">Memory EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-file.html">File EntityStore</a></span></dt><dt><span class="section"><a href="ext
ension-es-hazelcast.html">Hazelcast EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-jclouds.html">JClouds EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-jdbm.html">JDBM EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-leveldb.html">LevelDB EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-mongodb.html">MongoDB EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-preferences.html">Preferences EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-redis.html">Redis EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-riak.html">Riak EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-sql.html">SQL EntityStore</a></span></dt><dt><span class="section"><a href="extension-index-elasticsearch.html">ElasticSearch Index/Query</a></span></dt><dt><span class="section"><a href="extension-index-rdf.html">O
penRDF Index/Query</a></span></dt><dt><span class="section"><a href="extension-index-solr.html">Apache Solr Index/Query</a></span></dt><dt><span class="section"><a href="extension-indexing-sql.html">SQL Index/Query</a></span></dt><dt><span class="section"><a href="extension-metrics-yammer.html">Yammer Metrics</a></span></dt><dt><span class="section"><a href="extension-migration.html">Migration</a></span></dt><dt><span class="section"><a href="extension-reindexer.html">Reindexer</a></span></dt></dl></div></div><div class="section" title="Ehcache Cache"><div class="titlepage"><div><div><h3 class="title"><a id="extension-cache-ehcache"></a>Ehcache Cache</h3></div></div></div><p class="remark"><em><span class="comment"></span></em></p><p class="devstatus-code-beta">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>EntityStore cache backed by <a class="ulink" href="http://ehcache.org/" target="_top">EhCache</a>.</p><div class="table"><a id="idm15
2215154496"></a><p class="title"><strong>Table 58. 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.qi4j.extension</p></td><td align="left" valign="top"><p>org.qi4j.extension.cache-ehcache</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><p>Not all EntityStore implementations use the Cache extension, so check the implementation details of 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"><a href="libraries.html">Libraries</a></span></dt><dt><span class="section"><span xmlns="" href="extensions.html">Extensions</span></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="extensions.html#_overview_7">Overview</a></span></dt><dt><span class="section"><a href="extension-vs-orgjson.html">org.json ValueSerialization</a></span></dt><dt><span class="section"><a href="extension-vs-jackson.html">Jackson ValueSerialization</a></span></dt><dt><span class="section"><a href="extension-vs-stax.html">StAX ValueSerialization</a></span></dt><dt><span class="section"><span xmlns="" href="extension-cache-ehcache.html">Ehcache Cache</span></span></dt><dt><span class="section"><a href="extension-cache-memcache.html">Memcache Cache</a></span></dt><dt><span class="section"><a href="extension-es-memory.html">Memory EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-file.html">File EntityStore</a></span></dt><dt><span class="section"><a href="ext
ension-es-hazelcast.html">Hazelcast EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-jclouds.html">JClouds EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-jdbm.html">JDBM EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-leveldb.html">LevelDB EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-mongodb.html">MongoDB EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-preferences.html">Preferences EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-redis.html">Redis EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-riak.html">Riak EntityStore</a></span></dt><dt><span class="section"><a href="extension-es-sql.html">SQL EntityStore</a></span></dt><dt><span class="section"><a href="extension-index-elasticsearch.html">ElasticSearch Index/Query</a></span></dt><dt><span class="section"><a href="extension-index-rdf.html">O
penRDF Index/Query</a></span></dt><dt><span class="section"><a href="extension-index-solr.html">Apache Solr Index/Query</a></span></dt><dt><span class="section"><a href="extension-indexing-sql.html">SQL Index/Query</a></span></dt><dt><span class="section"><a href="extension-metrics-yammer.html">Yammer Metrics</a></span></dt><dt><span class="section"><a href="extension-migration.html">Migration</a></span></dt><dt><span class="section"><a href="extension-reindexer.html">Reindexer</a></span></dt></dl></div></div><div class="section" title="Ehcache Cache"><div class="titlepage"><div><div><h3 class="title"><a id="extension-cache-ehcache"></a>Ehcache Cache</h3></div></div></div><p class="remark"><em><span class="comment"></span></em></p><p class="devstatus-code-beta">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>EntityStore cache backed by <a class="ulink" href="http://ehcache.org/" target="_top">EhCache</a>.</p><div class="table"><a id="idm37
1057384432"></a><p class="title"><strong>Table 58. 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.qi4j.extension</p></td><td align="left" valign="top"><p>org.qi4j.extension.cache-ehcache</p></td><td align="left" valign="top"><p>2.1</p></td></tr></tbody></table></div></div><br class="table-break" /><p>Not all EntityStore implementations use the Cache extension, so check the implementation details of the
EntityStore whether the cache extension can bring any benefits or not.</p><div class="section" title="Assembly"><div class="titlepage"><div><div><h4 class="title"><a id="_assembly_8"></a>Assembly</h4></div></div></div><p>Assembly is done using the provided Assembler:</p><pre class="programlisting brush: java">public void assemble( ModuleAssembly module )
throws AssemblyException
{
-[...snip...]
+ [...snip...]
new EhCacheAssembler().
withConfig( confModule, Visibility.layer ).