User: schaefera
Date: 02/04/10 13:04:37
Modified: src/etc/conf/default Tag: Branch_2_4 jboss.jcml
Log:
Adjusted the Scheduler Example and removed JSR-77 stuff because this was
just a test.
Revision Changes Path
No revision
No revision
1.40.2.12 +31 -20 jboss/src/etc/conf/default/Attic/jboss.jcml
Index: jboss.jcml
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/Attic/jboss.jcml,v
retrieving revision 1.40.2.11
retrieving revision 1.40.2.12
diff -u -r1.40.2.11 -r1.40.2.12
--- jboss.jcml 5 Apr 2002 02:39:39 -0000 1.40.2.11
+++ jboss.jcml 10 Apr 2002 20:04:36 -0000 1.40.2.12
@@ -96,13 +96,6 @@
</mbean>
<!-- ==================================================================== -->
- <!-- JBoss Server Management -->
- <!-- ==================================================================== -->
- <mbean code="org.jboss.management.ServerDataCollector"
name="Management:service=Collector">
- <attribute name="RefreshSleep">5000</attribute>
- </mbean>
-
- <!-- ==================================================================== -->
<!-- J2EE deployment -->
<!-- ==================================================================== -->
@@ -430,27 +423,45 @@
</mbean>
<!-- ==================================================================== -->
- <!-- Uncomment to enable JMX monitoring of the bean cache
+ <!-- JMX monitoring of the bean cache -->
+ <!-- ==================================================================== -->
+ <!-- Uncomment this to enable the JMX monitoring
<mbean code="org.jboss.monitor.BeanCacheMonitor"
name="Monitor:name=BeanCacheMonitor"/>
-->
- <!-- ==================================================================== -->
<!-- ==================================================================== -->
<!-- Scheduler Service -->
<!-- ==================================================================== -->
- <!-- Uncomment this to enable Scheduling - ->
+ <!--
+ | This example shows how to use a pluggable Schedulable impl
+
<mbean code="org.jboss.util.Scheduler" name=":service=Scheduler">
- <constructor>
- <arg type="java.lang.String" value=":server=Scheduler"/>
- <arg type="java.lang.String"
value="org.jboss.util.Scheduler$SchedulableExample"/>
- <arg type="java.lang.String" value="Schedulabe Test,12345"/>
- <arg type="java.lang.String" value="java.lang.String,int"/>
- <arg type="long" value="0"/>
- <arg type="long" value="10000"/>
- <arg type="long" value="-1"/>
- </constructor>
+ <attribute name="StartAtStartup">true</attribute>
+ <attribute
name="SchedulableClass">org.jboss.util.Scheduler$SchedulableExample</attribute>
+ <attribute name="SchedulableArguments">Schedulabe Test,12345</attribute>
+ <attribute name="SchedulableArgumentTypes">java.lang.String,int</attribute>
+ <attribute name="InitialStartDate">0</attribute>
+ <attribute name="SchedulePeriod">10000</attribute>
+ <attribute name="InitialRepetitions">-1</attribute>
</mbean>
- <!- - -->
+
+ -->
+
+ <!--
+ | This example shows how to use a target MBean
+
+ <mbean code="org.jboss.util.SchedulableExample" name=":name=SchedulableExample">
+ </mbean>
+ <mbean code="org.jboss.util.Scheduler"
name=":service=Scheduler,name=SchedulableExample">
+ <attribute name="StartAtStartup">true</attribute>
+ <attribute name="SchedulableMBean">:name=SchedulableExample</attribute>
+ <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS,
SCHEDULER_NAME, java.lang.String )</attribute>
+ <attribute name="InitialStartDate">NOW</attribute>
+ <attribute name="SchedulePeriod">10000</attribute>
+ <attribute name="InitialRepetitions">10</attribute>
+ </mbean>
+
+ -->
<!-- ==================================================================== -->
<!-- Add your custom MBeans here -->
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development