fs = WebBeansContext.getInstance().getService(FailOverService.class); fs.sessionWillPassivate(...); fs.sessionDidActivate(...);
Should work :) 2013/11/22 Lars-Fredrik Smedberg <[email protected]> > Hi! > > Is there any way I can force Bean passivation followed by activation (in a > test case)? > > Regards > Lars-Fredrik Smedberg > > -- > Med vänlig hälsning / Best regards > > Lars-Fredrik Smedberg > > STATEMENT OF CONFIDENTIALITY: > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > address(es) and may contain confidential or privileged information. If > you are not the intended recipient, please notify Lars-Fredrik Smedberg > immediately at [email protected], and destroy all copies of this > message and any attachments. >
