hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahue...@apache.org
Subject svn commit: r505699 - in /hivemind/hivemind2/trunk: framework/src/java/org/apache/hivemind/definition/ framework/src/java/org/apache/hivemind/definition/impl/ framework/src/java/org/apache/hivemind/impl/ xml/src/java/org/apache/hivemind/impl/
Date Sat, 10 Feb 2007 14:47:42 GMT
Author: ahuegen
Date: Sat Feb 10 06:47:41 2007
New Revision: 505699

URL: http://svn.apache.org/viewvc?view=rev&rev=505699
Log:
RegistryPostProcessor renamed to RegistryDefintionPostProcessor and moved to definition package

Added:
    hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinitionPostProcessor.java
      - copied, changed from r505487, hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryPostProcessor.java
Removed:
    hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryPostProcessor.java
Modified:
    hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinition.java
    hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/impl/RegistryDefinitionImpl.java
    hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryBuilder.java
    hivemind/hivemind2/trunk/xml/src/java/org/apache/hivemind/impl/XmlCoreServicesProvider.java

Modified: hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinition.java
URL: http://svn.apache.org/viewvc/hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinition.java?view=diff&rev=505699&r1=505698&r2=505699
==============================================================================
--- hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinition.java
(original)
+++ hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinition.java
Sat Feb 10 06:47:41 2007
@@ -6,7 +6,6 @@
 import org.apache.hivemind.ApplicationRuntimeException;
 import org.apache.hivemind.events.RegistryInitializationListener;
 import org.apache.hivemind.impl.RegistryBuilder;
-import org.apache.hivemind.impl.RegistryPostProcessor;
 
 /**
  * Defines all modules and their service and configuration points 
@@ -43,14 +42,14 @@
     public ModuleDefinition getModule(String id);
 
     /**
-     * Adds a {@link RegistryPostProcessor}. The processor is called after all
+     * Adds a {@link RegistryDefinitionPostProcessor}. The processor is called after all
      * module definitions have been processed.
      * @param postProcessor the processor
      */
-    public void addPostProcessor(RegistryPostProcessor postProcessor);
+    public void addPostProcessor(RegistryDefinitionPostProcessor postProcessor);
 
     /**
-     * @return  a collection of all registered {@link RegistryPostProcessor}s
+     * @return  a collection of all registered {@link RegistryDefinitionPostProcessor}s
      */
     public List getPostProcessors();
 

Copied: hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinitionPostProcessor.java
(from r505487, hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryPostProcessor.java)
URL: http://svn.apache.org/viewvc/hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinitionPostProcessor.java?view=diff&rev=505699&p1=hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryPostProcessor.java&r1=505487&p2=hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinitionPostProcessor.java&r2=505699
==============================================================================
--- hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryPostProcessor.java
(original)
+++ hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/RegistryDefinitionPostProcessor.java
Sat Feb 10 06:47:41 2007
@@ -1,9 +1,8 @@
-package org.apache.hivemind.impl;
+package org.apache.hivemind.definition;
 
 import org.apache.hivemind.ErrorHandler;
-import org.apache.hivemind.definition.RegistryDefinition;
 
