Hi all,
I have on question about naming. I am using a
federated context through ExternalContext service.
My issue is about unbinding something in my
federated context via NamingContext :
For instance, if my context is bound
under A and in my context I have an object bound under B
The following code works :
ctx = (Context) new InitialContext().lookup("B");
// got a NamingContext and then my context
ctx.unbind("B"); // unbind on my
context
But the code that one doesn't work at all
:
new InitialContext().undind("A/B"); // here I
unbind directly in the NamingServer
I gave a look at the code and unbind throw a
NotContextException instead of forwarding
the unbind to the federated context.
Is it normal behaviour ? a feature planned
long ago but never achieved, or bug ?
Julien
|
- Re: [JBoss-user] unbinding with a federated context Julien Viet
- Re: [JBoss-user] unbinding with a federated context Scott M Stark