Class MongoDBConnectionConfig

  • All Implemented Interfaces:
    Descriptor

    public class MongoDBConnectionConfig
    extends Object
    implements Descriptor
    Descriptor to retrieve connection information to MongoDB.
    Since:
    9.1
    • Field Detail

      • server

        public String server
      • ssl

        public Boolean ssl
        Since:
        10.3
      • trustStorePath

        public String trustStorePath
        Since:
        10.3
      • trustStorePassword

        public String trustStorePassword
        Since:
        10.3
      • trustStoreType

        public String trustStoreType
        Since:
        10.3
      • keyStorePath

        public String keyStorePath
        Since:
        10.3
      • keyStorePassword

        public String keyStorePassword
        Since:
        10.3
      • keyStoreType

        public String keyStoreType
        Since:
        10.3
      • dbname

        public String dbname
      • maxTime

        public Duration maxTime
        Since:
        11.1 maxTime when outside of a transaction
    • Constructor Detail

      • MongoDBConnectionConfig

        public MongoDBConnectionConfig()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Descriptor
        The descriptor id, descriptors with same id are merged.

        To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

        To forbid merge use a unique value, non-overriden toString() for exemple.

        Specified by:
        getId in interface Descriptor