com.holonplatform.datastore.mongo.core.async.config

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

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

      public interface AsyncMongoDatastoreCommodityFactory<C extends com.holonplatform.core.datastore.DatastoreCommodity>
      extends com.holonplatform.core.datastore.DatastoreCommodityFactory<AsyncMongoDatastoreCommodityContext,C>

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

  A `Priority` annotation can be used on concrete `AsyncMongoDatastoreCommodityFactory` 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.