cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r853501 - in /websites/staging/cayenne/trunk/content: ./ docs/3.1/cayenne-guide/lifecycle-events.html
Date Thu, 07 Mar 2013 17:07:42 GMT
Author: buildbot
Date: Thu Mar  7 17:07:42 2013
New Revision: 853501

Log:
Staging update by buildbot for cayenne

Modified:
    websites/staging/cayenne/trunk/content/   (props changed)
    websites/staging/cayenne/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html

Propchange: websites/staging/cayenne/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Mar  7 17:07:42 2013
@@ -1 +1 @@
-1449174
+1453962

Modified: websites/staging/cayenne/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html
==============================================================================
--- websites/staging/cayenne/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html (original)
+++ websites/staging/cayenne/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html Thu
Mar  7 17:07:42 2013
@@ -243,7 +243,7 @@ registry.addListener(<span xmlns="http:/
     <span xmlns="http://www.w3.org/1999/xhtml" class="hl-annotation">@PostPersist(entityAnnotations
= Tag.class)</span>
     <span xmlns="http://www.w3.org/1999/xhtml" class="hl-annotation">@PostUpdate(entityAnnotations
= Tag.class)</span>
     <span xmlns="http://www.w3.org/1999/xhtml" class="hl-annotation">@PostRemove(entityAnnotations
= Tag.class)</span>
-    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">void</span>
afterCommit() {
+    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">void</span>
afterCommit(Persistent object) {
         counter.get()[<span xmlns="http://www.w3.org/1999/xhtml" class="hl-number">0</span>]++;
     }
 }</pre><p>Now since this is both a filter and a listener, it needs to be registered
as



Mime
View raw message