From 5c5367e2ebee1e67455da40247f77b56bd33f4a6 Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Fri, 23 Apr 2010 14:27:50 +0000 Subject: mark classes as extension spi according to use indicated by implementation-java-runtime git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@937310 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/tuscany/sca/core/factory/InstanceWrapper.java | 1 + .../org/apache/tuscany/sca/core/factory/ObjectCreationException.java | 1 + .../main/java/org/apache/tuscany/sca/core/factory/ObjectFactory.java | 1 + .../tuscany/sca/core/invocation/CallableReferenceObjectFactory.java | 1 + .../tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java | 1 + .../apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.java | 1 + .../java/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.java | 1 + .../org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java | 1 + .../main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java | 1 + .../apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.java | 1 + .../java/org/apache/tuscany/sca/core/invocation/WireObjectFactory.java | 1 + .../core/src/main/java/org/apache/tuscany/sca/core/scope/Scope.java | 1 + .../src/main/java/org/apache/tuscany/sca/core/scope/ScopeContainer.java | 2 ++ .../org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java | 1 + .../java/org/apache/tuscany/sca/core/scope/ScopedRuntimeComponent.java | 1 + .../org/apache/tuscany/sca/core/scope/TargetDestructionException.java | 1 + .../apache/tuscany/sca/core/scope/TargetInitializationException.java | 1 + .../org/apache/tuscany/sca/core/scope/TargetResolutionException.java | 1 + 18 files changed, 19 insertions(+) (limited to 'sca-java-2.x/trunk/modules/core/src/main/java') diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/InstanceWrapper.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/InstanceWrapper.java index 2371897dce..4b563b0079 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/InstanceWrapper.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/InstanceWrapper.java @@ -27,6 +27,7 @@ import org.apache.tuscany.sca.core.scope.TargetInitializationException; * a component for use by the component's associated {@link org.apache.tuscany.sca.core.scope.ScopeContainer} * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public interface InstanceWrapper { diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/ObjectCreationException.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/ObjectCreationException.java index d35b27fd24..820faf6259 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/ObjectCreationException.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/ObjectCreationException.java @@ -23,6 +23,7 @@ package org.apache.tuscany.sca.core.factory; * Denotes an error creating a new object instance * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class ObjectCreationException extends RuntimeException { private static final long serialVersionUID = -6423113430265944499L; diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/ObjectFactory.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/ObjectFactory.java index 3f64d2405b..db10b6cff2 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/ObjectFactory.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/factory/ObjectFactory.java @@ -22,6 +22,7 @@ package org.apache.tuscany.sca.core.factory; * Implementations create new instances of a particular type * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public interface ObjectFactory { diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java index 2323973938..400bb333fd 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.java @@ -28,6 +28,7 @@ import org.oasisopen.sca.ServiceReference; * Uses a wire to return a CallableReference * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class CallableReferenceObjectFactory implements ObjectFactory> { private Class businessInterface; diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java index 0c77ee75f6..a56983a5d3 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.java @@ -30,6 +30,7 @@ import org.oasisopen.sca.ServiceReference; * Uses a wire to return a CallableReference * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class CallbackReferenceObjectFactory implements ObjectFactory> { private Class businessInterface; diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.java index 90d7374145..fff3727d87 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.java @@ -28,6 +28,7 @@ import org.apache.tuscany.sca.runtime.Invocable; * Returns proxy instance for a wire callback * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class CallbackWireObjectFactory implements ObjectFactory { private Class businessInterface; diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.java index f04573dd71..ed781b7ab1 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.java @@ -41,6 +41,7 @@ import org.oasisopen.sca.ServiceReference; * The implementation of a wire service that uses cglib dynamic proxies * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class CglibProxyFactory implements ProxyFactory { private MessageFactory messageFactory; diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java index bbbd3a9391..049c73f258 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java @@ -30,6 +30,7 @@ import org.oasisopen.sca.ServiceReference; * An extensible proxy factory. * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class ExtensibleProxyFactory implements ProxyFactory { diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java index fbf703bad0..f2d272757d 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactory.java @@ -27,6 +27,7 @@ import org.oasisopen.sca.ServiceReference; * Creates proxies that implement Java interfaces and invocation handlers for fronting wires * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public interface ProxyFactory { diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.java index 875a252798..3e0bd7cb17 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.java @@ -23,6 +23,7 @@ package org.apache.tuscany.sca.core.invocation; /** * The extension point to plug in proxy factories * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public interface ProxyFactoryExtensionPoint { diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/WireObjectFactory.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/WireObjectFactory.java index 26b3590d14..489d06a3e1 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/WireObjectFactory.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/WireObjectFactory.java @@ -28,6 +28,7 @@ import org.apache.tuscany.sca.runtime.Invocable; * Uses a wire to return an object instance * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class WireObjectFactory implements ObjectFactory { private Class interfaze; diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/Scope.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/Scope.java index 0a7f2ef64f..35da433af0 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/Scope.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/Scope.java @@ -22,6 +22,7 @@ package org.apache.tuscany.sca.core.scope; * The default implementation scopes supported by assemblies. * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class Scope { public static final Scope STATELESS = new Scope("STATELESS"); diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopeContainer.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopeContainer.java index 2398ecea3e..7d34a0144b 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopeContainer.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopeContainer.java @@ -29,6 +29,8 @@ import org.apache.tuscany.sca.runtime.RuntimeComponent; * @param the type of IDs that this container uses to identify its contexts. * For example, for COMPOSITE scope this could be the URI of the composite component, * or for HTTP Session scope it might be the HTTP session ID. + * + * @tuscany.spi.extension.asclient */ public interface ScopeContainer { diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java index 30d5c77181..dd1032428f 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java @@ -27,6 +27,7 @@ import org.apache.tuscany.sca.provider.ImplementationProvider; * management for the components * * @version $Rev$ $Date$ + * @tuscany.spi.extension.inheritfrom */ public interface ScopedImplementationProvider extends ImplementationProvider { /** diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedRuntimeComponent.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedRuntimeComponent.java index c27b112f8a..98c5f84c71 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedRuntimeComponent.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedRuntimeComponent.java @@ -25,6 +25,7 @@ import org.apache.tuscany.sca.runtime.RuntimeComponent; * Scoped runtime component * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public interface ScopedRuntimeComponent extends RuntimeComponent { /** diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetDestructionException.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetDestructionException.java index 0f83dad97d..5c85fead2c 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetDestructionException.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetDestructionException.java @@ -22,6 +22,7 @@ package org.apache.tuscany.sca.core.scope; * Denotes an error destroying a target * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class TargetDestructionException extends TargetResolutionException { private static final long serialVersionUID = -6126684147851674709L; diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetInitializationException.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetInitializationException.java index 15959c0608..89ddd7e538 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetInitializationException.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetInitializationException.java @@ -22,6 +22,7 @@ package org.apache.tuscany.sca.core.scope; * Denotes an error initializing a target * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class TargetInitializationException extends TargetResolutionException { private static final long serialVersionUID = -6228778208649752698L; diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetResolutionException.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetResolutionException.java index ea8d0e876c..17afd36219 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetResolutionException.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/TargetResolutionException.java @@ -22,6 +22,7 @@ package org.apache.tuscany.sca.core.scope; * Denotes an error retrieving a target instance * * @version $Rev$ $Date$ + * @tuscany.spi.extension.asclient */ public class TargetResolutionException extends Exception { private static final long serialVersionUID = 2912513650522019405L; -- cgit v1.2.3