This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes mbean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "mbean" Watch "mbean" New topic
Author

mbean

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
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

Joined: Jan 31, 2003
Posts: 4
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mbean