You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/09/24 02:50:08 UTC
DO NOT REPLY [Bug 45869] New: DefaultAnnotationProcessor does not
scan class hierarchy for @PostConstruct and @PreDestroy annotations
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: tomcat-dev@jakarta.apache.org
ReportedBy: removeps-code@yahoo.com
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45869] DefaultAnnotationProcessor does not scan
class hierarchy for @PostConstruct and @PreDestroy annotations
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45869
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-09-24 05:18:40 PST ---
*** This bug has been marked as a duplicate of bug 45285 ***
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org