com.holonplatform.datastore.mongo.sync.config

## Interface SyncMongoDatastoreCommodityFactory<C extends com.holonplatform.core.datastore.DatastoreCommodity>

- Type Parameters:
    `C` - Actual commodity type
  All Superinterfaces:
    com.holonplatform.core.datastore.DatastoreCommodityFactory<SyncMongoDatastoreCommodityContext,C>, Serializable

      public interface SyncMongoDatastoreCommodityFactory<C extends com.holonplatform.core.datastore.DatastoreCommodity>
      extends com.holonplatform.core.datastore.DatastoreCommodityFactory<SyncMongoDatastoreCommodityContext,C>

  Synchronous MongoDB `DatastoreCommodityFactory` extension type to allow automatic registration using Java `ServiceLoader` extension, through a `com.holonplatform.datastore.mongo.sync.config.SyncMongoDatastoreCommodityFactory` file under the `META-INF/services` folder.

  A `Priority` annotation can be used on concrete `SyncMongoDatastoreCommodityFactory` implementation class to define a registration order, where a lower value means higher priority value.

  Since:
    5.2.0

- - ### Field Summary

    - ### Fields inherited from interface com.holonplatform.core.datastore.DatastoreCommodityFactory

      `DEFAULT_PRIORITY`

  - ### Method Summary

    - ### Methods inherited from interface com.holonplatform.core.datastore.DatastoreCommodityFactory

      `createCommodity, getCommodityType`

Copyright © 2019 The Holon Platform. All rights reserved.