Removed deprecated InFlightMetadataCollector.getClassmateContext()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
6564abe4c7
commit
41016674cb
|
@ -369,11 +369,6 @@ public class InFlightMetadataCollectorImpl implements InFlightMetadataCollector
|
|||
typeDefRegistry.register( typeDefinition );
|
||||
}
|
||||
|
||||
@Override
|
||||
public ClassmateContext getClassmateContext() {
|
||||
return bootstrapContext.getClassmateContext();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerValueMappingResolver(Function<MetadataBuildingContext, Boolean> resolver) {
|
||||
if ( valueResolvers == null ) {
|
||||
|
|
|
@ -295,17 +295,6 @@ public interface InFlightMetadataCollector extends Mapping, MetadataImplementor
|
|||
NaturalIdUniqueKeyBinder locateNaturalIdUniqueKeyBinder(String entityName);
|
||||
void registerNaturalIdUniqueKeyBinder(String entityName, NaturalIdUniqueKeyBinder ukBinder);
|
||||
|
||||
/**
|
||||
* Access to the shared Classmate objects used throughout Hibernate's
|
||||
* bootstrap process.
|
||||
*
|
||||
* @return Access to the shared Classmate delegates.
|
||||
*
|
||||
* @deprecated Use {@link BootstrapContext#getClassmateContext()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
ClassmateContext getClassmateContext();
|
||||
|
||||
void registerValueMappingResolver(Function<MetadataBuildingContext,Boolean> resolver);
|
||||
|
||||
void addJavaTypeRegistration(Class<?> javaType, JavaType<?> jtd);
|
||||
|
|
|
@ -276,7 +276,7 @@ public abstract class SimpleValue implements KeyValue {
|
|||
this.attributeConverterDescriptor = new ClassBasedConverterDescriptor(
|
||||
converterClass,
|
||||
false,
|
||||
( (InFlightMetadataCollector) getMetadata() ).getClassmateContext()
|
||||
( (InFlightMetadataCollector) getMetadata() ).getBootstrapContext().getClassmateContext()
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue