• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mbean

 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

is there a way to add many timer for a mbean?

example in a mbean, i have many method

for my method add, i would like to call this method every 2 sec
for my method less,i would like to call this method every 6 sec

are there a way to do that?

thanks
 
Deepa Datar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try the Jboss Scheduler MBean.

http://wiki.jboss.org/wiki/Wiki.jsp?page=Scheduler

You can configure this MBean to run periodically.

-Deepa Datar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic