You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jm...@apache.org on 2006/06/18 20:19:52 UTC
svn commit: r415162 [3/3] - in /incubator/tuscany/sandbox/jboynes/sca:
containers/container.java/src/main/java/org/apache/tuscany/container/java/
containers/container.java/src/test/java/org/apache/tuscany/container/java/
containers/container.java/src/t...
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/BindingBuilderExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/BindingBuilderExtension.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/BindingBuilderExtension.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/BindingBuilderExtension.java Sun Jun 18 11:19:43 2006
@@ -1,5 +1,7 @@
package org.apache.tuscany.spi.extension;
+import org.osoa.sca.annotations.Init;
+
import org.apache.tuscany.spi.annotation.Autowire;
import org.apache.tuscany.spi.builder.BindingBuilder;
import org.apache.tuscany.spi.builder.BuilderRegistry;
@@ -10,11 +12,10 @@
import org.apache.tuscany.spi.model.BoundReferenceDefinition;
import org.apache.tuscany.spi.model.BoundServiceDefinition;
import org.apache.tuscany.spi.wire.WireService;
-import org.osoa.sca.annotations.Init;
/**
- * An extension point for binding builders. When adding support for new bindings, implementations may extend
- * this class as a convenience.
+ * An extension point for binding builders. When adding support for new bindings, implementations may extend this class
+ * as a convenience.
*
* @version $$Rev$$ $$Date$$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ComponentBuilderExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ComponentBuilderExtension.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ComponentBuilderExtension.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ComponentBuilderExtension.java Sun Jun 18 11:19:43 2006
@@ -1,16 +1,17 @@
package org.apache.tuscany.spi.extension;
+import org.osoa.sca.annotations.Init;
+
import org.apache.tuscany.spi.annotation.Autowire;
import org.apache.tuscany.spi.builder.BuilderRegistry;
import org.apache.tuscany.spi.builder.ComponentBuilder;
import org.apache.tuscany.spi.component.ScopeRegistry;
import org.apache.tuscany.spi.model.Implementation;
import org.apache.tuscany.spi.wire.WireService;
-import org.osoa.sca.annotations.Init;
/**
- * An extension point for component builders. When adding support for new component types, implementations may
- * extend this class as a convenience.
+ * An extension point for component builders. When adding support for new component types, implementations may extend
+ * this class as a convenience.
*
* @version $$Rev$$ $$Date$$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ComponentTypeLoaderExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ComponentTypeLoaderExtension.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ComponentTypeLoaderExtension.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ComponentTypeLoaderExtension.java Sun Jun 18 11:19:43 2006
@@ -16,12 +16,13 @@
*/
package org.apache.tuscany.spi.extension;
+import org.osoa.sca.annotations.Destroy;
+import org.osoa.sca.annotations.Init;
+
import org.apache.tuscany.spi.annotation.Autowire;
import org.apache.tuscany.spi.loader.ComponentTypeLoader;
import org.apache.tuscany.spi.loader.LoaderRegistry;
import org.apache.tuscany.spi.model.Implementation;
-import org.osoa.sca.annotations.Destroy;
-import org.osoa.sca.annotations.Init;
/**
* @version $Rev$ $Date$
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/LoaderExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/LoaderExtension.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/LoaderExtension.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/LoaderExtension.java Sun Jun 18 11:19:43 2006
@@ -18,12 +18,13 @@
import javax.xml.namespace.QName;
+import org.osoa.sca.annotations.Destroy;
+import org.osoa.sca.annotations.Init;
+
import org.apache.tuscany.spi.annotation.Autowire;
import org.apache.tuscany.spi.loader.LoaderRegistry;
import org.apache.tuscany.spi.loader.StAXElementLoader;
import org.apache.tuscany.spi.model.ModelObject;
-import org.osoa.sca.annotations.Destroy;
-import org.osoa.sca.annotations.Init;
/**
* Support class for extending the Loader mechanism.
@@ -32,8 +33,8 @@
*/
public abstract class LoaderExtension<T extends ModelObject> implements StAXElementLoader<T> {
/**
- * The LoaderRegistry that this loader should register with; usually set by injection. This registry may
- * also be used to load sub-elements.
+ * The LoaderRegistry that this loader should register with; usually set by injection. This registry may also be
+ * used to load sub-elements.
*/
protected LoaderRegistry registry;
@@ -63,9 +64,9 @@
}
/**
- * Initialize the loader. The base implementation registers this loader with the registry as a handler for
- * the XML type returned by {@link #getXMLType()}. Implementations may override this to register the
- * loader as a handler for multiple XML types.
+ * Initialize the loader. The base implementation registers this loader with the registry as a handler for the XML
+ * type returned by {@link #getXMLType()}. Implementations may override this to register the loader as a handler for
+ * multiple XML types.
*/
@Init(eager = true)
public void start() {
@@ -73,8 +74,8 @@
}
/**
- * Destroy the loader. The base implementation unregisters the loader from the regsitry based on the type
- * returned by {@link #getXMLType()}.
+ * Destroy the loader. The base implementation unregisters the loader from the regsitry based on the type returned
+ * by {@link #getXMLType()}.
*/
@Destroy
public void stop() {
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ReferenceExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ReferenceExtension.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ReferenceExtension.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ReferenceExtension.java Sun Jun 18 11:19:43 2006
@@ -83,7 +83,7 @@
assert inboundWire != null : "Inbound wire not set";
for (InboundInvocationChain chain : inboundWire.getInvocationChains().values()) {
chain.setTargetInvoker(createTargetInvoker(outboundWire.getTargetName().getQualifiedName(),
- chain.getMethod()));
+ chain.getMethod()));
chain.build();
}
}
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/host/ServletHost.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/host/ServletHost.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/host/ServletHost.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/host/ServletHost.java Sun Jun 18 11:19:43 2006
@@ -11,8 +11,8 @@
*/
public interface ServletHost {
/**
- * Register a mapping for an instance of a Servlet. This requests that the servlet container direct all
- * requests to the designated mapping to the supplied Servlet instance.
+ * Register a mapping for an instance of a Servlet. This requests that the servlet container direct all requests to
+ * the designated mapping to the supplied Servlet instance.
*
* @param mapping the uri-mapping for the Servlet
* @param servlet the Servlet that should be invoked
@@ -20,8 +20,8 @@
void registerMapping(String mapping, Servlet servlet);
/**
- * Unregister a servlet mapping. This directs the servlet contain not to direct any more requests to a
- * previously registered Servlet.
+ * Unregister a servlet mapping. This directs the servlet contain not to direct any more requests to a previously
+ * registered Servlet.
*
* @param mapping the uri-mapping for the Servlet
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/injection/ContextInjector.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/injection/ContextInjector.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/injection/ContextInjector.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/injection/ContextInjector.java Sun Jun 18 11:19:43 2006
@@ -1,7 +1,6 @@
package org.apache.tuscany.spi.injection;
import org.apache.tuscany.spi.ObjectCreationException;
-import org.apache.tuscany.spi.injection.Injector;
/**
* Implementations inject a pre-configured context type (interface) on an instance.
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/ComponentTypeLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/ComponentTypeLoader.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/ComponentTypeLoader.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/ComponentTypeLoader.java Sun Jun 18 11:19:43 2006
@@ -20,11 +20,11 @@
import org.apache.tuscany.spi.model.Implementation;
/**
- * Loader that will load the ComponentType definition for the supplied implementation. The actual mechanism
- * used to load that definition is determined by the Client and Implementation Specification for the
- * implementaion type. In some cases the definition may be contained in a XML file related to the
- * implementation artifact in some well defined manner; other implementations may obtain this information from
- * introspection of the artifact itself (for example, by examining Java annotations).
+ * Loader that will load the ComponentType definition for the supplied implementation. The actual mechanism used to load
+ * that definition is determined by the Client and Implementation Specification for the implementaion type. In some
+ * cases the definition may be contained in a XML file related to the implementation artifact in some well defined
+ * manner; other implementations may obtain this information from introspection of the artifact itself (for example, by
+ * examining Java annotations).
*
* @version $Rev$ $Date$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/Loader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/Loader.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/Loader.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/Loader.java Sun Jun 18 11:19:43 2006
@@ -25,18 +25,18 @@
import org.apache.tuscany.spi.model.ModelObject;
/**
- * System service for loading physical artifacts that represent SCDL configurations and creating the model
- * objects that represent them.
+ * System service for loading physical artifacts that represent SCDL configurations and creating the model objects that
+ * represent them.
*
* @version $Rev$ $Date$
*/
public interface Loader {
/**
- * Parse the supplied XML stream, dispatching to the appropriate registered loader for each element
- * encountered in the stream.
+ * Parse the supplied XML stream, dispatching to the appropriate registered loader for each element encountered in
+ * the stream.
* <p/>
- * This method must be called with the XML cursor positioned on a START_ELEMENT event. When this method
- * returns, the stream will be positioned on the corresponding END_ELEMENT event.
+ * This method must be called with the XML cursor positioned on a START_ELEMENT event. When this method returns, the
+ * stream will be positioned on the corresponding END_ELEMENT event.
*
* @param reader the XML stream to parse
* @param deploymentContext the current deployment context
@@ -59,10 +59,10 @@
throws LoaderException;
/**
- * Load the component type definition for a given implementation. How the component type information is
- * located is defined by the implementation specification. It may include loading from an XML sidefile,
- * introspection of some artifact related to the implementation, some combination of those techniques or
- * any other implementation-defined mechanism.
+ * Load the component type definition for a given implementation. How the component type information is located is
+ * defined by the implementation specification. It may include loading from an XML sidefile, introspection of some
+ * artifact related to the implementation, some combination of those techniques or any other implementation-defined
+ * mechanism.
*
* @param implementation the implementation whose component type should be loaded
* @param deploymentContext the current deployment context
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/LoaderException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/LoaderException.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/LoaderException.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/LoaderException.java Sun Jun 18 11:19:43 2006
@@ -19,8 +19,8 @@
import org.apache.tuscany.spi.TuscanyException;
/**
- * Base class for Exceptions raised during the loading process. Loader implementations should throw a subclass
- * of this to indicate the actual problem.
+ * Base class for Exceptions raised during the loading process. Loader implementations should throw a subclass of this
+ * to indicate the actual problem.
*
* @version $Rev$ $Date$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/LoaderRegistry.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/LoaderRegistry.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/LoaderRegistry.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/LoaderRegistry.java Sun Jun 18 11:19:43 2006
@@ -24,12 +24,12 @@
/**
* Registry for XML loaders that can parse a StAX input stream and return model objects.
* <p/>
- * Loaders will typically be contributed to the system by any extension that needs to handle extension
- * specific information contained in some XML configuration file. The loader can be contributed as a system
- * component with an autowire reference to this builderRegistry which is used during initialization to
- * actually register. </p> This builderRegistry can also be used to parse an input stream, dispatching to the
- * appropriate loader for each element accepted. Loaders can call back to the builderRegistry to load
- * sub-elements that they are not able to handle directly.
+ * Loaders will typically be contributed to the system by any extension that needs to handle extension specific
+ * information contained in some XML configuration file. The loader can be contributed as a system component with an
+ * autowire reference to this builderRegistry which is used during initialization to actually register. </p> This
+ * builderRegistry can also be used to parse an input stream, dispatching to the appropriate loader for each element
+ * accepted. Loaders can call back to the builderRegistry to load sub-elements that they are not able to handle
+ * directly.
*
* @version $Rev$ $Date$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/MissingResourceException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/MissingResourceException.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/MissingResourceException.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/MissingResourceException.java Sun Jun 18 11:19:43 2006
@@ -17,8 +17,8 @@
package org.apache.tuscany.spi.loader;
/**
- * Exception that indicates an expected resource could not be found. The message should be set to the name of
- * the resource.
+ * Exception that indicates an expected resource could not be found. The message should be set to the name of the
+ * resource.
*
* @version $Rev$ $Date$
*/
@@ -26,8 +26,8 @@
private static final long serialVersionUID = 3775013318397916445L;
/**
- * Constructor that indicates which resource could not be found. The supplied parameter is also returned
- * as the message.
+ * Constructor that indicates which resource could not be found. The supplied parameter is also returned as the
+ * message.
*
* @param resource the resource that could not be found
*/
@@ -36,8 +36,8 @@
}
/**
- * Constructor that indicates which resource could not be found. The supplied parameter is also returned
- * as the message.
+ * Constructor that indicates which resource could not be found. The supplied parameter is also returned as the
+ * message.
*
* @param resource the resource that could not be found
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/StAXElementLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/StAXElementLoader.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/StAXElementLoader.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/StAXElementLoader.java Sun Jun 18 11:19:43 2006
@@ -29,8 +29,8 @@
*/
public interface StAXElementLoader<T extends ModelObject> {
/**
- * Create the model object for an element in an XML stream. When this method returns the stream will be
- * positioned on the corresponding END_ELEMENT.
+ * Create the model object for an element in an XML stream. When this method returns the stream will be positioned
+ * on the corresponding END_ELEMENT.
*
* @param reader the XML stream reader positioned on the applicable START_ELEMENT
* @param deploymentContext the context for the load operation
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/StAXPropertyFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/StAXPropertyFactory.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/StAXPropertyFactory.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/StAXPropertyFactory.java Sun Jun 18 11:19:43 2006
@@ -29,10 +29,10 @@
*/
public interface StAXPropertyFactory {
/**
- * Return an ObjectFactory for instances of a property defined in an XML stream. The ObjectFactory must
- * return instances that can safely be supplied to component implementations. If the instance is mutable
- * and isolation between components is required, then the factory must clone or otherwise protect the
- * implementation from unexpected modifications by other implementation instances.
+ * Return an ObjectFactory for instances of a property defined in an XML stream. The ObjectFactory must return
+ * instances that can safely be supplied to component implementations. If the instance is mutable and isolation
+ * between components is required, then the factory must clone or otherwise protect the implementation from
+ * unexpected modifications by other implementation instances.
*
* @param reader the reader to use to access the XML stream
* @param property the Property definition that the resulting ObjectFactory must be able to assign to
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/UnexpectedElementException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/UnexpectedElementException.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/UnexpectedElementException.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/UnexpectedElementException.java Sun Jun 18 11:19:43 2006
@@ -19,9 +19,9 @@
import javax.xml.namespace.QName;
/**
- * Exception that indicates that an element was found during loading that when loaded resulted in an
- * unexpected type. This should not occur if the document being parsed conforms to its schema. The messages
- * set to the name of the element
+ * Exception that indicates that an element was found during loading that when loaded resulted in an unexpected type.
+ * This should not occur if the document being parsed conforms to its schema. The messages set to the name of the
+ * element
*
* @version $Rev$ $Date$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/UnrecognizedElementException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/UnrecognizedElementException.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/UnrecognizedElementException.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/loader/UnrecognizedElementException.java Sun Jun 18 11:19:43 2006
@@ -28,8 +28,8 @@
private final QName element;
/**
- * Constructor that indicates which resource could not be found. The supplied parameter is also returned
- * as the message.
+ * Constructor that indicates which resource could not be found. The supplied parameter is also returned as the
+ * message.
*
* @param element the element that could not be handled
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeComponentType.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeComponentType.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeComponentType.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeComponentType.java Sun Jun 18 11:19:43 2006
@@ -25,11 +25,11 @@
* @version $Rev$ $Date$
*/
public class CompositeComponentType<S extends ServiceDefinition,
- R extends ReferenceDefinition,
- P extends Property<?>> extends ComponentType<S, R, P> {
+ R extends ReferenceDefinition,
+ P extends Property<?>> extends ComponentType<S, R, P> {
private String name;
private final Map<String, ComponentDefinition<? extends Implementation<?>>> components =
- new HashMap<String, ComponentDefinition<? extends Implementation<?>>>();
+ new HashMap<String, ComponentDefinition<? extends Implementation<?>>>();
public String getName() {
return name;
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/InteractionScope.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/InteractionScope.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/InteractionScope.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/InteractionScope.java Sun Jun 18 11:19:43 2006
@@ -18,6 +18,7 @@
/**
* Represents the interaction scope specifed for a service
+ *
* @version $Rev$ $Date$
*/
public enum InteractionScope {
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedComponentType.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedComponentType.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedComponentType.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedComponentType.java Sun Jun 18 11:19:43 2006
@@ -23,10 +23,10 @@
* @version $Rev$ $Date$
*/
public class JavaMappedComponentType<
- S extends JavaMappedService,
- R extends JavaMappedReference,
- P extends JavaMappedProperty<?>
- > extends ComponentType<S, R, P> {
+ S extends JavaMappedService,
+ R extends JavaMappedReference,
+ P extends JavaMappedProperty<?>
+ > extends ComponentType<S, R, P> {
private Class<?> implClass;
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedProperty.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedProperty.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedProperty.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedProperty.java Sun Jun 18 11:19:43 2006
@@ -20,8 +20,8 @@
import javax.xml.namespace.QName;
/**
- * A Property definition that is mapped to a specific location in the implementation class. This location will
- * typically be used to inject property values.
+ * A Property definition that is mapped to a specific location in the implementation class. This location will typically
+ * be used to inject property values.
*
* @version $Rev$ $Date$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedReference.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedReference.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedReference.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedReference.java Sun Jun 18 11:19:43 2006
@@ -19,8 +19,8 @@
import java.lang.reflect.Member;
/**
- * A ReferenceDefinition definition that is mapped to a specific location in the implementation class. This
- * location will typically be used to inject reference values.
+ * A ReferenceDefinition definition that is mapped to a specific location in the implementation class. This location
+ * will typically be used to inject reference values.
*
* @version $Rev$ $Date$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedService.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedService.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaMappedService.java Sun Jun 18 11:19:43 2006
@@ -17,10 +17,10 @@
package org.apache.tuscany.spi.model;
/**
- * A ServiceDefinition definition that is mapped to a Java interface. The mapped interface is not required to
- * be the same as the interface specified in the service contract. This is to allow the service contract to be
- * specified using different interface definition languages or, in the case were the IDL is Java, to allow the
- * service definition to be loaded from a different classloader.
+ * A ServiceDefinition definition that is mapped to a Java interface. The mapped interface is not required to be the
+ * same as the interface specified in the service contract. This is to allow the service contract to be specified using
+ * different interface definition languages or, in the case were the IDL is Java, to allow the service definition to be
+ * loaded from a different classloader.
*
* @version $Rev$ $Date$
*/
@@ -44,8 +44,8 @@
}
/**
- * Returns the Java interface for this service. This may be different from the interface that defines the
- * service contract.
+ * Returns the Java interface for this service. This may be different from the interface that defines the service
+ * contract.
*
* @return the Java interface for this service
*/
@@ -54,8 +54,8 @@
}
/**
- * Sets the Java interface for this service. This may be different from the interface used to define the
- * service contract.
+ * Sets the Java interface for this service. This may be different from the interface used to define the service
+ * contract.
*
* @param serviceInterface the Java interface for this service
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Multiplicity.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Multiplicity.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Multiplicity.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Multiplicity.java Sun Jun 18 11:19:43 2006
@@ -21,14 +21,13 @@
*/
public enum Multiplicity {
/**
- * Indicates a relationship that is optionally connected to the requestor and which, if supplied, must be
- * connected to exactly one provider.
+ * Indicates a relationship that is optionally connected to the requestor and which, if supplied, must be connected
+ * to exactly one provider.
*/
ZERO_ONE,
/**
- * Indicates a relationship that must be connected between exactly one requestor and exactly one
- * provider.
+ * Indicates a relationship that must be connected between exactly one requestor and exactly one provider.
*/
ONE_ONE,
@@ -38,8 +37,8 @@
ZERO_N,
/**
- * Indicates a relationship that must be connected at the requestor and which connects it to zero to
- * unbounded providers.
+ * Indicates a relationship that must be connected at the requestor and which connects it to zero to unbounded
+ * providers.
*/
ONE_N
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/monitor/LogLevel.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/monitor/LogLevel.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/monitor/LogLevel.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/monitor/LogLevel.java Sun Jun 18 11:19:43 2006
@@ -16,14 +16,14 @@
*/
package org.apache.tuscany.spi.monitor;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
+import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
+import java.lang.annotation.Target;
/**
- * Annotation that can be applied to methods in a monitoring interface to indicate to logging frameworks the
- * severity of the event.
+ * Annotation that can be applied to methods in a monitoring interface to indicate to logging frameworks the severity of
+ * the event.
*
* @version $Rev$ $Date$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/monitor/MonitorFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/monitor/MonitorFactory.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/monitor/MonitorFactory.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/monitor/MonitorFactory.java Sun Jun 18 11:19:43 2006
@@ -17,9 +17,9 @@
package org.apache.tuscany.spi.monitor;
/**
- * A MonitorFactory creates implementations of components' monitor interfaces that interface with a its
- * monitoring scheme. For example, a implementation may create versions that emit appropriate logging events
- * or which send notifications to a management API.
+ * A MonitorFactory creates implementations of components' monitor interfaces that interface with a its monitoring
+ * scheme. For example, a implementation may create versions that emit appropriate logging events or which send
+ * notifications to a management API.
*
* @version $Rev$ $Date$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/policy/PolicyBuilderRegistry.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/policy/PolicyBuilderRegistry.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/policy/PolicyBuilderRegistry.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/policy/PolicyBuilderRegistry.java Sun Jun 18 11:19:43 2006
@@ -7,8 +7,8 @@
import org.apache.tuscany.spi.wire.OutboundWire;
/**
- * A registry for policy builders that dispatches to the appropriate builder when converting an assembly to
- * runtime artifacts. Policy builders operate on either a source- or target-side wires.
+ * A registry for policy builders that dispatches to the appropriate builder when converting an assembly to runtime
+ * artifacts. Policy builders operate on either a source- or target-side wires.
*
* @version $Rev$ $Date$
*/
@@ -35,16 +35,16 @@
void registerSourceBuilder(int phase, SourcePolicyBuilder builder);
/**
- * Evaluates source-side policy metadata for referenceDefinition and updates the curresponding collection
- * of wire configurations
+ * Evaluates source-side policy metadata for referenceDefinition and updates the curresponding collection of wire
+ * configurations
*
* @throws BuilderException
*/
void buildSource(ReferenceDefinition referenceDefinition, OutboundWire wire) throws BuilderException;
/**
- * Evaluates target-side policy metadata for configured reference and updates the curresponding
- * collection of wire configurations
+ * Evaluates target-side policy metadata for configured reference and updates the curresponding collection of wire
+ * configurations
*
* @throws BuilderException
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/services/wsdl/WSDLDefinitionRegistry.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/services/wsdl/WSDLDefinitionRegistry.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/services/wsdl/WSDLDefinitionRegistry.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/services/wsdl/WSDLDefinitionRegistry.java Sun Jun 18 11:19:43 2006
@@ -62,8 +62,7 @@
PortType getPortType(QName name);
/**
- * Returns the ServiceDefinition with the supplied qualified name, or null if no such service has been
- * defined.
+ * Returns the ServiceDefinition with the supplied qualified name, or null if no such service has been defined.
*
* @param name the qualified name of the WSDL service
* @return the ServiceDefinition for the supplied name, or null if none has been defined
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InboundInvocationChain.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InboundInvocationChain.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InboundInvocationChain.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InboundInvocationChain.java Sun Jun 18 11:19:43 2006
@@ -1,11 +1,11 @@
package org.apache.tuscany.spi.wire;
/**
- * A set of interceptors and handlers (contained in request and response message channels) associated with the
- * inbound side of a wire for an operation. Inbound chains may start with request {@link MessageHandler}s and
- * contain at least one {@link Interceptor} processed after the handlers prior to dipatching to the target
- * instance. Inbound invocation chains may also contain a set of response <code>MessageHandler</code>s which
- * are processed after dispatching to the target instance.
+ * A set of interceptors and handlers (contained in request and response message channels) associated with the inbound
+ * side of a wire for an operation. Inbound chains may start with request {@link MessageHandler}s and contain at least
+ * one {@link Interceptor} processed after the handlers prior to dipatching to the target instance. Inbound invocation
+ * chains may also contain a set of response <code>MessageHandler</code>s which are processed after dispatching to the
+ * target instance.
* <p/>
*
* @version $$Rev$$ $$Date$$
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java Sun Jun 18 11:19:43 2006
@@ -17,10 +17,9 @@
import java.util.Map;
/**
- * Implementations are responsible for managing the service side of a wire, including the invocation chains
- * associated with each service operation. A <Code>InboundWire</code> can be connected to another
- * <code>InboundWire</code> when connecting a {@link org.apache.tuscany.spi.component.Service} to an {@link
- * org.apache.tuscany.spi.component.AtomicComponent}.
+ * Implementations are responsible for managing the service side of a wire, including the invocation chains associated
+ * with each service operation. A <Code>InboundWire</code> can be connected to another <code>InboundWire</code> when
+ * connecting a {@link org.apache.tuscany.spi.component.Service} to an {@link org.apache.tuscany.spi.component.AtomicComponent}.
*
* @version $$Rev$$ $$Date$$
*/
@@ -37,8 +36,8 @@
void setServiceName(String name);
/**
- * Returns the invocation configuration for each operation on a service specified by a reference or a
- * target service.
+ * Returns the invocation configuration for each operation on a service specified by a reference or a target
+ * service.
*/
Map<Method, InboundInvocationChain> getInvocationChains();
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InvocationChain.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InvocationChain.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InvocationChain.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/InvocationChain.java Sun Jun 18 11:19:43 2006
@@ -4,26 +4,25 @@
import java.util.List;
/**
- * A source- or target-side invocation pipeline for a service operation. Invocation chains are associated with
- * the source or target side of a wire and are bridged when an assembly is processed.
+ * A source- or target-side invocation pipeline for a service operation. Invocation chains are associated with the
+ * source or target side of a wire and are bridged when an assembly is processed.
* <p/>
- * Invocation configurations contain at least one {@link Interceptor} and may have 0 to N {@link
- * MessageHandler}s. <code>Interceptors>/code> process invocations in a synchronous, around style manner while
+ * Invocation configurations contain at least one {@link Interceptor} and may have 0 to N {@link MessageHandler}s.
+ * <code>Interceptors>/code> process invocations in a synchronous, around style manner while
* <code>MessageHandler</code>s do so in a one-way manner.
* <p/>
- * Source-side chains may only connect to target-side chains. Target-side chains may connect to other
- * target-side chains, for example, when invoking from a {@link org.apache.tuscany.spi.component.Service} to
- * an {@link org.apache.tuscany.spi.component.AtomicComponent}.
+ * Source-side chains may only connect to target-side chains. Target-side chains may connect to other target-side
+ * chains, for example, when invoking from a {@link org.apache.tuscany.spi.component.Service} to an {@link
+ * org.apache.tuscany.spi.component.AtomicComponent}.
* <p/>
- * In some scenarios, a service proxy may only contain target-side invocaton chains, for example, when a
- * service is resolved through a locate operation by a non-component client. In this case, there will be no
- * source-side wire chains and the target invoker will be held by the target-side and passed down the
- * pipeline.
+ * In some scenarios, a service proxy may only contain target-side invocaton chains, for example, when a service is
+ * resolved through a locate operation by a non-component client. In this case, there will be no source-side wire chains
+ * and the target invoker will be held by the target-side and passed down the pipeline.
* <p/>
- * A {@link Message} is used to pass data associated with an invocation through the chain.
- * <code>Message</code>s contain a {@link TargetInvoker} responsible for dispatching to a target instance and
- * may be cached on the client-side. Caching allows various optimizations such as avoiding target instance
- * resolution when the client-side lifecycle scope is a shorter duration than the target.
+ * A {@link Message} is used to pass data associated with an invocation through the chain. <code>Message</code>s contain
+ * a {@link TargetInvoker} responsible for dispatching to a target instance and may be cached on the client-side.
+ * Caching allows various optimizations such as avoiding target instance resolution when the client-side lifecycle scope
+ * is a shorter duration than the target.
*
* @version $Rev$ $Date$
*/
@@ -119,8 +118,8 @@
MessageChannel getTargetResponseChannel();
/**
- * Signals to the chain that its configuration is complete. Implementations may use this callback to
- * prepare there invocation chains.
+ * Signals to the chain that its configuration is complete. Implementations may use this callback to prepare there
+ * invocation chains.
*/
void build();
}
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/Message.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/Message.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/Message.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/Message.java Sun Jun 18 11:19:43 2006
@@ -34,14 +34,12 @@
void setBody(Object body);
/**
- * Sets the target invoker to dispatch to when the message passes through the request side of the
- * invocation chain
+ * Sets the target invoker to dispatch to when the message passes through the request side of the invocation chain
*/
void setTargetInvoker(TargetInvoker invoker);
/**
- * Sets the target invoker to dispatch to when the message passes through the request side of the
- * invocation chain
+ * Sets the target invoker to dispatch to when the message passes through the request side of the invocation chain
*/
TargetInvoker getTargetInvoker();
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/OutboundInvocationChain.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/OutboundInvocationChain.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/OutboundInvocationChain.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/OutboundInvocationChain.java Sun Jun 18 11:19:43 2006
@@ -1,11 +1,10 @@
package org.apache.tuscany.spi.wire;
/**
- * A set of interceptors and handlers (contained in request and response message channels) associated with the
- * outbound side of a wire for a service operation. Outbound invocation chains always start with an {@link
- * Interceptor} and may contain 0..n {@link MessageHandler}s. <code>MessageHandlers</code> are part of a
- * request or response chainnel, which are invoked prior to and after dispatching to a target instance
- * respectively.
+ * A set of interceptors and handlers (contained in request and response message channels) associated with the outbound
+ * side of a wire for a service operation. Outbound invocation chains always start with an {@link Interceptor} and may
+ * contain 0..n {@link MessageHandler}s. <code>MessageHandlers</code> are part of a request or response chainnel, which
+ * are invoked prior to and after dispatching to a target instance respectively.
*
* @version $$Rev$$ $$Date$$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/OutboundWire.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/OutboundWire.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/OutboundWire.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/OutboundWire.java Sun Jun 18 11:19:43 2006
@@ -19,9 +19,9 @@
import org.apache.tuscany.spi.QualifiedName;
/**
- * Implementations are responsible for managing the reference side of a wire, including the invocation chains
- * associated with each service operation. A <code>OutboundWire</code> is connected to a {@link InboundWire}
- * through their invocation chains.
+ * Implementations are responsible for managing the reference side of a wire, including the invocation chains associated
+ * with each service operation. A <code>OutboundWire</code> is connected to a {@link InboundWire} through their
+ * invocation chains.
*
* @version $$Rev$$ $$Date$$
*/
@@ -48,8 +48,8 @@
void setTargetName(QualifiedName name);
/**
- * Returns the invocation configuration for each operation on a service specified by a reference or a
- * target service.
+ * Returns the invocation configuration for each operation on a service specified by a reference or a target
+ * service.
*/
Map<Method, OutboundInvocationChain> getInvocationChains();
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/TargetInvoker.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/TargetInvoker.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/TargetInvoker.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/TargetInvoker.java Sun Jun 18 11:19:43 2006
@@ -19,16 +19,16 @@
import java.lang.reflect.InvocationTargetException;
/**
- * Implementations are responsible for resolving a target and performing the actual invocation on it, for
- * example, a component implementation instance or a service client.
+ * Implementations are responsible for resolving a target and performing the actual invocation on it, for example, a
+ * component implementation instance or a service client.
*
* @version $Rev$ $Date$
*/
public interface TargetInvoker extends Cloneable {
/**
- * Invokes an operation on a target with the given payload. Used in optmized cases where messagesdo not
- * need to be flowed such as in non-proxied wires.
+ * Invokes an operation on a target with the given payload. Used in optmized cases where messagesdo not need to be
+ * flowed such as in non-proxied wires.
*
* @throws InvocationTargetException
*/
@@ -48,9 +48,9 @@
boolean isCacheable();
/**
- * Sets whether the target service instance may be cached by the invoker. This is a possible optimization
- * when a wire is configured for a "down-scope" reference, i.e. a reference from a source of a shorter
- * lifetime to a source of greater lifetime.
+ * Sets whether the target service instance may be cached by the invoker. This is a possible optimization when a
+ * wire is configured for a "down-scope" reference, i.e. a reference from a source of a shorter lifetime to a source
+ * of greater lifetime.
*/
void setCacheable(boolean cacheable);
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java Sun Jun 18 11:19:43 2006
@@ -2,6 +2,7 @@
/**
* Creates proxies that implement Java interfaces and invocation handlers for fronting wires
+ *
* @version $$Rev$$ $$Date$$
*/
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/annotation/ConstructorAnnotationTest.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/annotation/ConstructorAnnotationTest.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/annotation/ConstructorAnnotationTest.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/annotation/ConstructorAnnotationTest.java Sun Jun 18 11:19:43 2006
@@ -39,7 +39,7 @@
}
public static class Foo1 {
- @Constructor({"prop", "ref" })
+ @Constructor({"prop", "ref"})
public Foo1(String prop, String ref) {
}
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/component/AbstractSCAObjectTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/component/AbstractSCAObjectTestCase.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/component/AbstractSCAObjectTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/component/AbstractSCAObjectTestCase.java Sun Jun 18 11:19:43 2006
@@ -5,6 +5,7 @@
import org.apache.tuscany.spi.event.RuntimeEventListener;
import org.apache.tuscany.spi.event.TrueFilter;
import org.apache.tuscany.spi.model.Scope;
+
import org.jmock.Mock;
import org.jmock.MockObjectTestCase;
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/AtomicComponentExtensionTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/AtomicComponentExtensionTestCase.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/AtomicComponentExtensionTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/AtomicComponentExtensionTestCase.java Sun Jun 18 11:19:43 2006
@@ -3,10 +3,11 @@
import java.lang.reflect.Method;
import java.util.List;
-import junit.framework.TestCase;
import org.apache.tuscany.spi.ObjectCreationException;
import org.apache.tuscany.spi.component.TargetException;
import org.apache.tuscany.spi.wire.TargetInvoker;
+
+import junit.framework.TestCase;
/**
* @version $Rev$ $Date$
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ComponentTypeLoaderExtensionTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ComponentTypeLoaderExtensionTestCase.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ComponentTypeLoaderExtensionTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ComponentTypeLoaderExtensionTestCase.java Sun Jun 18 11:19:43 2006
@@ -4,6 +4,7 @@
import org.apache.tuscany.spi.loader.LoaderException;
import org.apache.tuscany.spi.loader.LoaderRegistry;
import org.apache.tuscany.spi.model.Implementation;
+
import org.jmock.Mock;
import org.jmock.MockObjectTestCase;
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/CompositeComponentExtensionTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/CompositeComponentExtensionTestCase.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/CompositeComponentExtensionTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/CompositeComponentExtensionTestCase.java Sun Jun 18 11:19:43 2006
@@ -16,6 +16,7 @@
import org.apache.tuscany.spi.event.RuntimeEventListener;
import org.apache.tuscany.spi.model.Scope;
import org.apache.tuscany.spi.wire.TargetInvoker;
+
import org.jmock.Mock;
import org.jmock.MockObjectTestCase;
@@ -161,7 +162,7 @@
};
Mock mock = mock(RuntimeEventListener.class);
mock.expects(once()).method("onEvent").with(eq(event));
- composite.addListener((RuntimeEventListener)mock.proxy());
+ composite.addListener((RuntimeEventListener) mock.proxy());
composite.onEvent(event);
}
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/LoaderExtensionTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/LoaderExtensionTestCase.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/LoaderExtensionTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/LoaderExtensionTestCase.java Sun Jun 18 11:19:43 2006
@@ -8,6 +8,7 @@
import org.apache.tuscany.spi.loader.LoaderException;
import org.apache.tuscany.spi.loader.LoaderRegistry;
import org.apache.tuscany.spi.model.ModelObject;
+
import org.jmock.Mock;
import org.jmock.MockObjectTestCase;
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ReferenceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ReferenceTestCase.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ReferenceTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ReferenceTestCase.java Sun Jun 18 11:19:43 2006
@@ -2,11 +2,12 @@
import java.lang.reflect.Method;
-import junit.framework.TestCase;
import org.apache.tuscany.spi.component.CompositeComponent;
import org.apache.tuscany.spi.model.Scope;
import org.apache.tuscany.spi.wire.TargetInvoker;
import org.apache.tuscany.spi.wire.WireService;
+
+import junit.framework.TestCase;
/**
* @version $Rev$ $Date$
Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ServiceExtensionTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ServiceExtensionTestCase.java?rev=415162&r1=415161&r2=415162&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ServiceExtensionTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/test/java/org/apache/tuscany/spi/extension/ServiceExtensionTestCase.java Sun Jun 18 11:19:43 2006
@@ -1,7 +1,8 @@
package org.apache.tuscany.spi.extension;
-import junit.framework.TestCase;
import org.apache.tuscany.spi.model.Scope;
+
+import junit.framework.TestCase;
/**
* @version $Rev$ $Date$
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org