[jboss-user] [EJB 3.0] - MBean dependency in JCA adapter (within EAR)
georgesberscheid
do-not-reply at jboss.com
Wed Aug 16 14:00:45 EDT 2006
Hi,
I created an MBean using the @Service annotation which is packaged in a .jar file which goes in a .ear file.
In the same .ear file there is a resource adapter (.rar) that depends on that service. Unfortunately, JBoss deploys and starts the resource adapter first and can therefore not find the MBean reference, because it's only deployed later in the same EAR deployment.
How do I define a dependency of the resource adapter to the MBean?
I tried @Depends on the resource adapter class but I guess that annotation only works for other MBeans. Also the RA's deployment descriptor doesn't seem to offer anything suitable.
Any ideas?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965560#3965560
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965560
More information about the jboss-user
mailing list