avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ghorpade, Rajendra" <RGhorp...@onebridge.de>
Subject RE: ContainerManager abstraction
Date Fri, 01 Mar 2002 08:57:14 GMT
Sorry...I posted this on the list..It was to be  personal mail!

-----Original Message-----
From: Ghorpade, Rajendra [mailto:RGhorpade@onebridge.de]
Sent: Friday, March 01, 2002 9:42 AM
To: 'Avalon Developers List'
Subject: RE: ContainerManager abstraction


Mike new thing about static final references..I was not knowing this..

-----Original Message-----
From: Peter Royal [mailto:proyal@managingpartners.com]
Sent: Tuesday, February 05, 2002 10:03 PM
To: Avalon Developers List
Subject: Re: ContainerManager abstraction


On Tuesday 05 February 2002 04:03 pm, Berin Loritsch wrote:
> I have noticed something interesting regarding static final references. 
> When I changed CONTEXT_DIRECTORY to "context-root" from
> "Container.contextRoot" I found that my precompiled class held on to its
> original value until it was recompiled.  With that discovery, it is
> feasible to have interface versions that use the Version object, and the
> versions will maintain their value in implementing classes until
> recompiled. Cool beans, eh?

For that example :) I've been bitten by that exact behavior because I'll 
change a constant in one class and a static final ref in other won't get 
compiled when I compile the project. I have to wipe the .class files to
force 
it to compile all. But still, its useful in certain instances :)
-pete

-- 
peter royal -> proyal@managingpartners.com

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

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

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