Summary: does anyone know how to get @PreDestroy to get triggered on recycling\\ timeout of an Application Scope managed bean?
I posted a question a couple of weeks
There are three types of JSF listener artifacts that provide an opportunity to manually clean up objects stored in scope (including managed beans):
An ApplicationListener must be defined in an OSGi XSP Library; the first two can be defined either in a library or local to a specific NSF.
I may be wrong, but XPages is built based on JSF1.2, while Managed bean annotations are available only from JSF2.0.