User: d_jencks
Date: 02/03/03 15:15:08
Modified: core/samples/src/java/test/jmx JBossXMLExample.java
Log:
Small task to generate skeleton jboss mbean configuration files from marked up
mbeans.
Revision Changes Path
1.2 +26 -1 xdoclet/core/samples/src/java/test/jmx/JBossXMLExample.java
Index: JBossXMLExample.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/core/samples/src/java/test/jmx/JBossXMLExample.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- JBossXMLExample.java 28 Feb 2002 17:22:29 -0000 1.1
+++ JBossXMLExample.java 3 Mar 2002 23:15:08 -0000 1.2
@@ -7,6 +7,9 @@
package test.jmx;
+import javax.management.ObjectName;
+
+
/**
* JBossXMLExample.java
*
@@ -45,6 +48,7 @@
private String string;
private Integer id;
+ private ObjectName ref;
/**
* Creates a new <code>JBossXMLExample</code> instance.
@@ -143,6 +147,27 @@
}
+ /**
+ * Get the Ref value.
+ * @return the Ref value.
+ * @jmx:managed-attribute description="Object Name attribute" access="READ_WRITE"
+ */
+ public ObjectName getRef()
+ {
+ return ref;
+ }
+
+ /**
+ * Set the Ref value.
+ * @param newRef The new Ref value.
+ * @jmx:managed-attribute
+ */
+ public void setRef(ObjectName newRef)
+ {
+ this.ref = newRef;
+ }
+
+
/**
* Does something.
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel