Mantis - Resin
Viewing Issue Advanced Details
3468 minor always 04-29-09 14:24 09-11-09 17:48
ferg  
ferg  
normal  
closed  
fixed  
none    
none 4.0.2  
0003468: class-loader issues - candi binding
(rep by Scott Hernandez)

The behaviour has changed, but the problem still exists. It now just
says that it can't find a registered bean. However, in walking through
the code (at runtime), I can see there are valid beans in the (parent)
manager.

I'm guessing there is a classloader issue, and that the classes are
not equal (even thought they are the same textual name).

The bindings on my field (java.util.concurrent.BlockingQueue
org.subethamail.core.queue.InjectListener.outboundQueue) are:
[@org.subethamail.core.queue.DeliveryQueue()]

And there are two Queue(s) in the (parent) manager that look like this:
SimpleBean[MemoryQueue, {@org.subethamail.core.queue.DeliveryQueue()},
@Production, name=delivery, @ApplicationScope]
SimpleBean[MemoryQueue, {@org.subethamail.core.queue.InjectQueue()},
@Production, name=injection, @ApplicationScope]


It sure seems like it should be matching the first one.


Notes
(0004245)
ferg   
09-11-09 17:48   
ioc/0o10