[jboss-user] [JBoss Microcontainer Development] New message: "Re: DependencyInfo remove items"

Kabir Khan do-not-reply at jboss.com
Thu Jan 28 15:43:41 EST 2010

User development,

A new message was posted in the thread "DependencyInfo remove items":


Author  : Kabir Khan
Profile : http://community.jboss.org/people/kabir.khan@jboss.com

> alesj wrote:
> Flexible in what way?
> Why would you record something you can/should get from the existing info?
Take this example:
1) deploy Context A of class MyClass
2) deploy Context B with BY_CLASS dependency on MyClass, and so gets injected with ContextA
so far so good
3) deploy Context C of class MyClass, deploys fine
4) undeploy Context B, which then calls getContext(MyClass). However, now there are two contexts of type MyClass so this call fails.


To reply to this message visit the message page: http://community.jboss.org/message/522872#522872

More information about the jboss-user mailing list