Created
May 19, 2020 04:24
-
-
Save cleantutorials/26c49a7eb8b4efcf56c5aea92e1be31e to your computer and use it in GitHub Desktop.
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