/*
 * JBoss, Home of Professional Open Source
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.test.jmx.listener;

import org.jboss.system.ServiceMBeanSupport;

/**
 * A test mbean service.
 * 
 * @author <a href="mailto:dimitris@jboss.org">Dimitris Andreadis</a>
 * @version $Revision: 1.1.2.1 $
 */
public class TestService extends ServiceMBeanSupport
   implements TestServiceMBean
{
   // Private Data --------------------------------------------------
   
   /** A String attribute */
   private String aString;
  
  // Constructors --------------------------------------------------
  
  /**
   * CTOR
  **/
  public TestService()
  {
     // empty
  }

  public void setAStringAttr(String s)
  {
     this.aString = s;
  }
  
  public String getAStringAttr()
  {
     return aString;
  }
  
}
