This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "mbean" Watch "mbean" New topic


mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 245

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?

Deepa Datar

Joined: Jan 31, 2003
Posts: 4
You can try the Jboss Scheduler MBean.

You can configure this MBean to run periodically.

-Deepa Datar
I agree. Here's the link:
subject: mbean
Similar Threads
Graphics without paint() method
Accessing Custom MBean
Adding http headers
Urgent threading issue
notification in JMx