In a JSF file addLink.xhtml
I use a CDI bean LinkAdapter
. When the JSF file is processed, every method in the LinkAdapter
is called several times, although most of them aren't even referenced anywhere in the whole project by now.
The LinkAdapter
is @Named
and @SessionScoped
. But I think that this is not relevant, since it seems to happen with every other bean in any other JSF file.
Can anyone tell me the reason of this behavior?
I use JBoss AS 7.0.2, prettyfaces (JSF2) 3.3.2 and Weld 1.0.0.Final