[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean instantiate order with contextual injection

adrian@jboss.org do-not-reply at jboss.com
Tue Aug 15 05:21:04 EDT 2006


I don't understand?

It should fail if the inject cannot find a target.

When it works, it should look like this:
(C1) Context1: Your bean above
(C2) Context2: Implements the class

C1: preprocess/Describe - we need somebody to implement the parameter class
C2: .../Instantiate/etc. - I implement it
C1: Can now proceed to instantiation using C2 as the iDependOn

If there is no C2, then it is an error.

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

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



More information about the jboss-dev-forums mailing list