diff --git a/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java b/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java index a2c9e22d8e..4c3b20a2b2 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java @@ -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) {