Re: Access GlobalNamingResources using javax.naming

2009-12-18 Thread Filip Hanik - Dev Lists
On 12/18/2009 11:38 AM, Konstantin Kolinko wrote: 2009/12/17 Filip Hanik - Dev Lists: On 12/16/2009 07:37 PM, Konstantin Kolinko wrote: I think, that in JNDI there is no such way ok, maybe we can add in a namespace for that, such as InitialContext.lookup("global:"); and then

Re: Access GlobalNamingResources using javax.naming

2009-12-18 Thread Konstantin Kolinko
2009/12/17 Filip Hanik - Dev Lists : > On 12/16/2009 07:37 PM, Konstantin Kolinko wrote: >> >> I think, that in JNDI there is no such way > > ok, maybe we can add in a namespace for that, such as > InitialContext.lookup("global:"); > and then have a config attribute allowGlobalLookup="true|false" t

Re: Access GlobalNamingResources using javax.naming

2009-12-17 Thread Filip Hanik - Dev Lists
On 12/16/2009 07:37 PM, Konstantin Kolinko wrote: I think, that in JNDI there is no such way ok, maybe we can add in a namespace for that, such as InitialContext.lookup("global:"); and then have a config attribute allowGlobalLookup="true|false" to be backwards compatible Filip

Re: Access GlobalNamingResources using javax.naming

2009-12-16 Thread Konstantin Kolinko
2009/12/17 Filip Hanik - Dev Lists : > Is there a way to get hold of the GlobalNamingResources JNDI tree directly > using the InitialContext? > > I see that components like DataSourceRealm go to > ServerFactory.getServer().getGlobalNamingResources(), but I would like a way > to do it using standard