You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Leo Sutic <le...@inspireinfrastructure.com> on 2004/02/09 22:15:21 UTC
[PROPOSAL] MutableConfiguration
Ok people, let's start wrapping this long-lived refuse-to-die
one up!
The proposal is:
1. To add a MutableConfiguration interface
to the framework. The interface itself can be seen at:
http://cvs.apache.org/viewcvs.cgi/avalon/framework/api/src/java/org/apac
he/avalon/framework/configuration/Attic/MutableConfiguration.java?rev=1.
2&hideattic=0&view=markup
2. Modify DefaultConfiguration so that it implements
the interface.
3. Add an DefaultImmutableConfiguration that...
...has a constructor taking a Configuration instance.
...performs a deep copy of that Configuration instance.
...does not expose any interface except the Configuration
interface and the Serializable interface.
The purpose of this class is to be able to provide
a configuration object that is guaranteed to be immutable.
The vote will be two questions:
1. The first point is regarding the three parts of the proposal
above. It is a simple yes/no vote subject to lazy consensus.
2. The second part is regarding where the interface
MutableConfiguration
should be. The alternatives will be:
+ avalon-framework-api
+ avalon-framework-spi (this repo will be created)
+ avalon-framework-impl
The vote will be a multiple choice majority vote. Pick any number
of the three alternatives, and then the one with most votes win.
In case of tie, I'll submit the choice to the Chair.
Any major issues ***that can't wait for a future proposal once we
got his one out of the way***? If I haven't heard anything by tomorrow
afternoon, I'll call a vote.
/LS
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [PROPOSAL] MutableConfiguration
Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 10 February 2004 05:15, Leo Sutic wrote:
> 1. The first point is regarding the three parts of the proposal
> above. It is a simple yes/no vote subject to lazy consensus.
+1
> 2. The second part is regarding where the interface
> MutableConfiguration should be.
+ avalon-framework-spi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
RE: [PROPOSAL] MutableConfiguration
Posted by Leo Sutic <le...@inspireinfrastructure.com>.
> From: news [mailto:news@sea.gmane.org] On Behalf Of Leo Simons
>
> Stephen McConnell wrote:
> > Leo Sutic wrote:
> >
> >> + avalon-framework-api
Listing avalon-framework-api as an alternative was a mistake.
I have agreed and said several times that it isn't an option.
When I call the vote, the alternatives will be -spi and -impl.
/LS
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [PROPOSAL] MutableConfiguration
Posted by Leo Simons <le...@apache.org>.
Stephen McConnell wrote:
> Leo Sutic wrote:
>
>> + avalon-framework-api
>
> Just a small procedural point. Can you please exclude the above item
> when you launch your vote as a dev vote cannot override a veto.
Stephen, could you please reconsider that veto in the light of all the
discussion that followed it?
--
cheers,
- Leo Simons
-----------------------------------------------------------------------
Weblog -- http://leosimons.com/
IoC Component Glue -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
people wouldn't obey the rules."
-- Alan Bennett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [PROPOSAL] MutableConfiguration
Posted by Stephen McConnell <mc...@apache.org>.
Leo Sutic wrote:
> + avalon-framework-api
Leo:
Just a small procedural point. Can you please exclude the above item
when you launch your vote as a dev vote cannot override a veto.
Cheers, Stephen.
--
|------------------------------------------------|
| Magic by Merlin |
| Production by Avalon |
| |
| http://avalon.apache.org/merlin |
| http://dpml.net/merlin/distributions/latest |
|------------------------------------------------|
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [PROPOSAL] MutableConfiguration
Posted by Niclas Hedhman <ni...@hedhman.org>.
Disregard this comment... I was writing too early in the morning and couldn't
think straight ....
The DefaultConfiguration is already "poluted".
Niclas
On Tuesday 10 February 2004 09:48, Niclas Hedhman wrote:
> On Tuesday 10 February 2004 05:15, Leo Sutic wrote:
> > 3. Add an DefaultImmutableConfiguration that...
>
> Wouldn't it be easier to do the opposite;
>
> 1. A new class that implements the interface.
> 2. DefaultConfiguration constructor that deeps copy...
>
>
> Otherwise we need to make changes to old containers, and third-party
> containers may not be happy about it...
>
>
> Niclas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [PROPOSAL] MutableConfiguration
Posted by dert ertytr <kr...@yahoo.com>.
> Otherwise we need to make changes to old containers,
> and third-party
> containers may not be happy about it...
>
It's true. May you consider just a new class instead ?
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [PROPOSAL] MutableConfiguration
Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 10 February 2004 05:15, Leo Sutic wrote:
> 3. Add an DefaultImmutableConfiguration that...
Wouldn't it be easier to do the opposite;
1. A new class that implements the interface.
2. DefaultConfiguration constructor that deeps copy...
Otherwise we need to make changes to old containers, and third-party
containers may not be happy about it...
Niclas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org