https://issues.apache.org/bugzilla/show_bug.cgi?id=45869
           Summary: DefaultAnnotationProcessor does not scan class hierarchy
                    for @PostConstruct and @PreDestroy annotations
           Product: Tomcat 6
           Version: 6.0.14
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


DefaultAnnotationProcessor does not scan class hierarchy for @PostConstruct and
@PreDestroy annotations.

The @PostConstruct function is not called for a managed bean when the function
is defined in the base class.

Detail:

In the base class BaseClass I have a function

@PostConstruct
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.

I wrote a bug against JSF, and they said that I should write a bug against
Tomcat 6, and mention the DefaultAnnotationProcessor.  So this is the bug.

The URL of my JSF bug is

https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=800


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to