org.keycloak.connections.mongo

## Interface MongoConnectionProviderFactory

- All Superinterfaces:
    ProviderFactory<MongoConnectionProvider>
  All Known Implementing Classes:
    DefaultMongoConnectionFactoryProvider

      public interface MongoConnectionProviderFactory
      extends ProviderFactory<MongoConnectionProvider>

  Author:
    Stian Thorgersen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.mongodb.DB` | `getDBBeforeUpdate()`

    - ### Methods inherited from interface org.keycloak.provider.ProviderFactory

      `close, create, getId, init, postInit`

- - ### Method Detail

    - #### getDBBeforeUpdate

          com.mongodb.DB getDBBeforeUpdate()

      Returns:
        DB object, which may not be yet updated to current Keycloak version. Useful just if something needs to be done even before DB update (for example acquire DB lock)

Copyright © 2016 JBoss by Red Hat. All rights reserved.