You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by me...@apache.org on 2007/01/07 13:45:14 UTC
svn commit: r493711 - in
/incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server:
TuscanyServer.java TuscanyServerMBean.java
Author: meerajk
Date: Sun Jan 7 04:45:14 2007
New Revision: 493711
URL: http://svn.apache.org/viewvc?view=rev&rev=493711
Log:
Use the profile name as the management domain for the runtime.
Modified:
incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java
incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServerMBean.java
Modified: incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java?view=diff&rev=493711&r1=493710&r2=493711
==============================================================================
--- incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java (original)
+++ incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java Sun Jan 7 04:45:14 2007
@@ -98,7 +98,13 @@
agent = RmiAgent.getInstance();
}
- public final void startRuntime(final String profileName, final boolean online, final String managementDomain) {
+ /**
+ * Starts a runtime specified by the bootpath.
+ *
+ * @param profileName Profile for the runtime.
+ * @param online Whether the runtime will resolve dependencies on the fly.
+ */
+ public final void startRuntime(final String profileName, final boolean online) {
try {
@@ -106,7 +112,7 @@
final File bootDirectory = DirectoryHelper.getBootDirectory(installDirectory, profileDirectory, null);
final MBeanServer mBeanServer = agent.getMBeanServer();
- final StandaloneRuntimeInfo runtimeInfo = JmxRuntimeInfoImpl.newInstance(profileName, installDirectory, online, mBeanServer, managementDomain);
+ final StandaloneRuntimeInfo runtimeInfo = JmxRuntimeInfoImpl.newInstance(profileName, installDirectory, online, mBeanServer);
final TuscanyRuntime runtime = createRuntime(bootDirectory, runtimeInfo);
runtime.initialize();
Modified: incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServerMBean.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServerMBean.java?view=diff&rev=493711&r1=493710&r2=493711
==============================================================================
--- incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServerMBean.java (original)
+++ incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServerMBean.java Sun Jan 7 04:45:14 2007
@@ -31,9 +31,8 @@
*
* @param profileName Profile for the runtime.
* @param online Whether the runtime will resolve dependencies on the fly.
- * @param managementDomain Management domain for the runtime.
*/
- public void startRuntime(String profileName, boolean online, String managementDomain);
+ public void startRuntime(String profileName, boolean online);
/**
* Shuts down a runtime specified by the bootpath.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org