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 2006/12/26 17:14:33 UTC

svn commit: r490320 - /incubator/tuscany/java/sca/kernel/host-api/src/main/java/org/apache/tuscany/host/runtime/TuscanyRuntime.java

Author: jboynes
Date: Tue Dec 26 08:14:32 2006
New Revision: 490320

URL: http://svn.apache.org/viewvc?view=rev&rev=490320
Log:
deprecate methods in TuscanyRuntime that assume there is one application composite
these will be replaced with methods that allow the host to deploy multiple application composites

Modified:
    incubator/tuscany/java/sca/kernel/host-api/src/main/java/org/apache/tuscany/host/runtime/TuscanyRuntime.java

Modified: incubator/tuscany/java/sca/kernel/host-api/src/main/java/org/apache/tuscany/host/runtime/TuscanyRuntime.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/host-api/src/main/java/org/apache/tuscany/host/runtime/TuscanyRuntime.java?view=diff&rev=490320&r1=490319&r2=490320
==============================================================================
--- incubator/tuscany/java/sca/kernel/host-api/src/main/java/org/apache/tuscany/host/runtime/TuscanyRuntime.java (original)
+++ incubator/tuscany/java/sca/kernel/host-api/src/main/java/org/apache/tuscany/host/runtime/TuscanyRuntime.java Tue Dec 26 08:14:32 2006
@@ -44,34 +44,6 @@
     void setSystemScdl(URL systemScdl);
 
     /**
-     * Returns the name of the component associated with the application SCDL.
-     *
-     * @return the name of the component associated with the application SCDL
-     */
-    String getApplicationName();
-
-    /**
-     * Sets the name of the component associated with the application SCDL.
-     *
-     * @param applicationName the name of the component associated with the application SCDL
-     */
-    void setApplicationName(String applicationName);
-
-    /**
-     * Returns the location of the default application's SCDL.
-     *
-     * @return the location of the default application's SCDL
-     */
-    URL getApplicationScdl();
-
-    /**
-     * Sets the location of the default application's SCDL
-     *
-     * @param applicationScdl the location of the default application's SCDL
-     */
-    void setApplicationScdl(URL applicationScdl);
-
-    /**
      * Returns the host ClassLoader that is parent to all Tuscany classloaders.
      *
      * @return the host's ClassLoader
@@ -138,15 +110,50 @@
     /**
      * Returns the current SCA context
      */
+    @Deprecated
     SCA getContext();
 
     /**
+     * Returns the name of the component associated with the application SCDL.
+     *
+     * @return the name of the component associated with the application SCDL
+     */
+    @Deprecated
+    String getApplicationName();
+
+    /**
+     * Sets the name of the component associated with the application SCDL.
+     *
+     * @param applicationName the name of the component associated with the application SCDL
+     */
+    @Deprecated
+    void setApplicationName(String applicationName);
+
+    /**
+     * Returns the location of the default application's SCDL.
+     *
+     * @return the location of the default application's SCDL
+     */
+    @Deprecated
+    URL getApplicationScdl();
+
+    /**
+     * Sets the location of the default application's SCDL
+     *
+     * @param applicationScdl the location of the default application's SCDL
+     */
+    @Deprecated
+    void setApplicationScdl(URL applicationScdl);
+
+    /**
      * Get the application classloader
      */
+    @Deprecated
     ClassLoader getApplicationClassLoader();
 
     /**
      * Set the application classloader
      */
+    @Deprecated
     void setApplicationClassLoader(ClassLoader applicationClassLoader);
 }



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