[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: MDR doesn't work on annotated privates
wolfc
do-not-reply at jboss.com
Wed Aug 13 08:48:35 EDT 2008
"adrian at jboss.org" wrote : So I'm no longer understanding this issue.
|
| In my example would Sub::postConstruct() be invoked or not?
No, but if Super.postConstruct is private it must be invoked.
"adrian at jboss.org" wrote : The part of the EJB3 spec you refer to says the opposite of your "weird part"
| anonymous wrote :
| | If a lifecycle callback interceptor method is overridden by another method (regardless of
| | whether that method is itself a lifecycle callback interceptor method (of the same or different
| | type)), it will NOT be invoked.
| |
|
| My emphasis.
|
| So I don't see why you have to look at annotations on overridden methods.
A private method is considered to be non-overriddable. So I need that declaring class somewhere.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170321#4170321
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170321
More information about the jboss-dev-forums
mailing list