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?