[JAVA-2883] JNDI ObjectFactory support for new MongoClient interface Created: 06/Jun/18 Updated: 28/Oct/23 Resolved: 07/Jan/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 3.7.1 |
| Fix Version/s: | 3.10.0 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Zoe Snape | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
The old com.mongodb.MongoClient class had a com.mongodb.client.jndi.MongoClientFactory factory class which was compatible with JNDI (as described here). The new com.mongodb.client.MongoClient API's factory, com.mongodb.client.MongoClients, does not implement the ObjectFactory interface and is not compatible with JNDI. It would be nice to add JNDI compatibility to the new API, either by adding a getObjectInstance method to the MongoClients factory or by adding an updated MongoClientFactory which returns instances of the new class. |
| Comments |
| Comment by Githook User [ 14/Jan/19 ] |
|
Author: {'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}Message: Add new JNDI ObjectFactory implementation Add JNDI ObjectFactory implementation that is a factory for
|
| Comment by Githook User [ 07/Jan/19 ] |
|
Author: {'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}Message: Add new JNDI ObjectFactory implementation Add JNDI ObjectFactory implementation that is a factory for
|