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

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


"adrian at jboss.org" wrote : If you want me to do it then I will, but don't ask to write all the code in the forum. :-)
  | 
I think this is the first attempt of somebody else then you writing anything to do with metadata. So I guess it's only fair to ask you before. :-)

"adrian at jboss.org" wrote : 
  | 
  |   | public interface MetaDataContext extends MetaDataRetrieval
  |   | 
  |   | AND
  |   | 
  |   |    /**
  |   |     * Create a new AbstractMetaDataContext.
  |   |     * 
  |   |     * @param parent the parent
  |   |     * @param retrievals the retrievals
  |   |     */
  |   |    public AbstractMetaDataContext(MetaDataContext parent, List<MetaDataRetrieval> retrievals)
  |   | 
  | 
Hmmm, I think I'm able to see the MetaDataContext extends MetaDataRetrieval. And looking at the impl's constructor. ;-)

"adrian at jboss.org" wrote : If you mean it isn't a MetaDataContext in the first place,
  | 
No.
I mean that referencing MetaDataContext in MetaDataRetrievalToMetaDataBridge via 'instance of' is not what I would consider good OO. Specially with a name yelling out the purpose - Retrieval bridge ... not Context bridge. :-)


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

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



More information about the jboss-dev-forums mailing list