[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

rnicholson10 do-not-reply at jboss.com
Thu Sep 10 08:04:38 EDT 2009


I was using a EJB3 Service Bean.

The solution by Jakiran works correctly and is as follows:

  | @Service
  | @Local(InputServiceBeanLocal.class)
  | @Remote(InputServiceBeanRemote.class)
  | @Management(InputServiceBeanManagement.class)
  | @Depends(value={"HornetQServer"})
  | public class InputServiceBean implements InputServiceBeanLocal, InputServiceBeanRemote, InputServiceBeanManagement
  | {
  | ...
  | }

How would you normally figure out what the correct name is for the MC Bean? Is it simply the id values of the component from the JMX console?

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

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

More information about the jboss-user mailing list