User: juhalindfors
  Date: 02/03/19 13:02:50

  Added:       src/main/test/implementation/modelmbean/support Test.java
  Log:
  
  
  Revision  Changes    Path
  1.1                  jmx/src/main/test/implementation/modelmbean/support/Test.java
  
  Index: Test.java
  ===================================================================
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.implementation.modelmbean.support;
  
  /**
   * Trivial POJO to test MMB attribute caching.
   *
   * @author  <a href="mailto:[EMAIL PROTECTED]";>Juha Lindfors</a>.
   * @version $Revision: 1.1 $
   *   
   */
  public class Test
  {
     // Attributes ----------------------------------------------------
     int fooCount = 0;
     int barCount = 0;
     String value = null;
     
     // Management interface implementation ---------------------------
     public void setFoo(String value)
     {
        fooCount++;
        this.value = value;
     }
  
     public String getBar()
     {
        barCount++;
        return value;
     }
     
     // Public --------------------------------------------------------
     public int getFooCount()
     {
        return fooCount;
     }
     
     public int getBarCount()
     {
        return barCount;
     }
  }
        
  
  
  
  
  
  

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

Reply via email to