com.holonplatform.spring

## Interface DatastorePostProcessor

-     public interface DatastorePostProcessor

  A post processor to configure a `ConfigurableDatastore` bean right after its initialization. Can be used, for example, to register `ExpressionResolver`s.

  A class implementing this interface declared as Spring bean is automatically detected by Datastores and the method `postProcessDatastore(ConfigurableDatastore, String)` is called at Datastore bean initialization. The DatastorePostProcessor class must be registered with singleton scope in context.

  Since:
    5.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `postProcessDatastore(ConfigurableDatastore datastore, String datastoreBeanName)` Configure given `datastore`.

- - ### Method Detail

    - #### postProcessDatastore

          void postProcessDatastore(ConfigurableDatastore datastore,
                                    String datastoreBeanName)

      Configure given `datastore`.
      Parameters:
        `datastore` - Datastore instance
        `datastoreBeanName` - Datastore bean name

Copyright © 2019 The Holon Platform. All rights reserved.