mark Caching and TypeBeanInstanceProducer for potential package moves

This commit is contained in:
Gavin 2022-12-31 12:06:25 +01:00
parent cb103256e1
commit 98d693501a
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,10 @@ import org.hibernate.internal.util.StringHelper;
* *
* @author Steve Ebersole * @author Steve Ebersole
* @author Hardy Ferentschik * @author Hardy Ferentschik
*
* @deprecated will move to {@link org.hibernate.boot.model.source.spi}, where its only uses are
*/ */
@Deprecated(since = "6") // because it is moving packages
public class Caching { public class Caching {
// NOTE : TruthValue for now because I need to look at how JPA's SharedCacheMode concept is handled // NOTE : TruthValue for now because I need to look at how JPA's SharedCacheMode concept is handled
private TruthValue requested; private TruthValue requested;

View File

@ -9,6 +9,7 @@ package org.hibernate.boot.model;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.util.Map; import java.util.Map;
import org.hibernate.Internal;
import org.hibernate.MappingException; import org.hibernate.MappingException;
import org.hibernate.engine.config.spi.ConfigurationService; import org.hibernate.engine.config.spi.ConfigurationService;
import org.hibernate.internal.util.ReflectHelper; import org.hibernate.internal.util.ReflectHelper;
@ -17,11 +18,11 @@ import org.hibernate.type.spi.TypeBootstrapContext;
import org.hibernate.type.spi.TypeConfiguration; import org.hibernate.type.spi.TypeConfiguration;
/** /**
* BeanInstanceProducer implementation for building beans related with * {@link BeanInstanceProducer} implementation for building beans related to custom types.
* custom types.
* *
* @author Christian Beikov * @author Christian Beikov
*/ */
@Internal //TODO: move this to org.hibernate.boot.internal, where its only usage is
public class TypeBeanInstanceProducer implements BeanInstanceProducer, TypeBootstrapContext { public class TypeBeanInstanceProducer implements BeanInstanceProducer, TypeBootstrapContext {
private final TypeConfiguration typeConfiguration; private final TypeConfiguration typeConfiguration;