package trail.jmx;

public interface Calculator {

  // Attribute
  public void setGrowthrate (double g);
  public double getGrowthrate ();

  // The management method
  public double calculate (int start, int end, double saving);

  // Life cycle method
  public void create () throws Exception;
  public void destroy () throws Exception;
}
