tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r534592 - in /incubator/tuscany/java/sca/modules: core-databinding/src/main/java/org/apache/tuscany/core/databinding/module/ databinding-axiom/src/main/java/org/apache/tuscany/databinding/axiom/module/ databinding-jaxb/src/main/java/org/apa...
Date Wed, 02 May 2007 19:05:58 GMT
Author: jsdelfino
Date: Wed May  2 12:05:57 2007
New Revision: 534592

URL: http://svn.apache.org/viewvc?view=rev&rev=534592
Log:
Cleaning up and simplifying a bit some of the databinding module activators. Changed DefaultTransformerExtensionPoint
to be passed the databindings on its constructor instead of a setter method.

Modified:
    incubator/tuscany/java/sca/modules/core-databinding/src/main/java/org/apache/tuscany/core/databinding/module/DataBindingModuleActivator.java
    incubator/tuscany/java/sca/modules/databinding-axiom/src/main/java/org/apache/tuscany/databinding/axiom/module/AxiomDataBindingModuleActivator.java
    incubator/tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/databinding/jaxb/module/JAXBDataBindingModuleActivator.java
    incubator/tuscany/java/sca/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/databinding/sdo2om/module/SDOAxiomModuleActivator.java
    incubator/tuscany/java/sca/modules/databinding-sdo/src/main/java/org/apache/tuscany/databinding/sdo/module/SDODataBindingModuleActivator.java
    incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/databinding/DefaultTransformerExtensionPoint.java
    incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/MediatorImplTestCase.java
    incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/TransformerRegistryImplTestCase.java

