Bean ordering

As the datastore configurator is intended to be used as a Spring Bean, call and autowiring ordering is important. Define schema configurations before you create the bean. This sequence is simplified by the IDatastoreConfiguratorSetup interface, which creates a DatastoreConfigurator instance and calls the applyModifications() and buildSchemas() methods prior to exposing the Spring Bean.

You can still define further additions to schemas, as well as modifications to those schemas, but they have to be properly ordered.

The buildSchemaDescription() method assumes proper ordering of all previous configurator object interactions.