geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r707125 - in /geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test: java/org/apache/geronimo/gshell/vfs/provider/meta/ resources/org/apache/geronimo/gshell/vfs/provider/meta/data/ resources/org/apache/geronimo/gshell/vfs/provider/m...
Date Wed, 22 Oct 2008 16:34:25 GMT
Author: jdillon
Date: Wed Oct 22 09:34:25 2008
New Revision: 707125

URL: http://svn.apache.org/viewvc?rev=707125&view=rev
Log:
Fix the event publishing for meta:/* muck

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaDataRegistry.java
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/MetaDataRegistryImplTest-context.xml
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/support/MetaDataRegistryConfigurerTest-context.xml

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaDataRegistry.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaDataRegistry.java?rev=707125&r1=707124&r2=707125&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaDataRegistry.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaDataRegistry.java
Wed Oct 22 09:34:25 2008
@@ -22,6 +22,7 @@
 import org.apache.commons.vfs.FileName;
 import org.apache.geronimo.gshell.vfs.provider.meta.data.MetaData;
 import org.apache.geronimo.gshell.vfs.provider.meta.data.MetaDataRegistryImpl;
+import org.apache.geronimo.gshell.event.EventPublisher;
 
 import java.util.Map;
 
@@ -33,6 +34,10 @@
 public class AccessibleMetaDataRegistry
     extends MetaDataRegistryImpl
 {
+    public AccessibleMetaDataRegistry(final EventPublisher eventPublisher) {
+        super(eventPublisher);
+    }
+
     @Override
     public Map<FileName, MetaData> getNodes() {
         return super.getNodes();

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/MetaDataRegistryImplTest-context.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/MetaDataRegistryImplTest-context.xml?rev=707125&r1=707124&r2=707125&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/MetaDataRegistryImplTest-context.xml
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/MetaDataRegistryImplTest-context.xml
Wed Oct 22 09:34:25 2008
@@ -28,6 +28,10 @@
        default-init-method="init"
        default-destroy-method="destroy">
 
-    <bean id="metaDataRegistry" class="org.apache.geronimo.gshell.vfs.provider.meta.AccessibleMetaDataRegistry"/>
+    <bean id="eventManager" class="org.apache.geronimo.gshell.event.EventManagerImpl"/>
+    
+    <bean id="metaDataRegistry" class="org.apache.geronimo.gshell.vfs.provider.meta.AccessibleMetaDataRegistry">
+        <constructor-arg ref="eventManager"/>
+    </bean>
 
 </beans>
\ No newline at end of file

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/support/MetaDataRegistryConfigurerTest-context.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/support/MetaDataRegistryConfigurerTest-context.xml?rev=707125&r1=707124&r2=707125&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/support/MetaDataRegistryConfigurerTest-context.xml
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/data/support/MetaDataRegistryConfigurerTest-context.xml
Wed Oct 22 09:34:25 2008
@@ -28,6 +28,10 @@
        default-init-method="init"
        default-destroy-method="destroy">
 
-    <bean id="metaDataRegistry" class="org.apache.geronimo.gshell.vfs.provider.meta.AccessibleMetaDataRegistry"/>
+    <bean id="eventManager" class="org.apache.geronimo.gshell.event.EventManagerImpl"/>
+    
+    <bean id="metaDataRegistry" class="org.apache.geronimo.gshell.vfs.provider.meta.AccessibleMetaDataRegistry">
+        <constructor-arg ref="eventManager"/>
+    </bean>
 
 </beans>
\ No newline at end of file



Mime
View raw message