I think AnnotatedElementMetaDataLoader class is missing implementation:
e.g.
I get top level MetaDataRetrieval for current bean instance.
I then check for each method on top level's MetaDataRetrieval with getComponentMetaDataRetrieval.
And I would then expect to check for method's parameters ComponentMetaDataRetrieval on method's MetaDataRetrieval.
The code that's missing is:
public MetaDataRetrieval getComponentMetaDataRetrieval(Signature signature)
{
if (annotated instanceof Method)
{
if (signature instanceof MethodParametersSignature)
{
Method method = (Method)annotated;
Annotation[][] paramAnnotations = method.getParameterAnnotations();
MethodParametersSignature sig = (MethodParametersSignature) signature;
return new SimpleMetaDataLoader(paramAnnotations[sig.getParam()]);
}
}
There's lots of stuff "missing" or at least NOT TESTED. :-)
http://jira.jboss.com/jira/browse/JBMICROCONT-70