[jboss-user] [JBoss Seam] - Re: Can you merge multiple annotations in one?

petemuir do-not-reply at jboss.com
Mon Sep 4 10:39:09 EDT 2006


I would say no (for Seam)

If you look at Seam it uses annotations like this:

if (clazz.hasAnnotation(Name.class)) {
  | }

and so merging annotations would mean that the annotations would no longer be recognised.  From the bit I've read about annotations I don't think Java supports annotation inheritance.

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

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



More information about the jboss-user mailing list