[jboss-user] [Microcontainer] - Re: Emulating ServiceMBeanSupport

alesj do-not-reply at jboss.com
Mon Jul 23 04:55:32 EDT 2007


"alesj" wrote : 
  | Just added new feature:
  | 
  |   | <inject fromContext="getState" />
  |   | 
  | will do the job. ;-)
  | 
But this is useless, since you'll only get this injected at the whenRequired state - which you can 'tell' in advance. ;-)
Perhaps use one of the [State]KernelControllerContextAware interfaces to get the ref to underlying KernelControllerContext.

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

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



More information about the jboss-user mailing list