[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: MDR doesn't work on annotated privates

adrian@jboss.org do-not-reply at jboss.com
Thu Aug 14 10:18:25 EDT 2008


"wolfc" wrote : The trouble starts in:
  | AbstractMutableComponentMetaDataLoader.addAnnotation(Member member, T annotation)
  | 
  | The sub component signature becomes MethodSignature instead of DeclaredMethodSignature.
  | 
  | For the moment I'll try to work around this with addAnnotation(Signature signature, T annotation).

How's it supposed to know whether addAnnotation(Method, Annotation)
should be a MethodSignature or DeclaredMethodSignature?

A general metadata loader (in this case the memory loader for storing the xml) 
doesn't even know what the class is so it can't even search to see whether
it is a private Method that is masked by a different method in that class or one
of its super classes.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170573#4170573

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170573



More information about the jboss-dev-forums mailing list