giacomo wrote: > > On Mon, 4 Jun 2001, Berin Loritsch wrote: > > > Actually, for the Excalibur stuff, I wanted to have > > the intialize() function take care of that. It is > > IMO messy to have a makeReadOnly() method when > > something like that can be hidden. I will check, > > but hopefully you haven't altered the interfaces-- > > that would suck. It would break backwards > > compatibility for something that is another concern. > > IMHO a better way to solve it is to wait until JDK 1.3 is available for > almost any platform and Avalon can integrate generating proxies to > secure the contracts.
That may be good in the long run--or it may be overkill. I am not sure of performance issues on that. The important thing is we need to operate in the JDK 1.2 environment now. > > Giacomo > > > > > --- Peter Donald <[EMAIL PROTECTED]> wrote: > > > At 07:35 PM 6/4/01 +1000, Peter Donald wrote: > > > >Hi, > > > > > > > >I have just added makeReadOnly() method to a whole > > > bunch of classes in > > > >framework. The reason was that I recently came > > > across someone who was using > > > >Avalon code and doing something like > > > > > > > >((DefaultComponentManager)componentManager).put( > > > "blah", blah ); > > > > > > > >which is obviously bad form. So after you make > > > something read only this > > > >would actually throw an IllegalStateException. > > > > > > > > > > > >Cheers, > > > > > > > >Pete > > > > > > > > > >*-----------------------------------------------------* > > > >| "Faced with the choice between changing one's > > > mind, | > > > >| and proving that there is no need to do so - > > > almost | > > > >| everyone gets busy on the proof." > > > | > > > >| - John Kenneth Galbraith > > > | > > > > > >*-----------------------------------------------------* > > > > > > > > > > > Cheers, > > > > > > Pete > > > > > > > > *-----------------------------------------------------* > > > | "Faced with the choice between changing one's > > > mind, | > > > | and proving that there is no need to do so - > > > almost | > > > | everyone gets busy on the proof." > > > | > > > | - John Kenneth Galbraith > > > | > > > > > *-----------------------------------------------------* > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Get personalized email addresses from Yahoo! Mail - only $35 > > a year! http://personal.mail.yahoo.com/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
