Package com.chutneytesting.action.mongo
Class DefaultMongoDatabaseFactory
- java.lang.Object
-
- com.chutneytesting.action.mongo.DefaultMongoDatabaseFactory
-
- All Implemented Interfaces:
MongoDatabaseFactory
public class DefaultMongoDatabaseFactory extends Object implements MongoDatabaseFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultMongoDatabaseFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloseableResource<com.mongodb.client.MongoDatabase>create(Target target)
-
-
-
Method Detail
-
create
public CloseableResource<com.mongodb.client.MongoDatabase> create(Target target) throws IllegalArgumentException
- Specified by:
createin interfaceMongoDatabaseFactory- Throws:
IllegalArgumentException- when givenTargetdoes not supply needed parameters
-
-