I need to make a
scheduler component
using JBoss2.4 , which
will accept a schedule
class and the scheduler
setting .
The schedule class will
have the perform
function which needs to
be executed with the
scheduling seeting
How to do this task????
I was able to add a
scheduleable class in my
jboss.jcml file with the
following setting. This
was working fine
But this setting was a
static setting which I
entered in Jboss.jcml
file. Whereas I want to
add my scheduleable
class and setting at run
time with the function
in my schedule manager
session bean
JBoss.jcml setting
*******************
<mbean code
="org.jboss.util.Schedul
er" name
=":service=Scheduler">
<constructor>
<arg type
="java.lang.String"
value
=":server=Scheduler,MySc
heduler"/>
<arg type
="java.lang.String"
value="MyScheduler"/>
<arg type
="java.lang.String"
value
="MyScheduler!message
"/>
<arg type
="java.lang.String"
value
="java.lang.String"/>
<arg type="long" value
="1000"/>
<arg type="long" value
="10000"/>
<arg type="long" value="
-1"/>
</constructor>
</mbean>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
