Class MongoPersistenceStorageProvider
java.lang.Object
cloud.quinimbus.persistence.storage.mongo.MongoPersistenceStorageProvider
- All Implemented Interfaces:
PersistenceStorageProvider<MongoSchemaStorage>
public class MongoPersistenceStorageProvider
extends Object
implements PersistenceStorageProvider<MongoSchemaStorage>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSchema
(PersistenceContext context, cloud.quinimbus.config.api.ConfigNode config) createSchema
(PersistenceContext context, String schema, String username, String password, String host) createSchema
(PersistenceContext context, Map<String, Object> params)
-
Constructor Details
-
MongoPersistenceStorageProvider
public MongoPersistenceStorageProvider()
-
-
Method Details
-
createSchema
public MongoSchemaStorage createSchema(PersistenceContext context, String schema, String username, String password, String host) throws PersistenceException - Throws:
PersistenceException
-
createSchema
public MongoSchemaStorage createSchema(PersistenceContext context, Map<String, Object> params) throws PersistenceException- Specified by:
createSchema
in interfacePersistenceStorageProvider<MongoSchemaStorage>
- Throws:
PersistenceException
-
createSchema
public MongoSchemaStorage createSchema(PersistenceContext context, cloud.quinimbus.config.api.ConfigNode config) throws PersistenceException - Specified by:
createSchema
in interfacePersistenceStorageProvider<MongoSchemaStorage>
- Throws:
PersistenceException
-