You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2007/03/11 16:13:49 UTC

svn commit: r516921 - /incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/component/Component.java

Author: jboynes
Date: Sun Mar 11 08:13:49 2007
New Revision: 516921

URL: http://svn.apache.org/viewvc?view=rev&rev=516921
Log:
deprecate setScopeContainer as that is part of the private contract between the component and its builder and does not need to be on the public interface

Modified:
    incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/component/Component.java

Modified: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/component/Component.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/component/Component.java?view=diff&rev=516921&r1=516920&r2=516921
==============================================================================
--- incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/component/Component.java (original)
+++ incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/component/Component.java Sun Mar 11 08:13:49 2007
@@ -35,14 +35,6 @@
 public interface Component extends Invocable {
 
     /**
-     * Returns the component scope
-     *
-     * @return the component scope
-     */
-    @Deprecated
-    Scope getScope();
-
-    /**
      * Returns the SCA ComponentContext for this component.
      *
      * @return the SCA ComponentContext for this component
@@ -50,16 +42,10 @@
     ComponentContext getComponentContext();
 
     /**
-     * Sets the scope container associated with the component
-     *
-     * @param scopeContainer the scope container associated with the component
-     */
-    void setScopeContainer(ScopeContainer scopeContainer);
-
-    /**
-     * Returns a collection of wires for the component associated with a reference name
+     * Returns a collection of wires for the component associated with a reference.
      *
-     * @return a collection of wires for the component associated with a reference name
+     * @param name the reference name
+     * @return a collection of wires for the component associated with the reference
      */
     List<Wire> getWires(String name);
 
@@ -76,6 +62,22 @@
      * @param defaultPropertyValues Default property values associated with the component.
      */
     void setDefaultPropertyValues(Map<String, PropertyValue<?>> defaultPropertyValues);
+
+    /**
+     * Returns the component scope
+     *
+     * @return the component scope
+     */
+    @Deprecated
+    Scope getScope();
+
+    /**
+     * Sets the scope container associated with the component
+     *
+     * @param scopeContainer the scope container associated with the component
+     */
+    @Deprecated
+    void setScopeContainer(ScopeContainer scopeContainer);
 
     /**
      * Returns true if invocation dispatching can be optimized, i.e. invocation chains are not required



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org