jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1174679 - in /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi: WorkspaceManager.java hierarchy/HierarchyEventListener.java
Date Fri, 23 Sep 2011 11:51:53 GMT
Author: mduerig
Date: Fri Sep 23 11:51:53 2011
New Revision: 1174679

URL: http://svn.apache.org/viewvc?rev=1174679&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
MVCC: don't automatically merge changes on persistent state into transient space

Removed:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.java
Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java?rev=1174679&r1=1174678&r2=1174679&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
Fri Sep 23 11:51:53 2011
@@ -16,7 +16,6 @@
  */
 package org.apache.jackrabbit.jcr2spi;
 
-import org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEventListener;
 import org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyManager;
 import org.apache.jackrabbit.jcr2spi.nodetype.EffectiveNodeTypeProvider;
 import org.apache.jackrabbit.jcr2spi.nodetype.ItemDefinitionProvider;
@@ -174,12 +173,6 @@ public final class WorkspaceManager impl
 
         itemStateFactory = createItemStateFactory();
         hierarchyManager = new HierarchyManager(itemStateFactory, idFactory, pathFactory,
session.getNamePathResolver());
-
-        // Add a hierarchy listener which is notified on changes for which client event
-        // listeners have been installed. Note: this listener has to be the first one
-        // called in order for the hierarchy to be consistent with the event (See JCR-2293).
-        InternalEventListener listener = new HierarchyEventListener(hierarchyManager);
-        listeners.add(listener);
     }
 
     public NamespaceRegistryImpl getNamespaceRegistryImpl() {



Mime
View raw message