[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Annotation processing

alesj do-not-reply at jboss.com
Tue Sep 4 08:20:23 EDT 2007


Regarding MetaData.getScopeMetaData() I have this next drawback. :-)
Looks like introduction of MetaDataContext into MetaDataRetrievalToMetaDataBridge doesn't really fit:

  |    public MetaData getScopeMetaData(ScopeKey scopeKey)
  |    {
  |       if (retrieval instanceof MetaDataContext)
  |       {
  |          MetaDataContext context = (MetaDataContext)retrieval;
  |          ...        
  |       }
  |       return null;
  |    }
  | 

Perhaps having a new MetaDataContextToMetaDataBridge would do the trick, but this, at a quick glance, looks like a big propagation through the metadata stuff ...

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

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



More information about the jboss-dev-forums mailing list