com.holonplatform.datastore.jpa.config

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

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

      public interface JpaDatastoreCommodityFactory<C extends com.holonplatform.core.datastore.DatastoreCommodity>
      extends com.holonplatform.core.datastore.DatastoreCommodityFactory<JpaDatastoreCommodityContext,C>

  JPA `DatastoreCommodityFactory` extension type to allow automatic registration using Java `ServiceLoader` extension, through a `com.holonplatform.datastore.jpa.config.JpaDatastoreCommodityFactory` file under the `META-INF/services` folder.

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

  Since:
    5.0.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.