Modified: incubator/tuscany/java/sca/modules/core-databinding/src/main/java/org/apache/tuscany/core/databinding/module/DataBindingModuleActivator.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core-databinding/src/main/java/org/apache/tuscany/core/databinding/module/DataBindingModuleActivator.java?view=diff&rev=534592&r1=534591&r2=534592
==============================================================================
--- incubator/tuscany/java/sca/modules/core-databinding/src/main/java/org/apache/tuscany/core/databinding/module/DataBindingModuleActivator.java
(original)
+++ incubator/tuscany/java/sca/modules/core-databinding/src/main/java/org/apache/tuscany/core/databinding/module/DataBindingModuleActivator.java
Wed May  2 12:05:57 2007
@@ -69,22 +69,21 @@
  * @version $Rev$ $Date$
  */
 public class DataBindingModuleActivator implements ModuleActivator {
+    
+    private DataBindingExtensionPoint dataBindings;
+    private TransformerExtensionPoint transformers;
 
     public Map<Class, Object> getExtensionPoints() {
         Map<Class, Object> map = new HashMap<Class, Object>();
-        DefaultDataBindingExtensionPoint dataBindingRegistryImpl = new DefaultDataBindingExtensionPoint();
-        map.put(DataBindingExtensionPoint.class, dataBindingRegistryImpl);
-        DefaultTransformerExtensionPoint transformerRegistryImpl = new DefaultTransformerExtensionPoint();
-        transformerRegistryImpl.setDataBindingRegistry(dataBindingRegistryImpl);
-        map.put(TransformerExtensionPoint.class, transformerRegistryImpl);
+        dataBindings = new DefaultDataBindingExtensionPoint();
+        map.put(DataBindingExtensionPoint.class, dataBindings);
+        transformers = new DefaultTransformerExtensionPoint(dataBindings);
+        map.put(TransformerExtensionPoint.class, transformers);
         return map;
     }
 
     public void start(ExtensionPointRegistry registry) {
-        DataBindingExtensionPoint dataBindingRegistry = registry.getExtensionPoint(DataBindingExtensionPoint.class);
-        TransformerExtensionPoint transformerRegistry = registry.getExtensionPoint(TransformerExtensionPoint.class);
-
-        DefaultMediator mediator = new DefaultMediator(dataBindingRegistry, transformerRegistry);
+        DefaultMediator mediator = new DefaultMediator(dataBindings, transformers);
         Input2InputTransformer input2InputTransformer = new Input2InputTransformer();
         input2InputTransformer.setMediator(mediator);
 
@@ -94,64 +93,61 @@
         Exception2ExceptionTransformer exception2ExceptionTransformer = new Exception2ExceptionTransformer();
         exception2ExceptionTransformer.setMediator(mediator);
 
-        transformerRegistry.addTransformer(input2InputTransformer);
-        transformerRegistry.addTransformer(output2OutputTransformer);
-        transformerRegistry.addTransformer(exception2ExceptionTransformer);
-
-        JavaInterfaceIntrospectorExtensionPoint javaIntrospectorExtensionPoint = registry
-            .getExtensionPoint(JavaInterfaceIntrospectorExtensionPoint.class);
-        javaIntrospectorExtensionPoint.addExtension(new DataBindingJavaInterfaceProcessor(mediator
-            .getDataBindings()));
+        transformers.addTransformer(input2InputTransformer);
+        transformers.addTransformer(output2OutputTransformer);
+        transformers.addTransformer(exception2ExceptionTransformer);
+
+        JavaInterfaceIntrospectorExtensionPoint introspectors = registry.getExtensionPoint(JavaInterfaceIntrospectorExtensionPoint.class);
+        introspectors.addExtension(new DataBindingJavaInterfaceProcessor(dataBindings));
 
-        WirePostProcessorRegistry wirePostProcessorRegistry = registry
-            .getExtensionPoint(WirePostProcessorRegistry.class);
+        WirePostProcessorRegistry postProcessors = registry.getExtensionPoint(WirePostProcessorRegistry.class);
         ComponentManager componentManager = registry.getExtensionPoint(ComponentManager.class);
-        wirePostProcessorRegistry.register(new DataBindingWirePostProcessor(componentManager,
mediator));
+        postProcessors.register(new DataBindingWirePostProcessor(componentManager, mediator));
         
         DOMDataBinding domDataBinding = new DOMDataBinding();
-        domDataBinding.setDataBindingRegistry(dataBindingRegistry);
-        dataBindingRegistry.addDataBinding(domDataBinding);
+        domDataBinding.setDataBindingRegistry(dataBindings);
+        dataBindings.addDataBinding(domDataBinding);
         XMLStringDataBinding xmlStringDataBinding = new XMLStringDataBinding();
-        xmlStringDataBinding.setDataBindingRegistry(dataBindingRegistry);
-        dataBindingRegistry.addDataBinding(xmlStringDataBinding);
+        xmlStringDataBinding.setDataBindingRegistry(dataBindings);
+        dataBindings.addDataBinding(xmlStringDataBinding);
         XMLGroupDataBinding xmlGroupDataBinding = new XMLGroupDataBinding();
-        xmlGroupDataBinding.setDataBindingRegistry(dataBindingRegistry);
-        dataBindingRegistry.addDataBinding(xmlGroupDataBinding);
+        xmlGroupDataBinding.setDataBindingRegistry(dataBindings);
+        dataBindings.addDataBinding(xmlGroupDataBinding);
         JavaBeansDataBinding javaBeansDataBinding = new JavaBeansDataBinding();
-        javaBeansDataBinding.setDataBindingRegistry(dataBindingRegistry);
-        dataBindingRegistry.addDataBinding(javaBeansDataBinding);
+        javaBeansDataBinding.setDataBindingRegistry(dataBindings);
+        dataBindings.addDataBinding(javaBeansDataBinding);
 
         Group2GroupTransformer group2GroupTransformer= new Group2GroupTransformer();
         group2GroupTransformer.setMediator(mediator);
-        transformerRegistry.addTransformer(group2GroupTransformer);
+        transformers.addTransformer(group2GroupTransformer);
         
-        transformerRegistry.addTransformer(new InputSource2Node());
-        transformerRegistry.addTransformer(new InputSource2SAX());
-        transformerRegistry.addTransformer(new InputStream2Node());
-        transformerRegistry.addTransformer(new InputStream2SAX());
-
-        transformerRegistry.addTransformer(new DOMNode2JavaBeanTransformer());
-        transformerRegistry.addTransformer(new Node2OutputStream());
-        transformerRegistry.addTransformer(new Node2String());
-        transformerRegistry.addTransformer(new Node2Writer());
-        transformerRegistry.addTransformer(new Node2XMLStreamReader());
+        transformers.addTransformer(new InputSource2Node());
+        transformers.addTransformer(new InputSource2SAX());
+        transformers.addTransformer(new InputStream2Node());
+        transformers.addTransformer(new InputStream2SAX());
+
+        transformers.addTransformer(new DOMNode2JavaBeanTransformer());
+        transformers.addTransformer(new Node2OutputStream());
+        transformers.addTransformer(new Node2String());
+        transformers.addTransformer(new Node2Writer());
+        transformers.addTransformer(new Node2XMLStreamReader());
 
-        transformerRegistry.addTransformer(new JavaBean2DOMNodeTransformer());
-        transformerRegistry.addTransformer(new Reader2Node());
+        transformers.addTransformer(new JavaBean2DOMNodeTransformer());
+        transformers.addTransformer(new Reader2Node());
 
-        transformerRegistry.addTransformer(new Reader2SAX());
-        transformerRegistry.addTransformer(new SAX2DOMPipe());
+        transformers.addTransformer(new Reader2SAX());
+        transformers.addTransformer(new SAX2DOMPipe());
         
-        transformerRegistry.addTransformer(new Source2ResultTransformer());
-        transformerRegistry.addTransformer(new StreamDataPipe());
-        transformerRegistry.addTransformer(new String2Node());
-        transformerRegistry.addTransformer(new String2SAX());
-        transformerRegistry.addTransformer(new String2XMLStreamReader());
-        transformerRegistry.addTransformer(new Writer2ReaderDataPipe());
-
-        transformerRegistry.addTransformer(new XMLStreamReader2Node());
-        transformerRegistry.addTransformer(new XMLStreamReader2SAX());
-        transformerRegistry.addTransformer(new XMLStreamReader2String());
+        transformers.addTransformer(new Source2ResultTransformer());
+        transformers.addTransformer(new StreamDataPipe());
+        transformers.addTransformer(new String2Node());
+        transformers.addTransformer(new String2SAX());
+        transformers.addTransformer(new String2XMLStreamReader());
+        transformers.addTransformer(new Writer2ReaderDataPipe());
+
+        transformers.addTransformer(new XMLStreamReader2Node());
+        transformers.addTransformer(new XMLStreamReader2SAX());
+        transformers.addTransformer(new XMLStreamReader2String());
     }
     
     public void stop(ExtensionPointRegistry registry) {

Modified: incubator/tuscany/java/sca/modules/databinding-axiom/src/main/java/org/apache/tuscany/databinding/axiom/module/AxiomDataBindingModuleActivator.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding-axiom/src/main/java/org/apache/tuscany/databinding/axiom/module/AxiomDataBindingModuleActivator.java?view=diff&rev=534592&r1=534591&r2=534592
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding-axiom/src/main/java/org/apache/tuscany/databinding/axiom/module/AxiomDataBindingModuleActivator.java
(original)
+++ incubator/tuscany/java/sca/modules/databinding-axiom/src/main/java/org/apache/tuscany/databinding/axiom/module/AxiomDataBindingModuleActivator.java
Wed May  2 12:05:57 2007
@@ -45,16 +45,16 @@
     }
 
     public void start(ExtensionPointRegistry registry) {
-        DataBindingExtensionPoint dataBindingRegistry = registry.getExtensionPoint(DataBindingExtensionPoint.class);
-        dataBindingRegistry.addDataBinding(new AxiomDataBinding());
+        DataBindingExtensionPoint dataBindings = registry.getExtensionPoint(DataBindingExtensionPoint.class);
+        dataBindings.addDataBinding(new AxiomDataBinding());
 
-        TransformerExtensionPoint transformerRegistry = registry.getExtensionPoint(TransformerExtensionPoint.class);
-        transformerRegistry.addTransformer(new Object2OMElement());
-        transformerRegistry.addTransformer(new OMElement2Object());
-        transformerRegistry.addTransformer(new OMElement2String());
-        transformerRegistry.addTransformer(new OMElement2XMLStreamReader());
-        transformerRegistry.addTransformer(new String2OMElement());
-        transformerRegistry.addTransformer(new XMLStreamReader2OMElement());
+        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
+        transformers.addTransformer(new Object2OMElement());
+        transformers.addTransformer(new OMElement2Object());
+        transformers.addTransformer(new OMElement2String());
+        transformers.addTransformer(new OMElement2XMLStreamReader());
+        transformers.addTransformer(new String2OMElement());
+        transformers.addTransformer(new XMLStreamReader2OMElement());
     }
 
     public void stop(ExtensionPointRegistry registry) {

Modified: incubator/tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/databinding/jaxb/module/JAXBDataBindingModuleActivator.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/databinding/jaxb/module/JAXBDataBindingModuleActivator.java?view=diff&rev=534592&r1=534591&r2=534592
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/databinding/jaxb/module/JAXBDataBindingModuleActivator.java
(original)
+++ incubator/tuscany/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/databinding/jaxb/module/JAXBDataBindingModuleActivator.java
Wed May  2 12:05:57 2007
@@ -45,17 +45,17 @@
     }
 
     public void start(ExtensionPointRegistry registry) {
-        DataBindingExtensionPoint dataBindingRegistry = registry.getExtensionPoint(DataBindingExtensionPoint.class);
-        dataBindingRegistry.addDataBinding(new JAXBDataBinding());
+        DataBindingExtensionPoint dataBindings = registry.getExtensionPoint(DataBindingExtensionPoint.class);
+        dataBindings.addDataBinding(new JAXBDataBinding());
 
-        TransformerExtensionPoint transformerRegistry = registry.getExtensionPoint(TransformerExtensionPoint.class);
-        transformerRegistry.addTransformer(new JAXB2Node());
-        transformerRegistry.addTransformer(new Node2JAXB());
-        transformerRegistry.addTransformer(new Reader2JAXB());
-        transformerRegistry.addTransformer(new XMLStreamReader2JAXB());
+        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
+        transformers.addTransformer(new JAXB2Node());
+        transformers.addTransformer(new Node2JAXB());
+        transformers.addTransformer(new Reader2JAXB());
+        transformers.addTransformer(new XMLStreamReader2JAXB());
 
-        JavaInterfaceIntrospectorExtensionPoint introspectorExtensionPoint = registry.getExtensionPoint(JavaInterfaceIntrospectorExtensionPoint.class);
-        introspectorExtensionPoint.addExtension(new JAXWSJavaInterfaceProcessor());
+        JavaInterfaceIntrospectorExtensionPoint introspectors = registry.getExtensionPoint(JavaInterfaceIntrospectorExtensionPoint.class);
+        introspectors.addExtension(new JAXWSJavaInterfaceProcessor());
         
     }
 

Modified: incubator/tuscany/java/sca/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/databinding/sdo2om/module/SDOAxiomModuleActivator.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/databinding/sdo2om/module/SDOAxiomModuleActivator.java?view=diff&rev=534592&r1=534591&r2=534592
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/databinding/sdo2om/module/SDOAxiomModuleActivator.java
(original)
+++ incubator/tuscany/java/sca/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/databinding/sdo2om/module/SDOAxiomModuleActivator.java
Wed May  2 12:05:57 2007
@@ -39,9 +39,9 @@
     }
 
     public void start(ExtensionPointRegistry registry) {
-        TransformerExtensionPoint transformerRegistry = registry.getExtensionPoint(TransformerExtensionPoint.class);
-        transformerRegistry.addTransformer(new DataObject2OMElement());
-        transformerRegistry.addTransformer(new XMLDocument2OMElement());
+        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
+        transformers.addTransformer(new DataObject2OMElement());
+        transformers.addTransformer(new XMLDocument2OMElement());
     }
 
     public void stop(ExtensionPointRegistry registry) {

Modified: incubator/tuscany/java/sca/modules/databinding-sdo/src/main/java/org/apache/tuscany/databinding/sdo/module/SDODataBindingModuleActivator.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding-sdo/src/main/java/org/apache/tuscany/databinding/sdo/module/SDODataBindingModuleActivator.java?view=diff&rev=534592&r1=534591&r2=534592
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding-sdo/src/main/java/org/apache/tuscany/databinding/sdo/module/SDODataBindingModuleActivator.java
(original)
+++ incubator/tuscany/java/sca/modules/databinding-sdo/src/main/java/org/apache/tuscany/databinding/sdo/module/SDODataBindingModuleActivator.java
Wed May  2 12:05:57 2007
@@ -52,26 +52,25 @@
     }
 
     public void start(ExtensionPointRegistry registry) {
-        DataBindingExtensionPoint dataBindingRegistry = registry.getExtensionPoint(DataBindingExtensionPoint.class);
-        dataBindingRegistry.addDataBinding(new SDODataBinding());
+        DataBindingExtensionPoint dataBindings = registry.getExtensionPoint(DataBindingExtensionPoint.class);
+        dataBindings.addDataBinding(new SDODataBinding());
 
-        StAXArtifactProcessorExtensionPoint processorRegistry = registry
-            .getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
+        StAXArtifactProcessorExtensionPoint processors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
         HelperContextRegistry contextRegistry = new HelperContextRegistryImpl();
-        processorRegistry.addExtension(new ImportSDOProcessor(contextRegistry));
+        processors.addExtension(new ImportSDOProcessor(contextRegistry));
 
-        TransformerExtensionPoint transformerRegistry = registry.getExtensionPoint(TransformerExtensionPoint.class);
-        transformerRegistry.addTransformer(new DataObject2String());
-        transformerRegistry.addTransformer(new DataObject2XMLStreamReader());
-        transformerRegistry.addTransformer(new XMLDocument2String());
-        transformerRegistry.addTransformer(new String2DataObject());
-        transformerRegistry.addTransformer(new XMLDocument2XMLStreamReader());
-        transformerRegistry.addTransformer(new XMLStreamReader2DataObject());
-        transformerRegistry.addTransformer(new XMLStreamReader2XMLDocument());
+        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
+        transformers.addTransformer(new DataObject2String());
+        transformers.addTransformer(new DataObject2XMLStreamReader());
+        transformers.addTransformer(new XMLDocument2String());
+        transformers.addTransformer(new String2DataObject());
+        transformers.addTransformer(new XMLDocument2XMLStreamReader());
+        transformers.addTransformer(new XMLStreamReader2DataObject());
+        transformers.addTransformer(new XMLStreamReader2XMLDocument());
         
-        JavaClassIntrospectorExtensionPoint introspectorExtensionPoint = registry.getExtensionPoint(JavaClassIntrospectorExtensionPoint.class);
+        JavaClassIntrospectorExtensionPoint introspectors = registry.getExtensionPoint(JavaClassIntrospectorExtensionPoint.class);
         AssemblyFactory assemblyFactory = new DefaultAssemblyFactory();
-        introspectorExtensionPoint.addExtension(new HelperContextProcessor(assemblyFactory,
contextRegistry));
+        introspectors.addExtension(new HelperContextProcessor(assemblyFactory, contextRegistry));
 
     }
 

