User: ejort   
  Date: 02/02/15 12:59:52

  Modified:    src/main/org/jboss/mq/il ServerILJMXService.java
  Log:
  Don't use invoke for attributes on the JMX bus
  
  Revision  Changes    Path
  1.9       +2 -2      jbossmq/src/main/org/jboss/mq/il/ServerILJMXService.java
  
  Index: ServerILJMXService.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/ServerILJMXService.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ServerILJMXService.java   12 Nov 2001 05:27:35 -0000      1.8
  +++ ServerILJMXService.java   15 Feb 2002 20:59:52 -0000      1.9
  @@ -23,7 +23,7 @@
    *
    * @author     Hiram Chirino ([EMAIL PROTECTED])
    * @author <a href="mailto:[EMAIL PROTECTED]";>David Jencks</a>
  - * @version    $Revision: 1.8 $
  + * @version    $Revision: 1.9 $
    */
   public abstract class ServerILJMXService extends ServiceMBeanSupport implements 
ServerILJMXServiceMBean
   {
  @@ -57,7 +57,7 @@
   
      public void startService() throws Exception
      {
  -      jmsServer = (JMSServer)getServer().invoke(jbossMQService, "getJMSServer", new 
Object[]{}, new String[]{});
  +      jmsServer = (JMSServer)getServer().getAttribute(jbossMQService, "JMSServer");;
         if (jmsServer == null) 
         {
            throw new IllegalStateException("Cannot find JBossMQService!");
  
  
  

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

Reply via email to