From cd174bad484f3d6f2f755d9fe517b0b37d7f928b Mon Sep 17 00:00:00 2001 From: mcombellack Date: Wed, 28 Jan 2009 14:07:54 +0000 Subject: TUSCANY-2790 - Updated package names from org.osoa.sca to org.oasisopen.sca and from org.osoa.sca.annotations to org.oasisopen.sca.annotation to reflect the new package names in the OASIS Open SCA specifications. To do this, I: * Renamed the org.osoa.sca package to org.oasisopen.sca using Eclipse refactoring * Renamed the org.osoa.sca.annotations package to org.oasisopen.sca.annotation using Eclipse refactoring * Did a global search and replace for all remaining instances of the old org.osoa package names and replaced with the new org.oasisopen version Hopefully, I have not missed too many instances of the old package name git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@738490 13f79535-47bb-0310-9956-ffa450edef68 --- .../impl/AllowsPassByReferenceProcessorTestCase.java | 2 +- .../impl/ConstructorProcessorTestCase.java | 16 ++++++++-------- .../introspect/impl/ConstructorPropertyTestCase.java | 18 +++++++++--------- .../impl/ConstructorReferenceTestCase.java | 20 ++++++++++---------- .../introspect/impl/ConstructorResourceTestCase.java | 16 ++++++++-------- .../introspect/impl/ContextProcessorTestCase.java | 8 ++++---- .../impl/ConversationIDProcessorTestCase.java | 2 +- .../impl/ConversationProcessorTestCase.java | 6 +++--- .../introspect/impl/DestroyProcessorTestCase.java | 2 +- .../introspect/impl/EagerInitProcessorTestCase.java | 2 +- .../impl/HeuristicAndPropertyTestCase.java | 2 +- .../impl/HeuristicConstructorTestCase.java | 6 +++--- .../impl/HeuristicPojoProcessorTestCase.java | 8 ++++---- .../impl/HeutisticExtensibleConstructorTestCase.java | 8 ++++---- .../java/introspect/impl/InitProcessorTestCase.java | 2 +- .../introspect/impl/PolicyProcessorTestCase.java | 4 ++-- .../introspect/impl/PropertyProcessorTestCase.java | 2 +- .../introspect/impl/ReferenceProcessorTestCase.java | 2 +- .../java/introspect/impl/ScopeProcessorTestCase.java | 10 +++++----- .../introspect/impl/ServiceCallbackTestCase.java | 6 +++--- .../introspect/impl/ServiceProcessorTestCase.java | 6 +++--- 21 files changed, 74 insertions(+), 74 deletions(-) (limited to 'java/sca/modules/implementation-java/src/test') diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/AllowsPassByReferenceProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/AllowsPassByReferenceProcessorTestCase.java index 689201dd99..ce79ae2045 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/AllowsPassByReferenceProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/AllowsPassByReferenceProcessorTestCase.java @@ -29,7 +29,7 @@ import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.annotations.AllowsPassByReference; +import org.oasisopen.sca.annotation.AllowsPassByReference; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessorTestCase.java index e4b89ebf65..625aec4858 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessorTestCase.java @@ -41,8 +41,8 @@ import org.apache.tuscany.sca.implementation.java.JavaParameterImpl; import org.apache.tuscany.sca.interfacedef.java.DefaultJavaInterfaceFactory; import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory; import org.junit.Test; -import org.osoa.sca.annotations.Property; -import org.osoa.sca.annotations.Reference; +import org.oasisopen.sca.annotation.Property; +import org.oasisopen.sca.annotation.Reference; /** * @version $Rev$ $Date$ @@ -114,19 +114,19 @@ public class ConstructorProcessorTestCase { private static class BadFoo { - @org.osoa.sca.annotations.Constructor("foo") + @org.oasisopen.sca.annotation.Constructor("foo") public BadFoo(String foo) { } - @org.osoa.sca.annotations.Constructor( {"foo", "bar"}) + @org.oasisopen.sca.annotation.Constructor( {"foo", "bar"}) public BadFoo(String foo, String bar) { } } private static class Foo { - @org.osoa.sca.annotations.Constructor("foo") + @org.oasisopen.sca.annotation.Constructor("foo") public Foo(String foo) { } @@ -138,13 +138,13 @@ public class ConstructorProcessorTestCase { } private static class BadAnnotation { - @org.osoa.sca.annotations.Constructor("foo") + @org.oasisopen.sca.annotation.Constructor("foo") public BadAnnotation(String foo, Foo ref) { } } public static final class Mixed { - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public Mixed(@Reference String param1, @Property(name = "foo") String param2, @Reference(name = "bar") @@ -153,7 +153,7 @@ public class ConstructorProcessorTestCase { } public static final class Multiple { - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public Multiple(@Reference Collection param1, @Property(name = "foo") String[] param2, @Reference(name = "bar", required = true) diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorPropertyTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorPropertyTestCase.java index c736a96a01..3f531e48d6 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorPropertyTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorPropertyTestCase.java @@ -31,7 +31,7 @@ import org.apache.tuscany.sca.implementation.java.DefaultJavaImplementationFacto import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Test; -import org.osoa.sca.annotations.Property; +import org.oasisopen.sca.annotation.Property; /** * @version $Rev$ $Date$ @@ -121,22 +121,22 @@ public class ConstructorPropertyTestCase extends AbstractProcessorTest { private static class Foo { - @org.osoa.sca.annotations.Constructor() + @org.oasisopen.sca.annotation.Constructor() public Foo(@Property(name = "myProp", required = true)String prop) { } - @org.osoa.sca.annotations.Constructor("myProp") + @org.oasisopen.sca.annotation.Constructor("myProp") public Foo(@Property Integer prop) { } - @org.osoa.sca.annotations.Constructor() + @org.oasisopen.sca.annotation.Constructor() public Foo(@Property(name = "myProp1")String prop1, @Property(name = "myProp2")String prop2) { } - @org.osoa.sca.annotations.Constructor() + @org.oasisopen.sca.annotation.Constructor() public Foo(@Property List prop) { } @@ -144,22 +144,22 @@ public class ConstructorPropertyTestCase extends AbstractProcessorTest { private static class BadFoo { - @org.osoa.sca.annotations.Constructor() + @org.oasisopen.sca.annotation.Constructor() public BadFoo(@Property(name = "myProp")String prop1, @Property(name = "myProp")String prop2) { } - @org.osoa.sca.annotations.Constructor() + @org.oasisopen.sca.annotation.Constructor() public BadFoo(@Property String prop) { } - @org.osoa.sca.annotations.Constructor("myProp") + @org.oasisopen.sca.annotation.Constructor("myProp") public BadFoo(@Property Integer prop, @Property Integer prop2) { } - @org.osoa.sca.annotations.Constructor({"myRef", "myRef2"}) + @org.oasisopen.sca.annotation.Constructor({"myRef", "myRef2"}) public BadFoo(@Property List ref, @Property(name = "myOtherRef")List ref2) { } diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorReferenceTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorReferenceTestCase.java index 5676d3e6a2..decdc34386 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorReferenceTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorReferenceTestCase.java @@ -31,7 +31,7 @@ import org.apache.tuscany.sca.implementation.java.DefaultJavaImplementationFacto import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Test; -import org.osoa.sca.annotations.Reference; +import org.oasisopen.sca.annotation.Reference; /** * @version $Rev$ $Date$ @@ -117,22 +117,22 @@ public class ConstructorReferenceTestCase extends AbstractProcessorTest { private static class Foo { - @org.osoa.sca.annotations.Constructor() + @org.oasisopen.sca.annotation.Constructor() public Foo(@Reference(name = "myRef", required = true)String prop) { } - @org.osoa.sca.annotations.Constructor() + @org.oasisopen.sca.annotation.Constructor() public Foo(@Reference(name = "myRef1")String prop1, @Reference(name = "myRef2")String prop2) { } - @org.osoa.sca.annotations.Constructor("myRef") + @org.oasisopen.sca.annotation.Constructor("myRef") public Foo(@Reference Integer prop) { } - @org.osoa.sca.annotations.Constructor() + @org.oasisopen.sca.annotation.Constructor() public Foo(@Reference List prop) { } @@ -140,7 +140,7 @@ public class ConstructorReferenceTestCase extends AbstractProcessorTest { private static class NoNameFoo { - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public NoNameFoo(@Reference String prop) { } @@ -148,22 +148,22 @@ public class ConstructorReferenceTestCase extends AbstractProcessorTest { private static class BadFoo { - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public BadFoo(@Reference(name = "myRef")String prop1, @Reference(name = "myRef")String prop2) { } - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public BadFoo(@Reference String prop) { } - @org.osoa.sca.annotations.Constructor("myRef") + @org.oasisopen.sca.annotation.Constructor("myRef") public BadFoo(@Reference Integer ref, @Reference Integer ref2) { } - @org.osoa.sca.annotations.Constructor({"myRef", "myRef2"}) + @org.oasisopen.sca.annotation.Constructor({"myRef", "myRef2"}) public BadFoo(@Reference List ref, @Reference(name = "myOtherRef")List ref2) { } diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorResourceTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorResourceTestCase.java index e1a0edc0f8..e8d26f6103 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorResourceTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorResourceTestCase.java @@ -116,22 +116,22 @@ public class ConstructorResourceTestCase extends AbstractProcessorTest { private static class Foo { - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public Foo(@Resource(name = "myResource") String resource) { } - @org.osoa.sca.annotations.Constructor("myResource") + @org.oasisopen.sca.annotation.Constructor("myResource") public Foo(@Resource Integer resource) { } - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public Foo(@Resource(name = "myResource1") String res1, @Resource(name = "myResource2") String res2) { } - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public Foo(@Resource List res) { } @@ -139,22 +139,22 @@ public class ConstructorResourceTestCase extends AbstractProcessorTest { private static class BadFoo { - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public BadFoo(@Resource(name = "myResource") String res1, @Resource(name = "myResource") String res2) { } - @org.osoa.sca.annotations.Constructor + @org.oasisopen.sca.annotation.Constructor public BadFoo(@Resource String res) { } - @org.osoa.sca.annotations.Constructor("myProp") + @org.oasisopen.sca.annotation.Constructor("myProp") public BadFoo(@Resource Integer res, @Resource Integer res2) { } - @org.osoa.sca.annotations.Constructor({"myRes", "myRes2"}) + @org.oasisopen.sca.annotation.Constructor({"myRes", "myRes2"}) public BadFoo(@Resource List res, @Resource(name = "myOtherRes") List res2) { } diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ContextProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ContextProcessorTestCase.java index 1b8e9b6e93..124c83e9e2 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ContextProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ContextProcessorTestCase.java @@ -31,10 +31,10 @@ import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.ComponentContext; -import org.osoa.sca.RequestContext; -import org.osoa.sca.annotations.ComponentName; -import org.osoa.sca.annotations.Context; +import org.oasisopen.sca.ComponentContext; +import org.oasisopen.sca.RequestContext; +import org.oasisopen.sca.annotation.ComponentName; +import org.oasisopen.sca.annotation.Context; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationIDProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationIDProcessorTestCase.java index 6516da3c20..9bff2aa556 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationIDProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationIDProcessorTestCase.java @@ -29,7 +29,7 @@ import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.annotations.ConversationID; +import org.oasisopen.sca.annotation.ConversationID; /** * Test the ConversationIDProcessor diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationProcessorTestCase.java index eceb3fc6ae..9978cd456d 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationProcessorTestCase.java @@ -29,9 +29,9 @@ import org.apache.tuscany.sca.implementation.java.DefaultJavaImplementationFacto import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Test; -import org.osoa.sca.annotations.ConversationAttributes; -import org.osoa.sca.annotations.ConversationID; -import org.osoa.sca.annotations.Scope; +import org.oasisopen.sca.annotation.ConversationAttributes; +import org.oasisopen.sca.annotation.ConversationID; +import org.oasisopen.sca.annotation.Scope; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/DestroyProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/DestroyProcessorTestCase.java index c46af80cec..b82205863c 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/DestroyProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/DestroyProcessorTestCase.java @@ -29,7 +29,7 @@ import org.apache.tuscany.sca.implementation.java.DefaultJavaImplementationFacto import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Test; -import org.osoa.sca.annotations.Destroy; +import org.oasisopen.sca.annotation.Destroy; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/EagerInitProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/EagerInitProcessorTestCase.java index 6a27d1c957..04d87f60fe 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/EagerInitProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/EagerInitProcessorTestCase.java @@ -25,7 +25,7 @@ import org.apache.tuscany.sca.implementation.java.IntrospectionException; import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Test; -import org.osoa.sca.annotations.EagerInit; +import org.oasisopen.sca.annotation.EagerInit; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicAndPropertyTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicAndPropertyTestCase.java index 90f70d6590..53dd94c1a3 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicAndPropertyTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicAndPropertyTestCase.java @@ -31,7 +31,7 @@ import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.apache.tuscany.sca.interfacedef.java.DefaultJavaInterfaceFactory; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.annotations.Property; +import org.oasisopen.sca.annotation.Property; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicConstructorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicConstructorTestCase.java index 277fad699f..19197e81e4 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicConstructorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicConstructorTestCase.java @@ -36,9 +36,9 @@ import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.apache.tuscany.sca.interfacedef.java.DefaultJavaInterfaceFactory; import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory; import org.junit.Test; -import org.osoa.sca.annotations.Property; -import org.osoa.sca.annotations.Reference; -import org.osoa.sca.annotations.Remotable; +import org.oasisopen.sca.annotation.Property; +import org.oasisopen.sca.annotation.Reference; +import org.oasisopen.sca.annotation.Remotable; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java index f7cee88a3e..a163652ead 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java @@ -39,10 +39,10 @@ import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.apache.tuscany.sca.interfacedef.java.DefaultJavaInterfaceFactory; import org.apache.tuscany.sca.interfacedef.util.JavaXMLMapper; import org.junit.Test; -import org.osoa.sca.annotations.Property; -import org.osoa.sca.annotations.Reference; -import org.osoa.sca.annotations.Remotable; -import org.osoa.sca.annotations.Service; +import org.oasisopen.sca.annotation.Property; +import org.oasisopen.sca.annotation.Reference; +import org.oasisopen.sca.annotation.Remotable; +import org.oasisopen.sca.annotation.Service; /** * Verifies component type information is properly introspected from an unadorned diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java index e678c87349..17b5381641 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java @@ -80,7 +80,7 @@ public class HeutisticExtensibleConstructorTestCase extends AbstractProcessorTes * annotation processors is called.

For example, given: * *

-     *  Foo(@Bar String prop, @org.osoa.sca.annotations.Property(name = "foo") String prop2)
+     *  Foo(@Bar String prop, @org.oasisopen.sca.annotation.Property(name = "foo") String prop2)
      * 
* *

Heuristic evaluation of @@ -138,15 +138,15 @@ public class HeutisticExtensibleConstructorTestCase extends AbstractProcessorTes public static class Foo { public Foo(@Bar - String prop, @org.osoa.sca.annotations.Property(name = "foo") + String prop, @org.oasisopen.sca.annotation.Property(name = "foo") String prop2) { } } public static class Foo2 { - public Foo2(@org.osoa.sca.annotations.Reference(name = "baz") + public Foo2(@org.oasisopen.sca.annotation.Reference(name = "baz") String prop1, @Bar - String prop2, @org.osoa.sca.annotations.Property(name = "foo") + String prop2, @org.oasisopen.sca.annotation.Property(name = "foo") String prop3) { } } diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/InitProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/InitProcessorTestCase.java index 45ea7444b5..5df7078aa6 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/InitProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/InitProcessorTestCase.java @@ -28,7 +28,7 @@ import org.apache.tuscany.sca.implementation.java.DefaultJavaImplementationFacto import org.apache.tuscany.sca.implementation.java.JavaImplementation; import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.junit.Test; -import org.osoa.sca.annotations.Init; +import org.oasisopen.sca.annotation.Init; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessorTestCase.java index 7c37e4452a..e6a29b0e13 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessorTestCase.java @@ -40,8 +40,8 @@ import org.apache.tuscany.sca.policy.Intent; import org.apache.tuscany.sca.policy.PolicySetAttachPoint; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.annotations.Requires; -import org.osoa.sca.annotations.Service; +import org.oasisopen.sca.annotation.Requires; +import org.oasisopen.sca.annotation.Service; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PropertyProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PropertyProcessorTestCase.java index 8afeb710c5..99e28365da 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PropertyProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PropertyProcessorTestCase.java @@ -35,7 +35,7 @@ import org.apache.tuscany.sca.implementation.java.JavaImplementationFactory; import org.apache.tuscany.sca.implementation.java.introspect.JavaIntrospectionHelper; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.annotations.Property; +import org.oasisopen.sca.annotation.Property; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ReferenceProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ReferenceProcessorTestCase.java index 9f4e626ecd..1c061bfd43 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ReferenceProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ReferenceProcessorTestCase.java @@ -36,7 +36,7 @@ import org.apache.tuscany.sca.interfacedef.java.DefaultJavaInterfaceFactory; import org.apache.tuscany.sca.interfacedef.java.JavaInterface; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.annotations.Reference; +import org.oasisopen.sca.annotation.Reference; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java index 5097a1d6be..fe5eee55de 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java @@ -90,23 +90,23 @@ public class ScopeProcessorTestCase { javaImplementationFactory = new DefaultJavaImplementationFactory(); } - @org.osoa.sca.annotations.Scope("COMPOSITE") + @org.oasisopen.sca.annotation.Scope("COMPOSITE") private class Composite { } - @org.osoa.sca.annotations.Scope("SESSION") + @org.oasisopen.sca.annotation.Scope("SESSION") private class Session { } - @org.osoa.sca.annotations.Scope("CONVERSATION") + @org.oasisopen.sca.annotation.Scope("CONVERSATION") private class Conversation { } - @org.osoa.sca.annotations.Scope("REQUEST") + @org.oasisopen.sca.annotation.Scope("REQUEST") private class Request { } - @org.osoa.sca.annotations.Scope("STATELESS") + @org.oasisopen.sca.annotation.Scope("STATELESS") private class Stateless { } diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceCallbackTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceCallbackTestCase.java index f612232fd7..32988b2768 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceCallbackTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceCallbackTestCase.java @@ -36,9 +36,9 @@ import org.apache.tuscany.sca.interfacedef.InvalidCallbackException; import org.apache.tuscany.sca.interfacedef.java.DefaultJavaInterfaceFactory; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.CallableReference; -import org.osoa.sca.annotations.Callback; -import org.osoa.sca.annotations.Service; +import org.oasisopen.sca.CallableReference; +import org.oasisopen.sca.annotation.Callback; +import org.oasisopen.sca.annotation.Service; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessorTestCase.java index 9d93d75e4c..528639a008 100644 --- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessorTestCase.java +++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessorTestCase.java @@ -32,9 +32,9 @@ import org.apache.tuscany.sca.interfacedef.java.DefaultJavaInterfaceFactory; import org.apache.tuscany.sca.interfacedef.java.JavaInterface; import org.junit.Before; import org.junit.Test; -import org.osoa.sca.annotations.Callback; -import org.osoa.sca.annotations.Remotable; -import org.osoa.sca.annotations.Service; +import org.oasisopen.sca.annotation.Callback; +import org.oasisopen.sca.annotation.Remotable; +import org.oasisopen.sca.annotation.Service; /** * @version $Rev$ $Date$ -- cgit v1.2.3