User: user57
Date: 02/04/07 01:07:24
Modified: varia/src/main/org/jboss/varia/scheduler/example
SchedulableMBeanExample.java
Removed: varia/src/main/org/jboss/varia/scheduler/example
SchedulableMBeanExampleMBean.java
Log:
o Using XDoclet to generate *MBean interfaces
Revision Changes Path
1.2 +6 -1
contrib/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExample.java
Index: SchedulableMBeanExample.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExample.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SchedulableMBeanExample.java 16 Feb 2002 03:52:53 -0000 1.1
+++ SchedulableMBeanExample.java 7 Apr 2002 09:07:24 -0000 1.2
@@ -33,9 +33,11 @@
* jboss:service=Scheduler,schedule=<you schedule name><br>
* This way you should not run into a name conflict.
*
+ * @jmx:mbean extends="org.jboss.system.ServiceMBean"
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Andreas Schaefer</a>
* @author Cameron (camtabor)
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
* <p><b>Revisions:</b></p>
* <p><b>20010814 Cameron:</b>
@@ -83,6 +85,9 @@
// SchedulableExampleMBean Methods
// -------------------------------------------------------------------------
+ /**
+ * @jmx:managed-operation
+ */
public void hit( Notification lNotification, Date lDate, long lRepetitions,
ObjectName lName, String lTest ) {
log.info( "got hit"
+ ", notification: " + lNotification
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development