Interface MongoDatabaseFactory

All Known Implementing Classes:
DefaultMongoDatabaseFactory

public interface MongoDatabaseFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.enedis.chutney.tools.CloseableResource<com.mongodb.client.MongoDatabase>
    create(fr.enedis.chutney.action.spi.injectable.Target target)
     
  • Method Details

    • create

      fr.enedis.chutney.tools.CloseableResource<com.mongodb.client.MongoDatabase> create(fr.enedis.chutney.action.spi.injectable.Target target) throws IllegalArgumentException
      Throws:
      IllegalArgumentException - when given Target does not supply needed parameters