Invoking MBean methods through the RMIAdaptor works fine for MBeans. But how can I 
communicate with an embedded class of a MBean? This situtation occurs using 
org.jboss.varia.scheduler.Scheduler. The Scheduler MBean needs to be configured with a 
class that implements the interface org.jboss.varia.scheduler.Schedulable.

I think the only way to communicate with this class is through JMS. Is there another 
way to accomplish this?

Using JMS works fine for my requirements. But there is one flaw to report: when 
shutting down JBoss, destroying the JMS destination throws an JMSException because 
it's already beeing used. How can I gracefully shutdown (closing queues and 
connections) all self-written components and services (such as the implementation 
class of Schedulabel) within JBoss?

Thanks in advance.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837502#3837502

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837502


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to