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

JNDI ObjectFactory support for new MongoClient interface

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 3.10.0
    • 3.7.1
    • API
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: