Top Fields Constructors Methods
org.hibernate.boot.model.process.internal

public Class ManagedResourcesImpl

extends Object
implements ManagedResources
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.process.spi.ManagedResources
Imports
java.util.ArrayList, .Collection, .Collections, .HashMap, .LinkedHashSet, .List, .Map, .Set, org.hibernate.Internal, org.hibernate.boot.MetadataSources, org.hibernate.boot.jaxb.spi.BindableMappingDescriptor, .Binding, org.hibernate.boot.model.convert.spi.ConverterDescriptor, org.hibernate.boot.model.process.spi.ManagedResources, org.hibernate.boot.spi.BootstrapContext, jakarta.persistence.AttributeConverter

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Set<String>
private final Set<Class<?>>
private final Set<String>
private final Map<Class<? extends AttributeConverter<X, Y>>, ConverterDescriptor>
private Map<String, Class<?>>
private final List<Binding<BindableMappingDescriptor>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addAnnotatedClassName(String annotatedClassName)

public void
addAnnotatedClassReference(Class<?> annotatedClassReference)

public void
addAnnotatedPackageName(String annotatedPackageName)

public void
public void
public static ManagedResourcesImpl
baseline(MetadataSources sources, BootstrapContext bootstrapContext)

public Collection<String>
getAnnotatedClassNames()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedClassNames.

Informational access to any entity and component classes in the user domain model known by name.
public Collection<Class<?>>
getAnnotatedClassReferences()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedClassReferences.

Informational access to any entity and component classes in the user domain model known by Class reference .
public Collection<String>
getAnnotatedPackageNames()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedPackageNames.

Informational access to any known annotated package names (packages with a package-info.class file that Hibernate has been told about).
public Collection<ConverterDescriptor>
getAttributeConverterDescriptors()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getAttributeConverterDescriptors.

Informational access to the AttributeConverter definitions known about.
public Map<String, Class<?>>
public Collection<Binding<BindableMappingDescriptor>>
getXmlMappingBindings()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getXmlMappingBindings.

Informational access to binding for all known XML mapping files.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotatedClassNamesback to summary
private final Set<String> annotatedClassNames
annotatedClassReferencesback to summary
private final Set<Class<?>> annotatedClassReferences
annotatedPackageNamesback to summary
private final Set<String> annotatedPackageNames
attributeConverterDescriptorMapback to summary
private final Map<Class<? extends AttributeConverter<X, Y>>, ConverterDescriptor> attributeConverterDescriptorMap
extraQueryImportsback to summary
private Map<String, Class<?>> extraQueryImports
mappingFileBindingsback to summary
private final List<Binding<BindableMappingDescriptor>> mappingFileBindings

Constructor Detail

ManagedResourcesImplback to summary
public ManagedResourcesImpl()

Method Detail

addAnnotatedClassNameback to summary
public void addAnnotatedClassName(String annotatedClassName)
Annotations
@Internal
addAnnotatedClassReferenceback to summary
public void addAnnotatedClassReference(Class<?> annotatedClassReference)
Annotations
@Internal
addAnnotatedPackageNameback to summary
public void addAnnotatedPackageName(String annotatedPackageName)
Annotations
@Internal
addAttributeConverterDefinitionback to summary
public void addAttributeConverterDefinition(ConverterDescriptor descriptor)
Annotations
@Internal
addXmlBindingback to summary
public void addXmlBinding(Binding<BindableMappingDescriptor> binding)
Annotations
@Internal
baselineback to summary
public static ManagedResourcesImpl baseline(MetadataSources sources, BootstrapContext bootstrapContext)
getAnnotatedClassNamesback to summary
public Collection<String> getAnnotatedClassNames()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedClassNames.

Doc from org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedClassNames.

Informational access to any entity and component classes in the user domain model known by name. Changes to made to the returned list have no effect.

Returns:Collection<String>

The list of entity/component classes known by name.

Annotations
@Override
getAnnotatedClassReferencesback to summary
public Collection<Class<?>> getAnnotatedClassReferences()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedClassReferences.

Doc from org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedClassReferences.

Informational access to any entity and component classes in the user domain model known by Class reference . Changes to made to the returned list have no effect.

Returns:Collection<Class<?>>

The list of entity/component classes known by Class reference.

Annotations
@Override
getAnnotatedPackageNamesback to summary
public Collection<String> getAnnotatedPackageNames()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedPackageNames.

Doc from org.hibernate.boot.model.process.spi.ManagedResources.getAnnotatedPackageNames.

Informational access to any known annotated package names (packages with a package-info.class file that Hibernate has been told about). Changes to made to the returned list have no effect.

Returns:Collection<String>

The list of known annotated package names.

Annotations
@Override
getAttributeConverterDescriptorsback to summary
public Collection<ConverterDescriptor> getAttributeConverterDescriptors()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getAttributeConverterDescriptors.

Doc from org.hibernate.boot.model.process.spi.ManagedResources.getAttributeConverterDescriptors.

Informational access to the AttributeConverter definitions known about. Changes to made to the returned list have no effect.

Returns:Collection<ConverterDescriptor>

The AttributeConverter definitions.

Annotations
@Override
getExtraQueryImportsback to summary
public Map<String, Class<?>> getExtraQueryImports()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getExtraQueryImports.

Annotations
@Override
getXmlMappingBindingsback to summary
public Collection<Binding<BindableMappingDescriptor>> getXmlMappingBindings()

Implements org.hibernate.boot.model.process.spi.ManagedResources.getXmlMappingBindings.

Doc from org.hibernate.boot.model.process.spi.ManagedResources.getXmlMappingBindings.

Informational access to binding for all known XML mapping files. Changes to made to the returned list have no effect.

Returns:Collection<Binding<BindableMappingDescriptor>>

The list of bindings for all known XML mapping files.

Annotations
@Override