velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <nbu...@gmail.com>
Subject Re: How to know if Velocity is initalized?
Date Sat, 07 Jun 2008 15:55:28 GMT
RuntimeSingleton has a public isInitialized() method.

On Thu, Jun 5, 2008 at 1:16 PM, White, Tim <Tim.White@qwest.com> wrote:
> So, I go through a lengthly process of getting my various configurations
> built, and then I call:
>
> Velocity.setExtendedProperties(myExtendedProperties);
> Velocity.init().
>
> So, what's the thread-safe way to avoid generating myExtendedProperties
> each time that I run this class?
>
> That is, how I can tell that Velocity is already initialized so that I
> don't need to to setExtendedProperties on it?
>
> Thanks!
>
> Tim
>
>
> This communication is the property of Qwest and may contain confidential or
> privileged information. Unauthorized use of this communication is strictly
> prohibited and may be unlawful.  If you have received this communication
> in error, please immediately notify the sender by reply e-mail and destroy
> all copies of the communication and any attachments.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message