This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • 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