You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/07/17 13:48:45 UTC
svn commit: r556892 - in
/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime:
CompositeActivatorImpl.java RuntimeComponentImpl.java
Author: antelder
Date: Tue Jul 17 04:48:43 2007
New Revision: 556892
URL: http://svn.apache.org/viewvc?view=rev&rev=556892
Log:
Implement the started flag on RuntimeComponent
Modified:
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/CompositeActivatorImpl.java
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/RuntimeComponentImpl.java
Modified: incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/CompositeActivatorImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/CompositeActivatorImpl.java?view=diff&rev=556892&r1=556891&r2=556892
==============================================================================
--- incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/CompositeActivatorImpl.java (original)
+++ incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/CompositeActivatorImpl.java Tue Jul 17 04:48:43 2007
@@ -287,7 +287,8 @@
runtimeComponent.getScopeContainer().start();
}
}
-
+
+ ((RuntimeComponent)component).setStarted(true);
}
/**
@@ -348,6 +349,7 @@
}
}
+ ((RuntimeComponent)component).setStarted(false);
}
Modified: incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/RuntimeComponentImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/RuntimeComponentImpl.java?view=diff&rev=556892&r1=556891&r2=556892
==============================================================================
--- incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/RuntimeComponentImpl.java (original)
+++ incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/RuntimeComponentImpl.java Tue Jul 17 04:48:43 2007
@@ -45,6 +45,7 @@
protected ImplementationProvider implementationProvider;
protected ProxyFactory proxyService;
protected ScopeContainer scopeContainer;
+ protected boolean started;
/**
* @param proxyService
@@ -124,5 +125,13 @@
public void setScopeContainer(ScopeContainer scopeContainer) {
this.scopeContainer = scopeContainer;
+ }
+
+ public boolean isStarted() {
+ return started;
+ }
+
+ public void setStarted(boolean started) {
+ this.started = started;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org