[webbeans-dev] Question on 11.2.15: returning metadata on annotations

Gavin King gavin.king at gmail.com
Fri Jun 5 15:44:46 EDT 2009


hrm, I'm inclined to say all meta-annotations (including annotations
passed to BeforeBeanDiscovery.addXxxxx()).

On Thu, Jun 4, 2009 at 9:58 AM, Clint Popetz<cpopetz at gmail.com> wrote:
> Hi,
>
> Should these methods:
>
> public Set<Annotation> getInterceptorBindingTypeDefinition(Class<?
> extends Annotation> bindingType);
> public Set<Annotation> getStereotypeDefinition(Class<? extends
> Annotation> stereotype);
>
> which are defined to "obtain the set of meta-annotations declared by a
> stereotype or interceptor binding type," return the complete set of
> meta-annotations, or only those that are relevant to JSR-299?  I ask
> because I don't think the spec prohibits you from annotating a
> sterotype or interceptor binding type annotation with other
> annotations, but as a client of the above method I wouldn't expect to
> get back extra non-related stuff, based on the method name.
>
> -Clint
>
> --
> Clint Popetz
> http://42lines.net
> Scalable Web Application Development
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org




More information about the weld-dev mailing list