JNDI ObjectFactory support for new MongoClient interface

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.10.0
    • Affects Version/s: 3.7.1
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jeffrey Yemin
              Reporter:
              Zoe Snape
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: