Class MongoDataSource
java.lang.Object
tigase.mongodb.MongoDataSource
- All Implemented Interfaces:
tigase.db.DataSource, tigase.db.Repository, tigase.kernel.beans.UnregisterAware
@Deprecated
public class MongoDataSource
extends Object
implements tigase.db.DataSource, tigase.kernel.beans.UnregisterAware
Deprecated.
Created by andrzej on 04.10.2016.
-
Nested Class Summary
Nested classes/interfaces inherited from interface tigase.db.Repository
tigase.db.Repository.Meta, tigase.db.Repository.SchemaId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.voidDeprecated.com.mongodb.client.MongoDatabaseDeprecated.Deprecated.Optional<tigase.util.Version> getSchemaVersion(String component) Deprecated.voidinitialize(String resource_uri) Deprecated.voidinitRepository(String resource_uri, Map<String, String> params) Deprecated.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.db.DataSource
checkConnectivity, checkSchemaVersion
-
Constructor Details
-
MongoDataSource
public MongoDataSource()Deprecated.
-
-
Method Details
-
automaticSchemaManagement
public boolean automaticSchemaManagement()Deprecated.- Specified by:
automaticSchemaManagementin interfacetigase.db.DataSource
-
beforeUnregister
public void beforeUnregister()Deprecated.- Specified by:
beforeUnregisterin interfacetigase.kernel.beans.UnregisterAware
-
getDatabase
public com.mongodb.client.MongoDatabase getDatabase()Deprecated. -
getResourceUri
Deprecated.- Specified by:
getResourceUriin interfacetigase.db.DataSource
-
getSchemaVersion
-
initRepository
@Deprecated public void initRepository(String resource_uri, Map<String, String> params) throws tigase.db.DBInitExceptionDeprecated.- Specified by:
initRepositoryin interfacetigase.db.Repository- Throws:
tigase.db.DBInitException
-
initialize
Deprecated.- Specified by:
initializein interfacetigase.db.DataSource- Throws:
tigase.db.DBInitException
-