[jboss-user] [EJB 3.0] - Injected MBean is not re-injected after SB-activation
CarstenRudat
do-not-reply at jboss.com
Wed Feb 21 14:31:01 EST 2007
Hello All,
I have a SFSB with
| @Depends({"NameA:NameB=CacheMBean"})
| protected transient CacheMBean cacheMBean;
|
This is injected to the bean very well, but after the session-timeout, I want the mbean back to the SFSB:
| @PostActivate
| public void postActivate() {
| if(this.cacheMBean != null) {
| this.cacheMBean.... // never reached - this.cacheMBean is null
| }
| }
|
Do I have to call any special method to let the container reinject?
Thanks,
Carsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020178#4020178
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020178
More information about the jboss-user
mailing list