Friday, 6 September 2013

Get all instances of Bean JSF

Get all instances of Bean JSF

I was wondering if it is possible to retrieve ALL instances of a given
Bean from the FacesContext. This includes that beans might be session
scoped.
Or do i have to register them somewhere in instatiating and retrieve them
again later?
The method from which I want to clal this funktionality will be triggered
by a @Schedule and is for clearing all caches that are held somewhere in
the application
Thanks in advance :)

No comments:

Post a Comment