tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r526236 - in /incubator/tuscany/java/sca/modules/impl-java-xml/src: main/java/org/apache/tuscany/implementation/java/introspection/impl/ test/java/org/apache/tuscany/core/ test/java/org/apache/tuscany/implementation/java/introspection/ test...
Date Fri, 06 Apr 2007 17:42:24 GMT
Author: rfeng
Date: Fri Apr  6 10:42:23 2007
New Revision: 526236

URL: http://svn.apache.org/viewvc?view=rev&rev=526236
Log:
Change the package name and add IntrospectionRegistryImpl

Added:
    incubator/tuscany/java/sca/modules/impl-java-xml/src/main/java/org/apache/tuscany/implementation/java/introspection/impl/
    incubator/tuscany/java/sca/modules/impl-java-xml/src/main/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryImpl.java
  (with props)
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/impl/
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryTestCase.java
  (with props)
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/
      - copied from r526232, incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/core/implementation/processor/
Removed:
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/core/
Modified:
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractProcessorTest.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractPropertyProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AllowsPassByReferenceProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorPropertyTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorReferenceTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorResourceTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ContextProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConversationProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConvertTimeMillisTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/DestroyProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/EagerInitProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicAndPropertyTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicConstructorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicPojoProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeutisticExtensibleConstructorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/InitProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ModelHelper.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/PropertyProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ReferenceProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ResourceProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ScopeProcessorTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceCallbackTestCase.java
    incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceProcessorTestCase.java

Added: incubator/tuscany/java/sca/modules/impl-java-xml/src/main/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/main/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryImpl.java?view=auto&rev=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/main/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryImpl.java
(added)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/main/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryImpl.java
Fri Apr  6 10:42:23 2007
@@ -0,0 +1,137 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.implementation.java.introspection.impl;
+
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Field;
+import java.lang.reflect.Method;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.tuscany.implementation.java.impl.ConstructorDefinition;
+import org.apache.tuscany.implementation.java.impl.JavaImplementationDefinition;
+import org.apache.tuscany.implementation.java.impl.Parameter;
+import org.apache.tuscany.implementation.java.introspection.ImplementationProcessor;
+import org.apache.tuscany.implementation.java.introspection.IntrospectionRegistry;
+import org.apache.tuscany.implementation.java.introspection.ProcessingException;
+import org.apache.tuscany.implementation.java.processor.JavaIntrospectionHelper;
+
+/**
+ * Default implementation of the <code>IntrospectionRegistry</code>
+ * 
+ * @version $Rev$ $Date$
+ */
+public class IntrospectionRegistryImpl implements IntrospectionRegistry {
+
+    private List<ImplementationProcessor> processors = new ArrayList<ImplementationProcessor>();
+
+    public IntrospectionRegistryImpl() {
+    }
+
+    public void registerProcessor(ImplementationProcessor processor) {
+        processors.add(processor);
+    }
+
+    public void unregisterProcessor(ImplementationProcessor processor) {
+        processors.remove(processor);
+    }
+
+    /**
+     * JSR-250 PFD recommends the following guidelines for how annotations
+     * interact with inheritance in order to keep the resulting complexity in
+     * control:
+     * <ol>
+     * <li>Class-level annotations only affect the class they annotate and
+     * their members, that is, its methods and fields. They never affect a
+     * member declared by a superclass, even if it is not hidden or overridden
+     * by the class in question.
+     * <li>In addition to affecting the annotated class, class-level
+     * annotations may act as a shorthand for member-level annotations. If a
+     * member carries a specific member-level annotation, any annotations of the
+     * same type implied by a class-level annotation are ignored. In other
+     * words, explicit member-level annotations have priority over member-level
+     * annotations implied by a class-level annotation.
+     * <li>The interfaces implemented by a class never contribute annotations
+     * to the class itself or any of its members.
+     * <li>Members inherited from a superclass and which are not hidden or
+     * overridden maintain the annotations they had in the class that declared
+     * them, including member-level annotations implied by class-level ones.
+     * <li>Member-level annotations on a hidden or overridden member are always
+     * ignored.
+     * </ol>
+     */
+    public JavaImplementationDefinition introspect(Class<?> clazz, JavaImplementationDefinition
type)
+        throws ProcessingException {
+        for (ImplementationProcessor processor : processors) {
+            processor.visitClass(clazz, type);
+        }
+
+        for (Constructor<?> constructor : clazz.getConstructors()) {
+            for (ImplementationProcessor processor : processors) {
+                processor.visitConstructor(constructor, type);
+                // Assuming the visitClass or visitConstructor will populate the
+                // type.getConstructors
+                ConstructorDefinition<?> definition = type.getConstructors().get(constructor);
+                if (definition != null) {
+                    for (Parameter p : definition.getParameters()) {
+                        processor.visitConstructorParameter(p, type);
+                    }
+                }
+            }
+        }
+
+        Set<Method> methods = JavaIntrospectionHelper.getAllUniquePublicProtectedMethods(clazz);
+        for (Method method : methods) {
+            for (ImplementationProcessor processor : processors) {
+                processor.visitMethod(method, type);
+            }
+        }
+
+        Set<Field> fields = JavaIntrospectionHelper.getAllPublicAndProtectedFields(clazz);
+        for (Field field : fields) {
+            for (ImplementationProcessor processor : processors) {
+                processor.visitField(field, type);
+            }
+        }
+
+        Class superClass = clazz.getSuperclass();
+        if (superClass != null) {
+            visitSuperClass(superClass, type);
+        }
+
+        for (ImplementationProcessor processor : processors) {
+            processor.visitEnd(clazz, type);
+        }
+        return type;
+    }
+
+    private void visitSuperClass(Class<?> clazz, JavaImplementationDefinition type)
throws ProcessingException {
+        if (!Object.class.equals(clazz)) {
+            for (ImplementationProcessor processor : processors) {
+                processor.visitSuperClass(clazz, type);
+            }
+            clazz = clazz.getSuperclass();
+            if (clazz != null) {
+                visitSuperClass(clazz, type);
+            }
+        }
+    }
+
+}

