On Fri, Jan 23, 2009 at 8:15 AM, Ramon Buckland <[email protected]> wrote: > Hi Guys, > > What is the naming comvention in use for Abstract and Interfaces. > I am used to Abstract* .. and sometimes *Iface. > > What is camel's preference ? > > r. > We do not use I as prefix for interface. We do not use xxxImpl for implementing the interface
We use DefaultXXX for the default implementation of an interface I dont think AbstractXXX is what we use. We kinda not use AbstractXXX since many times we use DefaultXXX also for abstract classes as well. In fact we only have one Abstract in camel-core We kinda also use the Spring convention with its xxxSupport for abstract classes. So its usually either DefaultXXX or XXXSupport In fact the AbstractSimpleLanguage we have should be renamed to SimpleLangugeSupport to follow the convention. -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/
