avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [VOTE] future standard for Excalibur package naming
Date Sat, 06 Apr 2002 14:43:28 GMT
-1

Doesn't work with existing components and unlikely to work with future 
components. The people who are actually writing the code in question have 
already decided anyways.

On Sat, 6 Apr 2002 22:45, Leo Simons wrote:
> Proposal 1: package naming for 4.x
> ----------------------------------
>
> We adopt a system where packages contain a default
> implementation, and nothing more, where the default
> implementation is the first. The default
> implementation classes use a prefix of "Default".
> Subsequent implementations go into subpackages of that
> package. A descriptive name for the subpackage is
> chosen if this is practical, otherwise we use a
> nondescriptive name.
>
> This is done for new and unreleased components,
> and for released components when feasible.
>
> ie:
>
> org.apache.avalon.excalibur.${package}.Default${packageImpl}
> org.apache.avalon.excalibur.${package}.${alternative}.${Alternative}${packa
>g eImpl}
>
> example:
>
> org.apache.avalon.excalibur.component.DefaultComponentManager
> org.apache.avalon.excalibur.component.caching.CachingComponentManager
> org.apache.avalon.excalibur.component.dagger.DaggerComponentManager
>
> Note: alternatives to "Default" could be "Standard" or
> "Excalibur". However, I feel "Default" is most descriptive.
> Also, "Excalibur" to me implies that this is _the_
> component provided by excalibur implementing a specific
> interface, instead of _a_ component.
>
> Proposal 2: package naming for 5.x
> ----------------------------------
>
> As above, but without the "avalon" in the package
> name, and for all components, released and unreleased.
>
> ie:
>
> org.apache.excalibur.${package}.Default${packageImpl}
> org.apache.excalibur.${package}.${alternative}.${Alternative}${packageImpl}
>
> example:
>
> org.apache.excalibur.component.DefaultComponentManager
> org.apache.excalibur.component.caching.CachingComponentManager
> org.apache.excalibur.component.dagger.DaggerComponentManager
>
> regards,
>
> - Leo

-- 
Cheers,

Pete

---------------------------------------------------
"If you don't know where you want to go, we'll make 
sure you get taken." 
Microsoft ad slogan, translated into Japanese.
---------------------------------------------------


--
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