geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/test/org/apache/geronimo/test/util ServerUtil.java
Date Wed, 19 Nov 2003 02:07:01 GMT
djencks     2003/11/18 18:07:01

  Modified:    modules/core/src/test/org/apache/geronimo/test/util
                        ServerUtil.java
  Log:
  Adapt ServerUtil to GeronimoMBeans dependency manager2
  
  Revision  Changes    Path
  1.2       +3 -1      incubator-geronimo/modules/core/src/test/org/apache/geronimo/test/util/ServerUtil.java
  
  Index: ServerUtil.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/test/org/apache/geronimo/test/util/ServerUtil.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServerUtil.java	18 Nov 2003 05:18:11 -0000	1.1
  +++ ServerUtil.java	19 Nov 2003 02:07:01 -0000	1.2
  @@ -80,11 +80,13 @@
       private static final Object[] REL_ARGS = {"name=Route\nleft.name=Source\nright.name=Target\nright.class=org.apache.geronimo.remoting.router.RouterTargetMBean"};
       private static final ObjectName RELATION_SERVICE = JMXUtil.getObjectName("geronimo.boot:role=RelationService");
       private static final ObjectName DEPENDS_SERVICE = JMXUtil.getObjectName("geronimo.boot:role=DependencyService");
  +    private static final ObjectName DEPENDS_SERVICE2 = JMXUtil.getObjectName("geronimo.boot:role=DependencyService2");
   
       public static MBeanServer newLocalServer() throws Exception {
           MBeanServer mbServer = MBeanServerFactory.createMBeanServer("LocalTestServer");
           mbServer.createMBean("javax.management.relation.RelationService", RELATION_SERVICE,
new Object[]{Boolean.TRUE}, new String[]{"boolean"});
           mbServer.createMBean("org.apache.geronimo.kernel.deployment.DependencyService",
DEPENDS_SERVICE);
  +        mbServer.createMBean("org.apache.geronimo.kernel.service.DependencyService2", DEPENDS_SERVICE2);
   
           return mbServer;
       }
  
  
  

Mime
View raw message