User: ejort   
  Date: 02/01/26 07:13:24

  Modified:    src/main/org/jboss/mx/server MBeanServerImpl.java
  Log:
  
  
  Revision  Changes    Path
  1.9       +4 -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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- MBeanServerImpl.java      2002/01/23 21:57:49     1.8
  +++ MBeanServerImpl.java      2002/01/26 15:13:24     1.9
  @@ -55,7 +55,7 @@
    * @see javax.management.MBeanServer
    *
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Juha Lindfors</a>.
  - * @version $Revision: 1.8 $  
  + * @version $Revision: 1.9 $  
    */
   public class MBeanServerImpl implements MBeanServer, ServerConstants
   {
  @@ -531,9 +531,10 @@
         return registry.get(name).getInvocationInterface().getMBeanInfo();
      }
   
  -   public boolean isInstanceOf(ObjectName name, java.lang.String className) throws 
InstanceNotFoundException
  +   public boolean isInstanceOf(ObjectName name, String className)
  +      throws InstanceNotFoundException
      {
  -      throw new Error("NYI");
  +      return registry.get(name).getResourceClassName().equals(className);
      }
   
      public ObjectInputStream deserialize(ObjectName name, byte[] data) throws 
InstanceNotFoundException, OperationsException
  
  
  

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

Reply via email to