com.holonplatform.spring

## Interface DatastorePostProcessor

-     public interface DatastorePostProcessor

  A post processor to configure a `Datastore` 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(Datastore, 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(Datastore datastore, String datastoreBeanName)` Configure given `datastore`.

- - ### Method Detail

    - #### postProcessDatastore

          void postProcessDatastore(Datastore datastore,
                                    String datastoreBeanName)

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

Copyright © 2017 The Holon Platform. All rights reserved.