[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: fromContext dependency regression

alesj do-not-reply at jboss.com
Sat Apr 19 19:20:52 EDT 2008


"adrian at jboss.org" wrote : 
  | Each FromContext enumeration value should have an associated state
  | when it becomes valid. Most will be PreInstall, but some like BeanInfo
  | will Instantiated.
  | 
Fixed.

And I also removed pre-configured dependentState==INSTALLED in AbstractDependencyValueMetaData.
With different usages of Injection/DependencyValueMetaData, 
only null can tell us that the user didn't set this, 
so we apply defaults for different usages, e.g. for FromContext we take its getWhenValid.

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

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



More information about the jboss-dev-forums mailing list