-public interface RegistryPostProcessor
+public interface RegistryDefinitionPostProcessor
 {
     /**
      * Is called after all registry providers have run through their process method.

Modified: hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/impl/RegistryDefinitionImpl.java
URL: http://svn.apache.org/viewvc/hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/impl/RegistryDefinitionImpl.java?view=diff&rev=505699&r1=505698&r2=505699
==============================================================================
--- hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/impl/RegistryDefinitionImpl.java
(original)
+++ hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/definition/impl/RegistryDefinitionImpl.java
Sat Feb 10 06:47:41 2007
@@ -14,9 +14,9 @@
 import org.apache.hivemind.definition.DefinitionMessages;
 import org.apache.hivemind.definition.ModuleDefinition;
 import org.apache.hivemind.definition.RegistryDefinition;
+import org.apache.hivemind.definition.RegistryDefinitionPostProcessor;
 import org.apache.hivemind.definition.ServicePointDefinition;
 import org.apache.hivemind.events.RegistryInitializationListener;
-import org.apache.hivemind.impl.RegistryPostProcessor;
 import org.apache.hivemind.util.IdUtils;
 
 /**
@@ -61,9 +61,9 @@
     }
     
     /**
-     * @see org.apache.hivemind.definition.RegistryDefinition#addPostProcessor(org.apache.hivemind.impl.RegistryPostProcessor)
+     * @see org.apache.hivemind.definition.RegistryDefinition#addPostProcessor(org.apache.hivemind.definition.RegistryDefinitionPostProcessor)
      */
-    public void addPostProcessor(RegistryPostProcessor postProcessor)
+    public void addPostProcessor(RegistryDefinitionPostProcessor postProcessor)
     {
         _postProcessors.add(postProcessor);
     }

Modified: hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryBuilder.java
URL: http://svn.apache.org/viewvc/hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryBuilder.java?view=diff&rev=505699&r1=505698&r2=505699
==============================================================================
--- hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryBuilder.java
(original)
+++ hivemind/hivemind2/trunk/framework/src/java/org/apache/hivemind/impl/RegistryBuilder.java
Sat Feb 10 06:47:41 2007
@@ -27,6 +27,7 @@
 import org.apache.hivemind.definition.ModuleDefinition;
 import org.apache.hivemind.definition.Occurances;
 import org.apache.hivemind.definition.RegistryDefinition;
+import org.apache.hivemind.definition.RegistryDefinitionPostProcessor;
 import org.apache.hivemind.definition.impl.RegistryDefinitionImpl;
 import org.apache.hivemind.events.RegistryInitializationListener;
 import org.apache.hivemind.internal.RegistryInfrastructure;
@@ -149,7 +150,7 @@
         // Notify post processors
         for (Iterator i = _registryDefinition.getPostProcessors().iterator(); i.hasNext();)
         {
-            RegistryPostProcessor processor = (RegistryPostProcessor) i.next();
+            RegistryDefinitionPostProcessor processor = (RegistryDefinitionPostProcessor)
i.next();
 
             processor.postprocess(_registryDefinition, _errorHandler);
         }

Modified: hivemind/hivemind2/trunk/xml/src/java/org/apache/hivemind/impl/XmlCoreServicesProvider.java
URL: http://svn.apache.org/viewvc/hivemind/hivemind2/trunk/xml/src/java/org/apache/hivemind/impl/XmlCoreServicesProvider.java?view=diff&rev=505699&r1=505698&r2=505699
==============================================================================
--- hivemind/hivemind2/trunk/xml/src/java/org/apache/hivemind/impl/XmlCoreServicesProvider.java
(original)
+++ hivemind/hivemind2/trunk/xml/src/java/org/apache/hivemind/impl/XmlCoreServicesProvider.java
Sat Feb 10 06:47:41 2007
@@ -19,6 +19,7 @@
 import org.apache.hivemind.definition.ModuleDefinition;
 import org.apache.hivemind.definition.ModuleDefinitionHelper;
 import org.apache.hivemind.definition.RegistryDefinition;
+import org.apache.hivemind.definition.RegistryDefinitionPostProcessor;
 import org.apache.hivemind.definition.ServicePointDefinition;
 import org.apache.hivemind.definition.impl.ModuleDefinitionImpl;
 import org.apache.hivemind.internal.AbstractServiceImplementationConstructor;
@@ -168,7 +169,7 @@
 
 }
 
-class XmlPostProcessor implements RegistryPostProcessor
+class XmlPostProcessor implements RegistryDefinitionPostProcessor
 {
     public void postprocess(RegistryDefinition registryDefinition, ErrorHandler errorHandler)
     {



Mime
View raw message