This content has been marked as final.
Show 2 replies
-
1. Re: [JNP] support for javax.naming.StateFactory/ObjectFactor
starksm64 Dec 15, 2004 8:04 PM (in response to mlueders)It simply has not been implemented as its never been needed. Create a feature request here:
http://jira.jboss.com/jira/browse/JBAS
If you have a patch to add the functionality that can be submitted there as well. -
2. Re: [JNP] support for javax.naming.StateFactory/ObjectFactor
mlueders Dec 16, 2004 2:59 AM (in response to mlueders)Patch submitted.
http://jira.jboss.com/jira/browse/JBAS-64
While I was poking around NamingContext, I noticed a couple things. First, calls to NamingManager:getObjectInstance pass in the absolute name, rather than the name relative to the context. This seems contrary to the docs (http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/spi/NamingManager.html)The name and nameCtx parameters may optionally be used to specify the name of the object being created. name is the name of the object, relative to context nameCtx.
Also, the createSubcontext method doesn't replicate the current context's environment on return. Is this intentional?
If these are just oversights, let me know and I'll post a patch; I'm just a little hesitant to go mucking around code I just started looking at.