public interface DatastorePostProcessor
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.
Modifier and Type | Method and Description |
---|---|
void |
postProcessDatastore(ConfigurableDatastore datastore,
String datastoreBeanName)
Configure given
datastore . |
void postProcessDatastore(ConfigurableDatastore datastore, String datastoreBeanName)
datastore
.datastore
- Datastore instancedatastoreBeanName
- Datastore bean nameCopyright © 2019 The Holon Platform. All rights reserved.