[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Install Items

adrian@jboss.org do-not-reply at jboss.com
Wed Apr 18 05:43:54 EDT 2007


I don't understand any of your comment. e.g.

"alesj" wrote : Why should InstallItem be referenced by DependencyInfo?
  | 

Because that is where cross context dependency info is stored
and where the real implementation of the dependency resolution is done.


  | I need to register a 'callback / install' item directly into the controller - holding the information of requested class, cardinality, target context, target method/property.
  | 

The only thing registered directly in the controller are the contexts.
These have DependencyInfo, i.e. what is required before the context can
change state.


  | Since with Controller.resolveContexts() I never iterate over already installed context's.
  | And even if I did, I should only iterate over those who actually hold any install item.

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

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



More information about the jboss-dev-forums mailing list