avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <leosim...@apache.org>
Subject RE: Attribute naming?
Date Fri, 23 Aug 2002 15:13:52 GMT
> > > /**
> > >  * @avalon.component avalon.threadsafe="true"
> > >  */
> 
> I prefer the use of enumerated values for this.  We are talking about
> lifestyle, which has specific meaning.
> 
> I much prefer simething like:
> 
> @avalon.component lifestyle="threadsafe"
> 
> as opposed to having a set of related attributes that are true/false.
> Esp. if those related attributes are mutually exclusive.

+1

- Leo



--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message