User: juhalindfors
  Date: 01/12/12 15:57:40

  Modified:    src/main/org/jboss/mx/server MBeanServerImpl.java
  Log:
  StandardMBean -> StandardMBeanInvoker
  ... and a bug fix
  
  Revision  Changes    Path
  1.5       +2 -3      jmx/src/main/org/jboss/mx/server/MBeanServerImpl.java
  
  Index: MBeanServerImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/server/MBeanServerImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MBeanServerImpl.java      2001/12/10 17:27:09     1.4
  +++ MBeanServerImpl.java      2001/12/12 23:57:40     1.5
  @@ -50,7 +50,6 @@
   public class MBeanServerImpl implements MBeanServer
   {
   
  -
      public final static String MBEAN_SERVER_DELEGATE = 
"JMImplementation:type=MBeanServerDelegate";
   
      protected static long registrationNotificationSequence = 1;
  @@ -321,7 +320,7 @@
            {
               try
               {
  -               entry = new MBeanEntry(name, new StandardMBean(object));
  +               entry = new MBeanEntry(name, new StandardMBeanInvoker(object));
               }
               catch (ReflectionException e)
               {
  @@ -592,7 +591,7 @@
                  return type;
   
               Class[] superInterfaces = interfaces[i].getInterfaces();
  -            for (int j = 0; j < interfaces.length; ++j)
  +            for (int j = 0; j < superInterfaces.length; ++j)
               {
                  type = getMBeanInterface(clazz.getName(), superInterfaces[j]);
                  if (type != NOT_AN_MBEAN)
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to