Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2883

JNDI ObjectFactory support for new MongoClient interface

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.10.0
    • Affects Version/s: 3.7.1
    • Component/s: API
    • Labels:
      None

      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.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            vuser Zoe Snape
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: