org.hibernate.ogm.datastore.mongodb.impl
Class MongoDBDatastoreProvider

java.lang.Object
  extended by org.hibernate.ogm.datastore.mongodb.impl.MongoDBDatastoreProvider
All Implemented Interfaces:
Serializable, DatastoreProvider, org.hibernate.service.Service, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.Startable, org.hibernate.service.spi.Stoppable

public class MongoDBDatastoreProvider
extends Object
implements DatastoreProvider, org.hibernate.service.spi.Startable, org.hibernate.service.spi.Stoppable, org.hibernate.service.spi.Configurable

Provides access to MongoDB system

Author:
Guillaume Scheibel
See Also:
Serialized Form

Constructor Summary
MongoDBDatastoreProvider()
           
 
Method Summary
 void configure(Map configurationValues)
           
 AssociationStorage getAssociationStorage()
           
 com.mongodb.DB getDatabase()
           
 Class<? extends GridDialect> getDefaultDialect()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MongoDBDatastoreProvider

public MongoDBDatastoreProvider()
Method Detail

configure

public void configure(Map configurationValues)
Specified by:
configure in interface org.hibernate.service.spi.Configurable

getAssociationStorage

public AssociationStorage getAssociationStorage()

getDefaultDialect

public Class<? extends GridDialect> getDefaultDialect()
Specified by:
getDefaultDialect in interface DatastoreProvider

start

public void start()
Specified by:
start in interface org.hibernate.service.spi.Startable

stop

public void stop()
Specified by:
stop in interface org.hibernate.service.spi.Stoppable

getDatabase

public com.mongodb.DB getDatabase()


Copyright © 2010-2012 Hibernate. All Rights Reserved.