You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2007/09/15 14:48:18 UTC

svn commit: r575914 - in /incubator/tuscany/branches/sca-java-1.0/modules: domain-impl/src/main/resources/webroot/ node-impl/src/main/java/org/apache/tuscany/sca/node/impl/ node/src/main/java/org/apache/tuscany/sca/node/ node/src/main/resources/webroot/

Author: slaws
Date: Sat Sep 15 05:48:17 2007
New Revision: 575914

URL: http://svn.apache.org/viewvc?rev=575914&view=rev
Log:
Add missing files

Added:
    incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerInitService.java
    incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerService.java
Modified:
    incubator/tuscany/branches/sca-java-1.0/modules/domain-impl/src/main/resources/webroot/node.png
    incubator/tuscany/branches/sca-java-1.0/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/SCANodeImpl.java
    incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/resources/webroot/node.png

Modified: incubator/tuscany/branches/sca-java-1.0/modules/domain-impl/src/main/resources/webroot/node.png
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0/modules/domain-impl/src/main/resources/webroot/node.png?rev=575914&r1=575913&r2=575914&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/tuscany/branches/sca-java-1.0/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/SCANodeImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/SCANodeImpl.java?rev=575914&r1=575913&r2=575914&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.0/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/SCANodeImpl.java (original)
+++ incubator/tuscany/branches/sca-java-1.0/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/SCANodeImpl.java Sat Sep 15 05:48:17 2007
@@ -181,12 +181,12 @@
       throws ActivationException {
         try {
             // create a runtime for components to run on that will be used for talking to the 
-            // rest of the domain
+            // rest of the domain. The components are defined in the node.composite file
             String nodeCompositeName = "node.composite";
             URL contributionURL = SCANodeUtil.findContributionFromComposite(domainClassLoader, nodeCompositeName );
             
             if ( contributionURL != null ){ 
-                logger.log(Level.INFO, "Domain node management configured from " + contributionURL);
+                logger.log(Level.INFO, "Node management configured from " + contributionURL);
                 
                 // start a local domain in order to talk to the logical domain
                 managementRuntime = new EmbeddedSCADomain(domainClassLoader, "node");   

Added: incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerInitService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerInitService.java?rev=575914&view=auto
==============================================================================
--- incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerInitService.java (added)
+++ incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerInitService.java Sat Sep 15 05:48:17 2007
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package org.apache.tuscany.sca.node;
+
+
+
+/**
+ * Initializes the Node Management component
+ * 
+ * @version $Rev: 552343 $ $Date: 2007-09-11 18:45:36 +0100 (Tue, 11 Sep 2007) $
+ */
+public interface NodeManagerInitService {
+     
+    /**
+     * Set the node object into the NodeManagement component so that is can manage it
+     * 
+     * @param node
+     */
+    public void setNode(SCANode node);
+    
+}

Added: incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerService.java?rev=575914&view=auto
==============================================================================
--- incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerService.java (added)
+++ incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/java/org/apache/tuscany/sca/node/NodeManagerService.java Sat Sep 15 05:48:17 2007
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package org.apache.tuscany.sca.node;
+
+import org.osoa.sca.annotations.Remotable;
+
+
+/**
+ * The management interface for a node
+ * 
+ * @version $Rev: 552343 $ $Date: 2007-09-07 12:41:52 +0100 (Fri, 07 Sep 2007) $
+ */
+@Remotable
+public interface NodeManagerService {
+     
+    /** 
+     * Return the Uri that identifies the node
+     * 
+     * @return
+     */
+    public String getNodeUri();
+    
+    /**
+     * The configuration of a domain running on this node has changed.
+     * It is the responsibility of the node to respond to this and retrieve
+     * any relevent configuration changes 
+     *  
+     * @param domainUri the string uri for the distributed domain
+     */
+   // public void addContribution(String domainUri);   
+ 
+}

Modified: incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/resources/webroot/node.png
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0/modules/node/src/main/resources/webroot/node.png?rev=575914&r1=575913&r2=575914&view=diff
==============================================================================
Binary files - no diff available.



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