-
1. Re: Register Schedulable events to the ScheduleManager Mbean
jaikiran Jul 31, 2006 8:37 AM (in response to thehunt)If i understand your question right, what you are looking for is a way to get control of the Scheduler MBean. If that's the case, then you will have to get hold of the MBeanServer first, as mentioned at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIGetAReferenceToTheMBeanServer
And once you get the MBeanServer, you can use any of the APIs provided by the MBeanServer:
http://java.sun.com/j2ee/1.4/docs/api/javax/management/MBeanServer.html
If you need information about the APIs provided by the SchedulerMBean in jboss, then here's the link:
http://docs.jboss.org/jbossas/javadoc/3.2.7/varia/org/jboss/varia/scheduler/SchedulerMBean.html -
2. Re: Register Schedulable events to the ScheduleManager Mbean
thehunt Jul 31, 2006 8:46 AM (in response to thehunt)Yes u understood just fine. thx alot for the info. Really appreciate it.
I guess that the right spot to place the code accessing the MBean must be a POJO class which will be used in my Session Beans? -
3. Re: Register Schedulable events to the ScheduleManager Mbean
jaikiran Jul 31, 2006 8:49 AM (in response to thehunt)I guess that the right spot to place the code accessing the MBean must be a POJO class which will be used in my Session Beans?
Yes, that would be fine. -
4. Re: Register Schedulable events to the ScheduleManager Mbean
jaikiran Jul 31, 2006 8:50 AM (in response to thehunt)Oops, used the Code button instead of Quote :-)