HHH-10059 - Make EntityManagerFactoryBuilderImpl.populate methods protected

This commit is contained in:
Steve Ebersole 2015-08-31 08:09:56 -05:00
parent 77bb57e8ab
commit dee80ab566
1 changed files with 3 additions and 3 deletions

View File

@ -598,7 +598,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
private List<AttributeConverterDefinition> populate( protected List<AttributeConverterDefinition> populate(
MetadataSources metadataSources, MetadataSources metadataSources,
MergedSettings mergedSettings, MergedSettings mergedSettings,
StandardServiceRegistry ssr) { StandardServiceRegistry ssr) {
@ -680,7 +680,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
return attributeConverterDefinitions; return attributeConverterDefinitions;
} }
private void populate( protected void populate(
MetadataBuilder metamodelBuilder, MetadataBuilder metamodelBuilder,
MergedSettings mergedSettings, MergedSettings mergedSettings,
StandardServiceRegistry ssr, StandardServiceRegistry ssr,
@ -816,7 +816,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
); );
} }
private void populate(SessionFactoryBuilder sfBuilder, StandardServiceRegistry ssr) { protected void populate(SessionFactoryBuilder sfBuilder, StandardServiceRegistry ssr) {
final StrategySelector strategySelector = ssr.getService( StrategySelector.class ); final StrategySelector strategySelector = ssr.getService( StrategySelector.class );
// Locate and apply the requested SessionFactory-level interceptor (if one) // Locate and apply the requested SessionFactory-level interceptor (if one)