• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Schedular service

 
Anny Lutova
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For schedulare some work in JBOSS you have to
write class
class MySchedular implements Schedulable{
....
}
and add to scheduler-service.xml such lines...
<mbean code="org.jboss.varia.scheduler.Scheduler"
.....
<attribute name="SchedulePeriod">10000</attribute>
.....
</mbean>
Is it possible to change "SchedulePeriod" in my source code ....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic