[jboss-user] [EJB 3.0 Users] - @Depends question

richardvanduijn do-not-reply at jboss.com
Fri Nov 20 09:29:45 EST 2009

I'm currently developing an application which has a SFSB which has a reference to an MBean. Using the @Depends annotation i retrieve the reference correctly.

As the MBean is a singleton to me it sounds unwanted to serialize the reference when the SFSB is passivated. So it is marked transient. After activation of the passivated SFSB the MBean reference is not automatically injected through the @Depends annotation, so i'm trying to retrieve the reference by hand.. But my question is how can I achieve this?

Thanks in advance!

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

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

More information about the jboss-user mailing list