User: user57
Date: 02/01/02 20:01:01
Modified: src/main/org/jboss/test/jmx/test
ConnectionFactoryLoaderUnitTestCase.java
DeployServiceUnitTestCase.java
Log:
o migrated all components to a new JMX domain name model. jboss.system
is now where to core/spine components live. moved all components that
were in JBOSS-SYSTEM that did not move into a jboss.* domain into
jboss (where the server is now registered). The point was to limit the
members of jboss.system to core bits only.
o Created org.jboss.system.Server, which does the work of initialization
that org.jboss.Main used to do. Main now only parses the command line,
sets up basic legecy properties and creates a Server instance.
o Moved functionality of Shutdown (component not cl tool) into Server (
which is bound as jboss.system:service=Server)
o Moved more Runtime access from Info into Server. Exposed memory info
as attributes.
o Logging a WARN everywhere that uses System.getProperty("jboss.system.home")
as that should go away soon/eventually.
o Initialized the invokerMap in the harmi impl to avoid NPE
o Made getopt.jar a member of the lib/* dir instead of adding it to the
run.jar and shutdown.jars each time.
o Minor cosmetic changes along the way.
Revision Changes Path
1.8 +2 -2
jbosstest/src/main/org/jboss/test/jmx/test/ConnectionFactoryLoaderUnitTestCase.java
Index: ConnectionFactoryLoaderUnitTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jmx/test/ConnectionFactoryLoaderUnitTestCase.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ConnectionFactoryLoaderUnitTestCase.java 2001/12/20 06:13:27 1.7
+++ ConnectionFactoryLoaderUnitTestCase.java 2002/01/03 04:01:01 1.8
@@ -33,7 +33,7 @@
/**
* @see <related>
* @author <a href="mailto:[EMAIL PROTECTED]">David Jencks</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class ConnectionFactoryLoaderUnitTestCase
extends JBossTestCase
@@ -105,7 +105,7 @@
//try to set the attributes on the bean
assertTrue("setAttributes returned null",
getServer().setAttributes(connectionFactoryLoaderName, al) != null);
- ObjectName serviceControllerName = new
ObjectName("JBOSS-SYSTEM:spine=ServiceController");
+ ObjectName serviceControllerName = new
ObjectName("jboss.system:service=ServiceController");
//invoke(connectionFactoryLoaderName, "start", args, sig);
invoke(serviceControllerName,
"create",
1.10 +5 -6
jbosstest/src/main/org/jboss/test/jmx/test/DeployServiceUnitTestCase.java
Index: DeployServiceUnitTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jmx/test/DeployServiceUnitTestCase.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- DeployServiceUnitTestCase.java 2001/12/20 06:13:27 1.9
+++ DeployServiceUnitTestCase.java 2002/01/03 04:01:01 1.10
@@ -4,9 +4,8 @@
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
-package org.jboss.test.jmx.test;
-
+package org.jboss.test.jmx.test;
import java.io.File;
import java.net.InetAddress;
@@ -32,7 +31,7 @@
/**
* @see <related>
* @author <a href="mailto:[EMAIL PROTECTED]">David Jencks</a>
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class DeployServiceUnitTestCase
extends JBossTestCase
@@ -61,7 +60,7 @@
super(name);
try
{
- serviceControllerName = new
ObjectName("JBOSS-SYSTEM:spine=ServiceController");
+ serviceControllerName = new
ObjectName("jboss.system:service=ServiceController");
}
catch (Exception e)
{
@@ -142,7 +141,7 @@
ObjectName testObjectName2 = new ObjectName("test:name=TestDeployer2");
ObjectName testObjectName3 = new ObjectName("test:name=TestDeployer3");
//the classloader mbean
- ObjectName classLoaderObjectName = new
ObjectName("JBOSS-SYSTEM:spine=ServiceClassLoader");
+ ObjectName classLoaderObjectName = new
ObjectName("jboss.system:service=ServiceClassLoader");
//check they aren't there already
assertTrue("test mbean already registered before deploy",
!getServer().isRegistered(testObjectName));
@@ -235,7 +234,7 @@
ObjectName testObjectName2 = new ObjectName("test:name=TestDeployer2");
ObjectName testObjectName3 = new ObjectName("test:name=TestDeployer3");
//the classloader mbean
- ObjectName classLoaderObjectName = new
ObjectName("JBOSS-SYSTEM:spine=ServiceClassLoader");
+ ObjectName classLoaderObjectName = new
ObjectName("jboss.system:service=ServiceClassLoader");
try
{
//check they aren't there already
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development