User: user57
Date: 02/02/12 20:26:39
Modified: src/main/org/jboss Main.java
Log:
o These are all kinda related, so I am commiting them together
o This is the second half of the migration to using ObjectName OBJECT_NAME
o Not using jboss.system.* properties anywhere (one place in testsuite
which I am ignoring for now)
o StateManager will now read its config from a url (configURL), and only
attempt to write it back out if that is a file URL. Need to fix this
to not need to write back to a config file.
o Still setting jboss.home & jboss.system.home, but use ServerConfigMBean
to get the proper bits, will eventually abstract all file access out
o Added a simple locator to find a mbean server. This is trivial code,
but helps clean up client code and makes it obvious what it does.
Revision Changes Path
1.68 +1 -10 jboss/src/main/org/jboss/Main.java
Index: Main.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/Main.java,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- Main.java 12 Feb 2002 02:51:27 -0000 1.67
+++ Main.java 13 Feb 2002 04:26:39 -0000 1.68
@@ -29,7 +29,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a>
- * @version $Revision: 1.67 $
+ * @version $Revision: 1.68 $
*/
public class Main
implements Runnable
@@ -234,15 +234,6 @@
}
}
- // setup legecy properties
- // should do away with components that depend on these
- System.setProperty("jboss.system.installationURL",
- config.getInstallURL().toString());
- System.setProperty("jboss.system.configurationDirectory",
- config.getConfigURL().toString());
- System.setProperty("jboss.system.libraryDirectory",
- config.getLibraryURL().toString());
-
// Make sure that shutdown exits the VM
config.setExitOnShutdown(true);
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development