[jboss-user] [Microcontainer] - How to pick up field-level annotations in annotation plugin?
do-not-reply at jboss.com
Wed Dec 10 03:32:59 EST 2008
I've got an annotation plugin:
public class EjbReferenceAnnotationPlugin extends FieldAnnotationPlugin<EJB>
..which does not run through "protected ValueMetaData createValueMetaData(FieldInfo fieldInfo, EJB annotation)" upon encountering @EJB on a field-level property.
If I change this to extend from PropertyAnnotationPlugin, accessor methods annotated w/ @EJB are picked up.
Assuming I've given enough information to describe the disconnect, what am I missing to get field-level annotations read?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195489#4195489
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195489
More information about the jboss-user