Propchange: incubator/tuscany/java/sca/modules/impl-java-xml/src/main/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/impl-java-xml/src/main/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryTestCase.java?view=auto&rev=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryTestCase.java
(added)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryTestCase.java
Fri Apr  6 10:42:23 2007
@@ -0,0 +1,92 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.implementation.java.introspection.impl;
+
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Field;
+import java.lang.reflect.Method;
+
+import junit.framework.TestCase;
+
+import org.apache.tuscany.implementation.java.impl.JavaImplementationDefinition;
+import org.apache.tuscany.implementation.java.introspection.ImplementationProcessor;
+import org.easymock.EasyMock;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class IntrospectionRegistryTestCase extends TestCase {
+
+    public void testRegister() throws Exception {
+        IntrospectionRegistryImpl registry = new IntrospectionRegistryImpl();
+        ImplementationProcessor processor = EasyMock.createNiceMock(ImplementationProcessor.class);
+        registry.registerProcessor(processor);
+    }
+
+    public void testUnegister() throws Exception {
+        IntrospectionRegistryImpl registry = new IntrospectionRegistryImpl();
+        ImplementationProcessor processor = EasyMock.createNiceMock(ImplementationProcessor.class);
+        registry.registerProcessor(processor);
+        registry.unregisterProcessor(processor);
+    }
+
+    @SuppressWarnings("unchecked")
+    public void testWalk() throws Exception {
+        IntrospectionRegistryImpl registry = new IntrospectionRegistryImpl();
+        ImplementationProcessor processor = EasyMock.createMock(ImplementationProcessor.class);
+        processor.visitClass(EasyMock.eq(Bar.class), EasyMock.isA(JavaImplementationDefinition.class));
+        processor.visitConstructor(EasyMock.isA(Constructor.class), EasyMock.isA(JavaImplementationDefinition.class));
+        processor.visitMethod(EasyMock.isA(Method.class), EasyMock.isA(JavaImplementationDefinition.class));
+        processor.visitField(EasyMock.isA(Field.class), EasyMock.isA(JavaImplementationDefinition.class));
+        processor.visitSuperClass(EasyMock.isA(Class.class), EasyMock.isA(JavaImplementationDefinition.class));
+        processor.visitEnd(EasyMock.isA(Class.class), EasyMock.isA(JavaImplementationDefinition.class));
+
+        // mock.expects(once()).method("visitClass");
+        // mock.expects(once()).method("visitMethod");
+        // mock.expects(once()).method("visitField");
+        // mock.expects(once()).method("visitConstructor");
+        // mock.expects(once()).method("visitSuperClass");
+        // mock.expects(once()).method("visitEnd");
+        EasyMock.replay(processor);
+        registry.registerProcessor(processor);
+        registry.introspect(Bar.class, new JavaImplementationDefinition());
+        EasyMock.verify(processor);
+    }
+
+    protected void setUp() throws Exception {
+        super.setUp();
+    }
+
+    private class Baz {
+
+    }
+
+    private class Bar extends Baz {
+
+        protected String bar;
+
+        public Bar() {
+        }
+
+        public void bar() {
+        }
+
+    }
+
+}

