tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r530470 - in /incubator/tuscany/java/sca/modules: core-spi/src/main/java/org/apache/tuscany/spi/ core-spi/src/test/java/org/apache/tuscany/spi/ core/src/main/java/org/apache/tuscany/core/component/ core/src/main/java/org/apache/tuscany/core...
Date Thu, 19 Apr 2007 16:11:36 GMT
Author: rfeng
Date: Thu Apr 19 09:11:35 2007
New Revision: 530470

URL: http://svn.apache.org/viewvc?view=rev&rev=530470
Log:
Move SingletonObjectFactory to SPI

Added:
    incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/spi/SingletonObjectFactory.java
      - copied, changed from r530461, incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/injection/SingletonObjectFactory.java
    incubator/tuscany/java/sca/modules/core-spi/src/test/java/org/apache/tuscany/spi/SingletonObjectFactoryTestCase.java
      - copied, changed from r530461, incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/injection/SingletonObjectFactoryTestCase.java
Removed:
    incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/injection/
    incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/injection/
Modified:
    incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/component/SingletonAtomicComponent.java
    incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/wire/WireImplTestCase.java
    incubator/tuscany/java/sca/modules/host-embedded/src/test/java/org/apache/tuscany/container/crud/CRUDAtomicComponent.java

Copied: incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/spi/SingletonObjectFactory.java
(from r530461, incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/injection/SingletonObjectFactory.java)
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/spi/SingletonObjectFactory.java?view=diff&rev=530470&p1=incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/injection/SingletonObjectFactory.java&r1=530461&p2=incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/spi/SingletonObjectFactory.java&r2=530470
==============================================================================
--- incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/injection/SingletonObjectFactory.java
(original)
+++ incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/spi/SingletonObjectFactory.java
Thu Apr 19 09:11:35 2007
@@ -16,9 +16,8 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.injection;
+package org.apache.tuscany.spi;
 
-import org.apache.tuscany.spi.ObjectFactory;
 
 /**
  * Implementation of ObjectFactory that returns a single instance, typically an immutable
type.

Copied: incubator/tuscany/java/sca/modules/core-spi/src/test/java/org/apache/tuscany/spi/SingletonObjectFactoryTestCase.java
(from r530461, incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/injection/SingletonObjectFactoryTestCase.java)
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core-spi/src/test/java/org/apache/tuscany/spi/SingletonObjectFactoryTestCase.java?view=diff&rev=530470&p1=incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/injection/SingletonObjectFactoryTestCase.java&r1=530461&p2=incubator/tuscany/java/sca/modules/core-spi/src/test/java/org/apache/tuscany/spi/SingletonObjectFactoryTestCase.java&r2=530470
==============================================================================
--- incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/injection/SingletonObjectFactoryTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/core-spi/src/test/java/org/apache/tuscany/spi/SingletonObjectFactoryTestCase.java
Thu Apr 19 09:11:35 2007
@@ -16,7 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.    
  */
-package org.apache.tuscany.core.injection;
+package org.apache.tuscany.spi;
+
+import org.apache.tuscany.spi.SingletonObjectFactory;
 
 import junit.framework.TestCase;
 

Modified: incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/component/SingletonAtomicComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/component/SingletonAtomicComponent.java?view=diff&rev=530470&r1=530469&r2=530470
==============================================================================
--- incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/component/SingletonAtomicComponent.java
(original)
+++ incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/component/SingletonAtomicComponent.java
Thu Apr 19 09:11:35 2007
@@ -24,11 +24,11 @@
 
 import org.apache.tuscany.assembly.ComponentService;
 import org.apache.tuscany.core.component.scope.InstanceWrapperBase;
-import org.apache.tuscany.core.injection.SingletonObjectFactory;
 import org.apache.tuscany.interfacedef.Operation;
 import org.apache.tuscany.spi.ObjectCreationException;
 import org.apache.tuscany.spi.ObjectFactory;
 import org.apache.tuscany.spi.Scope;
+import org.apache.tuscany.spi.SingletonObjectFactory;
 import org.apache.tuscany.spi.component.AtomicComponent;
 import org.apache.tuscany.spi.component.InstanceWrapper;
 import org.apache.tuscany.spi.component.TargetResolutionException;

Modified: incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/wire/WireImplTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/wire/WireImplTestCase.java?view=diff&rev=530470&r1=530469&r2=530470
==============================================================================
--- incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/wire/WireImplTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/core/src/test/java/org/apache/tuscany/core/wire/WireImplTestCase.java
Thu Apr 19 09:11:35 2007
@@ -20,7 +20,7 @@
 
 import junit.framework.TestCase;
 
-import org.apache.tuscany.core.injection.SingletonObjectFactory;
+import org.apache.tuscany.spi.SingletonObjectFactory;
 import org.apache.tuscany.spi.component.AtomicComponent;
 import org.apache.tuscany.spi.wire.Wire;
 import org.easymock.EasyMock;

Modified: incubator/tuscany/java/sca/modules/host-embedded/src/test/java/org/apache/tuscany/container/crud/CRUDAtomicComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-embedded/src/test/java/org/apache/tuscany/container/crud/CRUDAtomicComponent.java?view=diff&rev=530470&r1=530469&r2=530470
==============================================================================
--- incubator/tuscany/java/sca/modules/host-embedded/src/test/java/org/apache/tuscany/container/crud/CRUDAtomicComponent.java
(original)
+++ incubator/tuscany/java/sca/modules/host-embedded/src/test/java/org/apache/tuscany/container/crud/CRUDAtomicComponent.java
Thu Apr 19 09:11:35 2007
@@ -25,9 +25,9 @@
 import org.apache.tuscany.core.component.ComponentContextProvider;
 import org.apache.tuscany.core.component.ServiceReferenceImpl;
 import org.apache.tuscany.core.component.scope.InstanceWrapperBase;
-import org.apache.tuscany.core.injection.SingletonObjectFactory;
 import org.apache.tuscany.interfacedef.Operation;
 import org.apache.tuscany.spi.ObjectCreationException;
+import org.apache.tuscany.spi.SingletonObjectFactory;
 import org.apache.tuscany.spi.component.InstanceWrapper;
 import org.apache.tuscany.spi.component.TargetInvokerCreationException;
 import org.apache.tuscany.spi.component.TargetResolutionException;



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