[jboss-user] [Management, JMX/JBoss] - Re: Custom service seems to be ignoring <depends> tag

toddjtidwell do-not-reply at jboss.com
Fri Oct 27 18:57:06 EDT 2006


Just a small update to this:

It seems I was incorrect in assuming that this was working correctly during a hot deploy.  It doesn't matter whether it's a hot or cold deploy, if my dependencies are not deployed, the custom service that depends on them still deploys as long as it extends another object.  The second I remove the inheritance, it obeys dependencies again.

So, the following code obeys the dependencies:


  | public class MyService
  | implements MyServiceMBean
  | {
  | 
  | }
  | 

However, this does not:


  | public class MyService
  | extends SuperService
  | implements MyServiceMBean
  | {
  | 
  | }
  | 

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

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



More information about the jboss-user mailing list