This content has been marked as final.
Show 3 replies
-
1. Re: Does Weld have a qualifier util method?
nickarls Mar 18, 2010 10:03 PM (in response to awestwel)Start with org.jboss.weld.manager.BeanManagerImpl, there you will find
public Set<Bean<?>> getBeans(Type beanType, Annotation... qualifiers)
-
2. Re: Does Weld have a qualifier util method?
nickarls Mar 18, 2010 10:10 PM (in response to awestwel)Along the line you will probably see
org.jboss.weld.resolution.TypeSafeBeanResolver.matches(Resolvable resolvable, T bean) org.jboss.weld.util.Beans.containsAllBindings(Set<Annotation> bindings1, Set<Annotation> bindings2, BeanManagerImpl manager) org.jboss.weld.metadata.cache.QualifierModel.isEqual(Annotation instance, Annotation other)
Injection resolves are the same for a producer match as it would be for a normal bean definition...
-
3. Re: Does Weld have a qualifier util method?
awestwel Mar 19, 2010 6:19 PM (in response to awestwel)Thanks for the help Nicklas
Much appreciated :)