Affects Version/s: 1.2_09
Fix Version/s: unscheduled
Operating System: All
The @PostConstruct function is not called for a managed bean when the function
is defined in the base class.
In the base class BaseClass I have a function
public void BaseClass.init();
My bean class OuterBean is derived from BaseClass, so it inherits this init
function and hopefully the @PostConstruct annotation.
In the old version of JSF, namely 1.2-b20-FCS from April/21/2006, the init()
function was called. But in the new version of JSF, which is JSF 1.2.9 from
July/17/2008, init() is not called.
If in the class OuterBean I add a new function with the annotation, such as
public void callInit()
then it works.
Does this seem like a bug in JSF 1.2.9?
I did not find a bug on this issue. There was some discussion of this on the
java sun forums http://forums.sun.com/thread.jspa?messageID=10432734.