I have a service bean Special that depends on service bean Core. The special 
bean loads and the core bean is injected without a hiccup. I have print 
statements that show the create and start methods of Special are called. Core 
create and start methods are not called. Special is definitely there. Works 
just fine. It's just that its life-cycle methods are not called. Is that the 
way dependent beans are supposed to work?

TIA 


  | 
  | Independent service:
  | 
  | @Service(objectName="acme:service=core") @Management(CoreService.class) 
public class CoreServiceBean implements CoreService
  | 
  | ...
  | 
  | Special service depends on core service
  | @Service(objectName="acme:service=special") 
@Management(SpecialService.class) public class SpecialServiceBean implements 
SpecialService
  | @Depends("acme:service=core") public void setCoreService(CoreService 
coreService)
  | 
  | 
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to