JMXTutorial.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cleantutorials.jconsole.jmx; | |
public class JMXTutorial implements JMXTutorialMBean { | |
private int noOfStudents; | |
public int getNoOfStudents() { | |
return noOfStudents; | |
} | |
public void setNoOfStudents(int noOfStudents) { | |
this.noOfStudents = noOfStudents; | |
} | |
public void incrementNoOfStudents() { | |
noOfStudents++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment