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

adrian@jboss.org do-not-reply at jboss.com
Mon Aug 14 08:50:03 EDT 2006


That is because you have done it wrong.

This MC is state machine a metadata model. 

What you should be doing is changing the way the AbstractDependencyValueMetaData
works to include demand like processing when the "bean=" is missing.

i.e. You create a new DependencyItem type like the demand dependency
(see org.jboss.beans.metadata.plugins.AbstractDemandMetaData$DemandDependencyItem)

In particular the method "public boolean resolve(Controller controller)"


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

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



More information about the jboss-dev-forums mailing list