If the object is built by Spring have a look at:

org.springframework.beans.factory.config.PropertyPlaceholderConfigurer

Geoff

On 10/18/05, Dan Adams <[EMAIL PROTECTED]> wrote:
> Okay, I have an object that operates as a singleton and is created by
> spring. There are a number of properties that define support email
> addresses. I want to be able to store these values in a
> separate .properties so that i can easily use different files for
> testing and production. So my questions are:
>
> - How can I get the properties from an arbitrary object that is created
> by spring (and if I have to create a resource bundle myself how do i get
> the locale)?
> - How do you load additional .properties files?
>
> Thanks. :)
>
> --
> Dan Adams
> Software Engineer
> Interactive Factory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
The Spindle guy.           http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:    
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates:            http://spindle.sf.net/updates

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to