geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/jmx JMXUtil.java
Date Mon, 26 Jan 2004 04:40:06 GMT
dain        2004/01/25 20:40:06

  Modified:    modules/kernel/src/java/org/apache/geronimo/kernel/jmx
                        JMXUtil.java
  Log:
  Removed no longer needed methods to get relationship service
  
  Revision  Changes    Path
  1.3       +1 -8      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/jmx/JMXUtil.java
  
  Index: JMXUtil.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/jmx/JMXUtil.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JMXUtil.java	22 Jan 2004 08:10:27 -0000	1.2
  +++ JMXUtil.java	26 Jan 2004 04:40:06 -0000	1.3
  @@ -55,10 +55,8 @@
    */
   package org.apache.geronimo.kernel.jmx;
   
  -import javax.management.MBeanServer;
   import javax.management.MalformedObjectNameException;
   import javax.management.ObjectName;
  -import javax.management.relation.RelationServiceMBean;
   
   
   /**
  @@ -73,7 +71,6 @@
   
       /** the ObjectName of the MBeanServerDelegate */
       public static final ObjectName DELEGATE_NAME = getObjectName("JMImplementation:type=MBeanServerDelegate");
  -    public static final ObjectName RELATION_SERVICE_NAME = getObjectName("geronimo.boot:role=RelationService");
       public static final ObjectName DEPENDENCY_SERVICE_NAME = getObjectName("geronimo.boot:role=DependencyService");
   
       /**
  @@ -88,9 +85,5 @@
           } catch (MalformedObjectNameException e) {
               throw new IllegalArgumentException("Malformed ObjectName: " + name);
           }
  -    }
  -
  -    public static RelationServiceMBean getRelationService(MBeanServer server) {
  -        return (RelationServiceMBean) MBeanProxyFactory.getProxy(RelationServiceMBean.class,
server, RELATION_SERVICE_NAME);
       }
   }
  
  
  

Mime
View raw message