I have a method in a view Scoped Bean with the @PreDestroy annotation and another one with the @PostConstruct annotation.
The @PostConstruct method is properly called every time I navigate to the page that uses this view scoped bean.
However, when I navigate to a new page (which doesn't use this view scope bean) by <h:link/>, the @PreDestroy method is never called.
I am not talking about changing manually the url or the end of the session, just of a navigation case.
What I am missing?
Thanks in advance