JVM Languages
jmx.txt
Associated article: Java Management Extensions
Tags: JVM Languages
Published source code accompanying the article by Paul Tremblett in which he examines the Java Management Extensions which provide the architecture, design patterns, APIs, and services for distributed applications. Also see JMX.ZIP.
Java Management Extensions
by Paul Tremblett
Listing One
import java.util.Date;
public class TrivialExample implements TrivialExampleMBean {
private Date readOnlyAttribute = new Date();
private String readWriteAttribute = "Change me";
private String settableAttribute;
public Date getanAttributeYouCanOnlyRead() {
readOnlyAttribute = new Date();
return readOnlyAttribute;
}
...


