3 Replies Latest reply on Feb 27, 2006 11:48 AM by starksm64

    Improving bean shell script / JMX integration

    genman

      http://jira.jboss.com/jira/browse/JBAS-2862

      I was wondering if anybody had any thoughts or concerns. I rather like the idea of being able to do this:

      <server>
       <mbean name="example:service=Test">
       <depends> ...
       <code language="bsh">
      String name = "joe";
      void invoke() {
       System.out.println("invoke " + name);
      }
       </code>
       </mbean>


      And you get the MBean attribute "name" and operation "invoke" for free.

      I've also been working on this: http://jira.jboss.com/jira/browse/JBAS-2855 by the way.