Modified: incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/databinding/DefaultTransformerExtensionPoint.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/databinding/DefaultTransformerExtensionPoint.java?view=diff&rev=534592&r1=534591&r2=534592
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/databinding/DefaultTransformerExtensionPoint.java
(original)
+++ incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/databinding/DefaultTransformerExtensionPoint.java
Wed May  2 12:05:57 2007
@@ -27,9 +27,13 @@
  * @version $Rev$ $Date$
  */
 public class DefaultTransformerExtensionPoint implements TransformerExtensionPoint {
-    private DataBindingExtensionPoint dataBindingRegistry;
+    private DataBindingExtensionPoint dataBindings;
     
     private final DirectedGraph<Object, Transformer> graph = new DirectedGraph<Object,
Transformer>();
+    
+    public DefaultTransformerExtensionPoint(DataBindingExtensionPoint dataBindings) {
+        this.dataBindings = dataBindings;
+    }
 
     public void addTransformer(String sourceType, String resultType, int weight, Transformer
transformer) {
         graph.addEdge(sourceType, resultType, transformer, weight);
@@ -70,20 +74,13 @@
     }
 
     /**
-     * @param dataBindingRegistry the dataBindingRegistry to set
-     */
-    public void setDataBindingRegistry(DataBindingExtensionPoint dataBindingRegistry) {
-        this.dataBindingRegistry = dataBindingRegistry;
-    }
-    
-    /**
      * Normalize the id to a name of a data binding as databindings may have aliases
      * @param id
      * @return
      */
     private String normalize(String id) {
-        if (dataBindingRegistry != null) {
-            DataBinding dataBinding = dataBindingRegistry.getDataBinding(id);
+        if (dataBindings != null) {
+            DataBinding dataBinding = dataBindings.getDataBinding(id);
             return dataBinding == null ? id : dataBinding.getName();
         } else {
             return id;

Modified: incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/MediatorImplTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/MediatorImplTestCase.java?view=diff&rev=534592&r1=534591&r2=534592
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/MediatorImplTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/MediatorImplTestCase.java
Wed May  2 12:05:57 2007
@@ -78,8 +78,8 @@
     protected void setUp() throws Exception {
         super.setUp();
 
-        TransformerExtensionPoint registry = new DefaultTransformerExtensionPoint();
         DataBindingExtensionPoint dataBindingRegistry = new DefaultDataBindingExtensionPoint();
+        TransformerExtensionPoint registry = new DefaultTransformerExtensionPoint(dataBindingRegistry);
 
         registry.addTransformer(new String2SAX());
         registry.addTransformer(new SAX2DOMPipe());

Modified: incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/TransformerRegistryImplTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/TransformerRegistryImplTestCase.java?view=diff&rev=534592&r1=534591&r2=534592
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/TransformerRegistryImplTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/databinding/impl/TransformerRegistryImplTestCase.java
Wed May  2 12:05:57 2007
@@ -43,7 +43,7 @@
      */
     protected void setUp() throws Exception {
         super.setUp();
-        registry = new DefaultTransformerExtensionPoint();
+        registry = new DefaultTransformerExtensionPoint(null);
     }
 
     public void testRegisterTransformer1() {



---------------------------------------------------------------------
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