Hi all.
I have some deployed class in the deploy/ directory, I want them be used by JBoss Scheduler. But the configure file conf/jboss-service.xml and deploy/scheduler-service is loaded before the class deployed. So the scheduler can't find them.
Can I add the class to scheduler after it deployed?
Thanks.
The configure is here:
<mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss.docs:service=Scheduler"> <attribute name="StartAtStartup">true</attribute> <attribute name="SchedulableClass">mypackage.TestClass</attribute> <attribute name="SchedulableArguments"></attribute> <attribute name="SchedulableArgumentTypes"></attribute> <attribute name="InitialStartDate">NOW</attribute> <attribute name="SchedulePeriod">60</attribute> <attribute name="InitialRepetitions">-1</attribute> </mbean>
I'm using jboss3.2 because the code is for EJB2.1
The configure file conf/jboss-service.xml and deploy/scheduler-service make the scheduler works before the schedulable classes deployed.So the scheduler can't find them.