[jboss-user] [EJB 3.0 Users] - How to setting up an MBean depend on some SessionBeans
do-not-reply at jboss.com
Sun Nov 29 21:16:20 EST 2009
I am working on a JBoss J2EE application.
I met a problem when I used MBean which depend on some EJBs.
How can an MBean depend on a SessionBean?
In JBoss4 I find a way to specify MBean depends on some SessionBeans by adding below words in jboss-app.xml
Now we are working on JBoss5.1, it seems doesn't work on JBoss5.1
I only find the similar function by the annotation 'depends' or xml setting like below.
But I don't want to keep this way because it is not a elegant way and I have to specify all references EJBs in the annotation.
Do you have any idea on it?
May be we can set the MBean depends on EJBContainer service, then MBean will be deployed after the EJBContainer ready.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267998#4267998
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267998
More information about the jboss-user