User: ejort   
  Date: 02/04/20 09:31:01

  Added:       src/main/test/implementation/registry/support Trivial.java
                        TrivialMBean.java
  Log:
  Allow generic data to be stored with an MBeans registration. Fixed the double 
creation of the MBeanRegistry. Synchronized the long sequence numbers in the MBean 
Registry
  
  Revision  Changes    Path
  1.1                  jmx/src/main/test/implementation/registry/support/Trivial.java
  
  Index: Trivial.java
  ===================================================================
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.implementation.registry.support;
  
  public class Trivial implements TrivialMBean
  {
     private String something = null;
     private boolean anAttribute = true;
  
     public void setSomething(String thing)
     {
        this.something = thing;
     }
  
     public String getSomething()
     {
        return something;
     }
  
     public void doOperation(String arg)
     {
     }
  }
  
  
  
  1.1                  
jmx/src/main/test/implementation/registry/support/TrivialMBean.java
  
  Index: TrivialMBean.java
  ===================================================================
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.implementation.registry.support;
  
  public interface TrivialMBean
  {
     void setSomething(String thing);
  
     String getSomething();
  
     void doOperation(String arg);
  }
  
  
  

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

Reply via email to