[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Composite Map key and weak reference

alesj do-not-reply at jboss.com
Tue May 20 10:32:04 EDT 2008


"jason.greene at jboss.com" wrote : So I take it the annotation refs point to annotations on the class ref?
  | 
Not really.
But some of class's annotations might be equal to that annotations.

I'm using this with WebBeans kind of matching:

  | @Red
  | @Blue
  | @Inject
  | public void setFoo(Foo foo)
  | 
where class might have

  | @Red @Blue @Green
  | public class RGBFoo implement Foo
  | 

The code is here - but the caching is currently wrong :-) 
 - 
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/annotations/wb/WBInjectionResolver.java

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

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



More information about the jboss-dev-forums mailing list