commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh" <ep...@upstate.com>
Subject RE: [Configuration] why is JNDIConfiguration.getContext() private?
Date Mon, 20 Sep 2004 16:11:11 GMT
I agree..   Eric, why don't you supply a patch and a unit test and we can
add this..  I wrote JNDIConfiguration as my first foray into c-c many moon's
ago, so it's ncie to hear you using it!

Eric

> -----Original Message-----
> From: Jung, Eric [mailto:Eric.Jung@Arbella.com]
> Sent: Monday, September 20, 2004 5:45 PM
> To: 'Jakarta Commons Developers List'
> Subject: RE: [Configuration] why is JNDIConfiguration.getContext()
> private?
>
>
> Thank you!
>
>
> -----Original Message-----
> From: Emmanuel Bourg [mailto:smanux@lfjr.net]
> Sent: Monday, September 20, 2004 11:43 AM
> To: Jakarta Commons Developers List
> Subject: Re: [Configuration] why is
> JNDIConfiguration.getContext() private?
>
>
> Hi !
>
> Jung, Eric wrote:
>
> > Hi,
> >
> > Firstly, I love Configuration and have been using it in
> multiple projects
> at
> > multiple jobs for quite some time now.
>
> Thanks ! That's always great to hear from our users :)
>
>
> > I'd like to use JNDIConfiguration to retrieve configuration
> values from a
> > remote JNDI repository. However, I can't find a way to configure
> > JNDIConfiguration to communicate with a remote repository. Since I can't
> > rely on jndi.properties, I need a programmatic way to point
> > JNDIConfiguration to remote repository.
>
> You are right, the current implementation is too restrictive. We should
> have a set/getContext() method, and two constructors :
>
> JNDIConfiguration() : use the default context
> JNDIConfiguration(Context) : use the specified context
>
> I'm nominating this change for the 1.0 final release.
>
> Emmanuel Bourg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message