You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2014/02/11 21:41:41 UTC
svn commit: r897489 - in /websites/staging/isis/trunk: cgi-bin/ content/
content/components/objectstores/jdo/services/
Author: buildbot
Date: Tue Feb 11 20:41:40 2014
New Revision: 897489
Log:
Staging update by buildbot for isis
Modified:
websites/staging/isis/trunk/cgi-bin/ (props changed)
websites/staging/isis/trunk/content/ (props changed)
websites/staging/isis/trunk/content/components/objectstores/jdo/services/auditing-service-jdo.html
websites/staging/isis/trunk/content/components/objectstores/jdo/services/exception-recognizers-jdo.html
websites/staging/isis/trunk/content/components/objectstores/jdo/services/isisjdosupport-service.html
websites/staging/isis/trunk/content/components/objectstores/jdo/services/publishing-service-jdo.html
websites/staging/isis/trunk/content/components/objectstores/jdo/services/settings-services-jdo.html
Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Feb 11 20:41:40 2014
@@ -1 +1 @@
-1567365
+1567369
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Feb 11 20:41:40 2014
@@ -1 +1 @@
-1567365
+1567369
Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/auditing-service-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/auditing-service-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/auditing-service-jdo.html Tue Feb 11 20:41:40 2014
@@ -282,21 +282,20 @@
</h1>
</div>
-<p>The JDO objectstore provides a simple implementation of the applib <a href="../../../core/services/auditing-service.html">AuditingService</a> that simply persists the event data into a <code>AuditEntry</code> entity.</p>
+<p>The JDO objectstore provides a simple implementation of the applib <a href="../../../../reference/services/auditing-service.html">AuditingService</a> that simply persists the event data into a <code>AuditEntry</code> entity.</p>
<blockquote>
- <p>Rather than using an <code>AuditingService</code>, you may prefer to use the <a href="../../../core/services/publishing-service.html">Publishing Service</a>, since it is considerably more flexible. A JDO <a href="publishing-service-jdo.html">implementation</a> is available.</p>
+ <p>Rather than using an <code>AuditingService</code>, you may prefer to use the <a href="../../../../reference/services/publishing-service.html">Publishing Service</a>, since it is considerably more flexible. A JDO <a href="./publishing-service-jdo.html">implementation</a> is available.</p>
</blockquote>
<h3>Register the Service</h3>
<p>Register like any other service in <code>isis.properties</code>:</p>
-<pre>
-isis.services=...,\
+<pre><code>isis.services=...,\
org.apache.isis.objectstore.jdo.applib.service.audit.AuditingServiceJdo,\
...
-</pre>
+</code></pre>
<p>Assuming that you've also configured Isis to use the JDO objectstore, you should be good to go...</p>
Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/exception-recognizers-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/exception-recognizers-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/exception-recognizers-jdo.html Tue Feb 11 20:41:40 2014
@@ -282,7 +282,7 @@
</h1>
</div>
-<p>The JDO objectstore provides a number of implementations of the applib <a href="../../../reference/services/exception-recognizers.html">ExceptionRecognizer</a> API that will recognize SQL constraint exceptions and convert them into user-friendly error messages. The <code>ExceptionRecognizerCompositeForJdoObjectStore</code> wraps these up into a single implementation.</p>
+<p>The JDO objectstore provides a number of implementations of the applib <a href="../../../../reference/services/exception-recognizers.html">ExceptionRecognizer</a> API that will recognize SQL constraint exceptions and convert them into user-friendly error messages. The <code>ExceptionRecognizerCompositeForJdoObjectStore</code> wraps these up into a single implementation.</p>
<h3>Register the Service</h3>
Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/isisjdosupport-service.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/isisjdosupport-service.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/isisjdosupport-service.html Tue Feb 11 20:41:40 2014
@@ -349,12 +349,16 @@
<p>In the domain entity or service, add:</p>
-<pre><code>// {{
-private IsisJdoSupport isisJdoSupport;
+<pre><code>private IsisJdoSupport isisJdoSupport;
public void injectIsisJdoSupport(IsisJdoSupport isisJdoSupport) {
this.isisJdoSupport = isisJdoSupport;
}
-// }}
+</code></pre>
+
+<p>or simply (1.4.0-SNAPSHOT):</p>
+
+<pre><code>@javax.inject.Inject
+private IsisJdoSupport isisJdoSupport;
</code></pre>
<p>The service will then be automatically injected as normal.</p>
Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/publishing-service-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/publishing-service-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/publishing-service-jdo.html Tue Feb 11 20:41:40 2014
@@ -282,7 +282,7 @@
</h1>
</div>
-<p>The JDO objectstore provides a simple implementation of the applib <a href="../../../core/services/publishing-service.html">PublishingService</a> that simply persists the event data into a <code>PublishedEvent</code> entity.</p>
+<p>The JDO objectstore provides a simple implementation of the applib <a href="../../../../reference/services/publishing-service.html">PublishingService</a> that simply persists the event data into a <code>PublishedEvent</code> entity.</p>
<p>Along with the event data, the <code>PublishedEvent</code> also includes a status property with two values: <code>QUEUED</code> and <code>PROCESSED</code>. The service also acts as a repository to search for all unprocessed events.</p>
@@ -294,11 +294,10 @@
<p>Register like any other service in <code>isis.properties</code>:</p>
-<pre>
-isis.services=<i>...other services...</i>,\
+<pre><code>isis.services=...,\
org.apache.isis.objectstore.jdo.applib.service.publish.PublishingServiceJdo,\
...
-</pre>
+</code></pre>
<p>Assuming that you've also configured Isis to use the JDO objectstore, you should be good to go...</p>
Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/settings-services-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/settings-services-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/settings-services-jdo.html Tue Feb 11 20:41:40 2014
@@ -282,7 +282,7 @@
</h1>
</div>
-<p>The JDO objectstore provides simple implementations of the two applib <a href="../../../reference/services/settings-services.html">Settings Services</a>.</p>
+<p>The JDO objectstore provides simple implementations of the two applib <a href="../../../../reference/services/settings-services.html">Settings Services</a>.</p>
<h2>Application Settings</h2>
@@ -304,12 +304,11 @@
<p>Register the services as any other service, in <code>isis.properties</code>:</p>
-<pre>
-isis.services=<i>...other services...</i>,\
+<pre><code>isis.services=...,\
org.apache.isis.objectstore.jdo.applib.service.settings.ApplicationSettingsServiceJdo,\
- org.apache.isis.objectstore.jdo.applib.service.settings.UserSettingsServiceJdo,\
+ org.apache.isis.objectstore.jdo.applib.service.settings.UserSettingsServiceJdo,\
...
-</pre>
+</code></pre>
<p>Assuming that you've also configured Isis to use the JDO objectstore, you should be good to go...</p>