[jboss-dev-forums] [Design the new POJO MicroContainer] - MDR doesn't work on annotated privates
wolfc
do-not-reply at jboss.com
Mon Aug 11 11:13:31 EDT 2008
I don't see annotations on non-overloaded, same named methods.
public class Super {
| @PostConstruct
| private void postConstruct() {};
| }
public class Sub extends Super {
| private void postConstruct() {};
| }
MetaDataRetrievalToMetaDataBridge can't give me back the annotation on Super.postConstruct, because MethodSignature doesn't take class into account.
This is also a show stopper in ejb3 meta data bridges. Where the class of a method for method meta data is also not taken into account.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169902#4169902
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169902
More information about the jboss-dev-forums
mailing list