Propchange: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/introspection/impl/IntrospectionRegistryTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractProcessorTest.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractProcessorTest.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractProcessorTest.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractProcessorTest.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Constructor;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractPropertyProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractPropertyProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractPropertyProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AbstractPropertyProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,10 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getProperty;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getProperty;
 
 import java.lang.annotation.Retention;
 import java.lang.reflect.Constructor;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AllowsPassByReferenceProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AllowsPassByReferenceProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AllowsPassByReferenceProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/AllowsPassByReferenceProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Method;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,10 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getProperty;
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getReference;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getProperty;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getReference;
 
 import java.lang.reflect.Constructor;
 import java.util.Collection;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorPropertyTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorPropertyTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorPropertyTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorPropertyTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,9 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getProperty;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getProperty;
 
 import java.lang.reflect.Constructor;
 import java.util.List;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorReferenceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorReferenceTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorReferenceTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorReferenceTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,9 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getReference;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getReference;
 
 import java.lang.reflect.Constructor;
 import java.util.List;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorResourceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorResourceTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorResourceTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConstructorResourceTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Constructor;
 import java.util.List;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ContextProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ContextProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ContextProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ContextProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Field;
 import java.lang.reflect.Method;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConversationProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConversationProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConversationProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConversationProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Field;
 import java.lang.reflect.Method;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConvertTimeMillisTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConvertTimeMillisTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConvertTimeMillisTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ConvertTimeMillisTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import junit.framework.TestCase;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/DestroyProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/DestroyProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/DestroyProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/DestroyProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Method;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/EagerInitProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/EagerInitProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/EagerInitProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/EagerInitProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import junit.framework.TestCase;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicAndPropertyTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicAndPropertyTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicAndPropertyTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicAndPropertyTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Constructor;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicConstructorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicConstructorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicConstructorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicConstructorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,9 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getProperty;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getProperty;
 
 import java.lang.reflect.Constructor;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicPojoProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicPojoProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicPojoProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeuristicPojoProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Constructor;
 import java.util.Collection;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeutisticExtensibleConstructorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeutisticExtensibleConstructorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeutisticExtensibleConstructorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/HeutisticExtensibleConstructorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Constructor;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/InitProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/InitProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/InitProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/InitProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Method;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ModelHelper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ModelHelper.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ModelHelper.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ModelHelper.java
Fri Apr  6 10:42:23 2007
@@ -17,7 +17,7 @@
  * under the License.    
  */
 
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import org.apache.tuscany.assembly.AssemblyFactory;
 import org.apache.tuscany.assembly.ComponentService;
@@ -26,13 +26,13 @@
 import org.apache.tuscany.assembly.Reference;
 import org.apache.tuscany.assembly.Service;
 import org.apache.tuscany.assembly.impl.DefaultAssemblyFactory;
-import org.apache.tuscany.core.implementation.processor.HeuristicConstructorTestCase.Foo1;
 import org.apache.tuscany.idl.Interface;
 import org.apache.tuscany.idl.java.JavaFactory;
 import org.apache.tuscany.idl.java.JavaInterface;
 import org.apache.tuscany.idl.java.impl.DefaultJavaFactory;
 import org.apache.tuscany.idl.java.impl.JavaInterfaceImpl;
 import org.apache.tuscany.implementation.java.impl.JavaImplementationDefinition;
+import org.apache.tuscany.implementation.java.processor.HeuristicConstructorTestCase.Foo1;
 
 /**
  * @version $Rev$ $Date$

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/PropertyProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/PropertyProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/PropertyProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/PropertyProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,9 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getProperty;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getProperty;
 
 import java.util.Collection;
 import java.util.List;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ReferenceProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ReferenceProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ReferenceProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ReferenceProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,9 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getReference;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getReference;
 
 import java.util.Collection;
 import java.util.List;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ResourceProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ResourceProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ResourceProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ResourceProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import java.lang.reflect.Field;
 import java.lang.reflect.Method;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ScopeProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ScopeProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ScopeProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ScopeProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import junit.framework.TestCase;
 

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceCallbackTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceCallbackTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceCallbackTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceCallbackTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,9 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
-import static org.apache.tuscany.core.implementation.processor.ModelHelper.getService;
+import static org.apache.tuscany.implementation.java.processor.ModelHelper.getService;
 
 import java.lang.reflect.Field;
 import java.lang.reflect.Method;

Modified: incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceProcessorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceProcessorTestCase.java?view=diff&rev=526236&r1=526232&r2=526236
==============================================================================
--- incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceProcessorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/impl-java-xml/src/test/java/org/apache/tuscany/implementation/java/processor/ServiceProcessorTestCase.java
Fri Apr  6 10:42:23 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.implementation.processor;
+package org.apache.tuscany.implementation.java.processor;
 
 import junit.framework.TestCase;
 



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