brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rich...@apache.org
Subject [20/26] git commit: Rebind to EmptySoftwareProcesses
Date Tue, 10 Jun 2014 02:25:41 GMT
Rebind to EmptySoftwareProcesses


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/d0693ead
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/d0693ead
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/d0693ead

Branch: refs/heads/master
Commit: d0693eadd7a28c5172259d003ddf77106eae32e0
Parents: 2217c76
Author: Sam Corbett <sam.corbett@cloudsoftcorp.com>
Authored: Mon Jun 9 21:03:08 2014 +0100
Committer: Sam Corbett <sam.corbett@cloudsoftcorp.com>
Committed: Mon Jun 9 21:03:08 2014 +0100

----------------------------------------------------------------------
 .../brooklyn/entity/basic/EmptySoftwareProcessSshDriver.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/d0693ead/software/base/src/main/java/brooklyn/entity/basic/EmptySoftwareProcessSshDriver.java
----------------------------------------------------------------------
diff --git a/software/base/src/main/java/brooklyn/entity/basic/EmptySoftwareProcessSshDriver.java
b/software/base/src/main/java/brooklyn/entity/basic/EmptySoftwareProcessSshDriver.java
index 1a5e19c..26cb1d2 100644
--- a/software/base/src/main/java/brooklyn/entity/basic/EmptySoftwareProcessSshDriver.java
+++ b/software/base/src/main/java/brooklyn/entity/basic/EmptySoftwareProcessSshDriver.java
@@ -30,7 +30,13 @@ public class EmptySoftwareProcessSshDriver extends AbstractSoftwareProcessSshDri
     public void launch() {
         running.set(true);
     }
-    
+
+    @Override
+    public void rebind() {
+        super.rebind();
+        running.set(true);
+    }
+
     @Override
     public void stop() {
         running.set(false);


Mime
View raw message