[jboss-user] [Microcontainer] - Re: start() and stop() methods in a MC bean

jaikiran do-not-reply at jboss.com
Mon Feb 23 05:26:21 EST 2009

"alesj" wrote : 
  | Since in this case you can simply do @Start(ignored=true).

Yep, i could do that :) Infact i just renamed the methods:

  |  public void onInstall() throws Exception
  |  {
  |   // do something
  |  }

The reason why i would except the MC to skip this start is because if someone is annotating it to be an @InstallMethod, then he is treating that as a MC bean and hence no longer a legacy MBean :) Nothing major though, since we know the workarounds. 

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

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

More information about the jboss-user mailing list