HHH-13854 Allow extensions of StandardServiceRegistryBuilder to ignore Environment variables

This commit is contained in:
Sanne Grinovero 2020-02-07 16:39:01 +00:00
parent 11b1623774
commit 90b69ffc7d
1 changed files with 3 additions and 2 deletions

View File

@ -97,11 +97,12 @@ public class StandardServiceRegistryBuilder {
}
/**
* Intended for use exclusively from JPA boot-strapping.
* Intended for use exclusively from JPA boot-strapping, or extensions of
* this class. Consider this an SPI.
*
* @see #forJpa
*/
private StandardServiceRegistryBuilder(
protected StandardServiceRegistryBuilder(
BootstrapServiceRegistry bootstrapServiceRegistry,
Map settings,
LoadedConfig loadedConfig) {