You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2013/03/07 18:07:23 UTC

svn commit: r1453962 - /cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html

Author: aadamchik
Date: Thu Mar  7 17:07:23 2013
New Revision: 1453962

URL: http://svn.apache.org/r1453962
Log:
typo

Modified:
    cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html

Modified: cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html?rev=1453962&r1=1453961&r2=1453962&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html (original)
+++ cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html Thu Mar  7 17:07:23 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