This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Implement SPI of InitialContext that will give access to objects provided by DataObjects stored on system filesytem and allow others to modify the JNDI contexts by binding there different objects. When a binding (object) method is called an InstanceDataObject.create (...) should be called to create the correct persistent file on a disk.
Would it be possible to reuse this implementation on different filesystem than SFS? I would like to use JNDI for projects settings as well, but they will not live on the SFS.
That should be possible. The InitialContext can be constructed with a Hashtable argument. In it we could provide a pair ("root", fileObject) to mark the root of the JNDI namespace.
I've put in CVS implementation of writable JNDI context, there are also some tests covering its functionality. Please, review it and decide what to do with this issue. DOContext.java 1.4 DOEnum.java 1.3 Jndi.java 1.6 JndiBindTest.java 1.1 JndiFindTest.java 1.3
Closing as fixed.
Same as ReadOnly JNDI, needs to be included in build process.
Yarda, I do not see any reason for keeping this issue open. The issue 17934 should be used for tracking of part_of_the_regular_build or not.