tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r573040 - in /incubator/tuscany/java/sca/modules: contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/ contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ host-embedded/src/main/java/org/ap...
Date Wed, 05 Sep 2007 19:57:26 GMT
Author: lresende
Date: Wed Sep  5 12:57:22 2007
New Revision: 573040

URL: http://svn.apache.org/viewvc?rev=573040&view=rev
Log:
Removing @deprecated artifacts from Contribution related modules

Removed:
    incubator/tuscany/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ContributionPostProcessor.java
    incubator/tuscany/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ContributionPostProcessorExtensionPoint.java
    incubator/tuscany/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/DefaultContributionPostProcessorExtensionPoint.java
    incubator/tuscany/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleContributionPostProcessor.java
Modified:
    incubator/tuscany/java/sca/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/ContributionServiceImpl.java
    incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java

Modified: incubator/tuscany/java/sca/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/ContributionServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/ContributionServiceImpl.java?rev=573040&r1=573039&r2=573040&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/ContributionServiceImpl.java
(original)
+++ incubator/tuscany/java/sca/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/ContributionServiceImpl.java
Wed Sep  5 12:57:22 2007
@@ -36,7 +36,6 @@
 import org.apache.tuscany.sca.contribution.ContributionFactory;
 import org.apache.tuscany.sca.contribution.DeployedArtifact;
 import org.apache.tuscany.sca.contribution.ModelFactoryExtensionPoint;
-import org.apache.tuscany.sca.contribution.processor.ContributionPostProcessor;
 import org.apache.tuscany.sca.contribution.processor.PackageProcessor;
 import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
 import org.apache.tuscany.sca.contribution.processor.URLArtifactProcessor;
@@ -99,11 +98,6 @@
     private ModelFactoryExtensionPoint modelFactories;
     
     /**
-     * Contribution post processor
-     */
-    private ContributionPostProcessor postProcessor;
-
-    /**
      * xml factory used to create reader instance to load contribution metadata
      */
     private XMLInputFactory xmlFactory;
@@ -126,7 +120,6 @@
                                    URLArtifactProcessor documentProcessor,
                                    StAXArtifactProcessor staxProcessor,
                                    ExtensibleContributionListener contributionListener,
-                                   ContributionPostProcessor postProcessor,
                                    ModelResolver domainResolver,
                                    ModelResolverExtensionPoint modelResolvers,
                                    ModelFactoryExtensionPoint modelFactories,
@@ -139,7 +132,6 @@
         this.artifactProcessor = documentProcessor;
         this.staxProcessor = staxProcessor;
         this.contributionListener = contributionListener;
-        this.postProcessor = postProcessor;
         this.modelResolvers = modelResolvers;
         this.modelFactories = modelFactories;
         this.xmlFactory = xmlFactory;
@@ -347,10 +339,7 @@
                 }
             }
         }
-        
-        //post process contribution
-        this.postProcessor.visit(contribution);
-        
+                
         // store the contribution on the registry
         this.contributionRepository.addContribution(contribution);
         

Modified: incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java?rev=573040&r1=573039&r2=573040&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java
(original)
+++ incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java
Wed Sep  5 12:57:22 2007
@@ -39,9 +39,6 @@
 import org.apache.tuscany.sca.context.RequestContextFactory;
 import org.apache.tuscany.sca.contribution.ContributionFactory;
 import org.apache.tuscany.sca.contribution.ModelFactoryExtensionPoint;
-import org.apache.tuscany.sca.contribution.processor.ContributionPostProcessor;
-import org.apache.tuscany.sca.contribution.processor.ContributionPostProcessorExtensionPoint;
-import org.apache.tuscany.sca.contribution.processor.ExtensibleContributionPostProcessor;
 import org.apache.tuscany.sca.contribution.processor.ExtensiblePackageProcessor;
 import org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor;
 import org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor;
@@ -185,9 +182,6 @@
         // Get the model factory extension point
         ModelFactoryExtensionPoint modelFactories = registry.getExtensionPoint(ModelFactoryExtensionPoint.class);
         
-        //FIXME remove this
-        ContributionPostProcessor postProcessor = new ExtensibleContributionPostProcessor(registry.getExtensionPoint(ContributionPostProcessorExtensionPoint.class));
-
         // Create contribution listener
         ExtensibleContributionListener contributionListener = new ExtensibleContributionListener(registry.getExtensionPoint(ContributionListenerExtensionPoint.class));
         
@@ -204,7 +198,7 @@
         ContributionService contributionService = 
             new ContributionServiceImpl(repository, packageProcessor, documentProcessor,
                                         staxProcessor, contributionListener, 
-                                        postProcessor, domainModelResolver, modelResolvers,
modelFactories,
+                                        domainModelResolver, modelResolvers, modelFactories,
                                         assemblyFactory, contributionFactory, xmlFactory);
         return contributionService;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message