[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: DESCRIBE phase - Dependency builders for MC Beans

alesj do-not-reply at jboss.com
Tue May 12 06:15:41 EDT 2009


"jaikiran" wrote : if (factory.checkMetaDataForBuilderInstance())
  |   |          {
  |   |             // still allow for more configurable DependencyBuilder
  |   |             dependencyBuilder = md.getMetaData(DependencyBuilder.class);
  |   |          }
  |   | 
  | 
  | Do we still need to check the metadata? Just thinking whether its worth it, since it still leads to two checks.
  | 
This allows us for more configurable DB, not only no-arg constructor,
but perhaps a fully configurable, singleton, ... DB.

As you can see, this needs an explicit flag in order to check the MD,
hence it should be rarely true --> checked.

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

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



More information about the jboss-dev-forums mailing list