Class ManagedResourcesImpl
- java.lang.Object
-
- org.hibernate.boot.model.process.internal.ManagedResourcesImpl
-
- All Implemented Interfaces:
ManagedResources
public class ManagedResourcesImpl extends Object implements ManagedResources
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAnnotatedClassName(String annotatedClassName)
void
addAnnotatedClassReference(Class annotatedClassReference)
void
addAnnotatedPackageName(String annotatedPackageName)
void
addAttributeConverterDefinition(ConverterDescriptor descriptor)
void
addXmlBinding(Binding binding)
static ManagedResourcesImpl
baseline(MetadataSources sources, BootstrapContext bootstrapContext)
Collection<String>
getAnnotatedClassNames()
Informational access to any entity and component classes in the user domain model known by name.Collection<Class>
getAnnotatedClassReferences()
Informational access to any entity and component classes in the user domain model known by Class reference .Collection<String>
getAnnotatedPackageNames()
Informational access to any known annotated package names (packages with apackage-info.class
file that Hibernate has been told about).Collection<ConverterDescriptor>
getAttributeConverterDescriptors()
Informational access to the AttributeConverter definitions known about.Map<String,Class<?>>
getExtraQueryImports()
Collection<Binding>
getXmlMappingBindings()
Informational access to binding for all known XML mapping files.
-
-
-
Method Detail
-
baseline
public static ManagedResourcesImpl baseline(MetadataSources sources, BootstrapContext bootstrapContext)
-
getAttributeConverterDescriptors
public Collection<ConverterDescriptor> getAttributeConverterDescriptors()
Description copied from interface:ManagedResources
Informational access to the AttributeConverter definitions known about. Changes to made to the returned list have no effect.- Specified by:
getAttributeConverterDescriptors
in interfaceManagedResources
- Returns:
- The AttributeConverter definitions.
-
getAnnotatedClassReferences
public Collection<Class> getAnnotatedClassReferences()
Description copied from interface:ManagedResources
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.- Specified by:
getAnnotatedClassReferences
in interfaceManagedResources
- Returns:
- The list of entity/component classes known by Class reference.
-
getAnnotatedClassNames
public Collection<String> getAnnotatedClassNames()
Description copied from interface:ManagedResources
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.- Specified by:
getAnnotatedClassNames
in interfaceManagedResources
- Returns:
- The list of entity/component classes known by name.
-
getAnnotatedPackageNames
public Collection<String> getAnnotatedPackageNames()
Description copied from interface:ManagedResources
Informational access to any known annotated package names (packages with apackage-info.class
file that Hibernate has been told about). Changes to made to the returned list have no effect.- Specified by:
getAnnotatedPackageNames
in interfaceManagedResources
- Returns:
- The list of known annotated package names.
-
getXmlMappingBindings
public Collection<Binding> getXmlMappingBindings()
Description copied from interface:ManagedResources
Informational access to binding for all known XML mapping files. Changes to made to the returned list have no effect.- Specified by:
getXmlMappingBindings
in interfaceManagedResources
- Returns:
- The list of bindings for all known XML mapping files.
-
getExtraQueryImports
public Map<String,Class<?>> getExtraQueryImports()
- Specified by:
getExtraQueryImports
in interfaceManagedResources
-
addAttributeConverterDefinition
@Internal public void addAttributeConverterDefinition(ConverterDescriptor descriptor)
-
addAnnotatedClassReference
@Internal public void addAnnotatedClassReference(Class annotatedClassReference)
-
-