[jboss-user] [EJB 3.0 Users] - Re: How to setting up an MBean depend on some SessionBeans
jaikiran
do-not-reply at jboss.com
Tue Dec 1 04:38:57 EST 2009
"larryxu77" wrote :
|
| In JBoss4 I find a way to specify MBean depends on some SessionBeans by adding below words in jboss-app.xml
|
| <module-order>strict</module-order>
|
|
|
That's fixed in the upcoming JBoss AS 6.0 M1.
"larryxu77" wrote :
| 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.
| @Depends(...)
|
| 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.
|
Your MBean depends on *all* EJBs? Ideally the @Depends on the MBean should only point to the EJB on which the Mbean depends.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268241#4268241
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268241
More information about the jboss-user
mailing list