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 voidaddAnnotatedClassName(String annotatedClassName)voidaddAnnotatedClassReference(Class annotatedClassReference)voidaddAnnotatedPackageName(String annotatedPackageName)voidaddAttributeConverterDefinition(ConverterDescriptor descriptor)voidaddXmlBinding(Binding binding)static ManagedResourcesImplbaseline(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.classfile 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:ManagedResourcesInformational access to the AttributeConverter definitions known about. Changes to made to the returned list have no effect.- Specified by:
getAttributeConverterDescriptorsin interfaceManagedResources- Returns:
- The AttributeConverter definitions.
-
getAnnotatedClassReferences
public Collection<Class> getAnnotatedClassReferences()
Description copied from interface:ManagedResourcesInformational 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:
getAnnotatedClassReferencesin interfaceManagedResources- Returns:
- The list of entity/component classes known by Class reference.
-
getAnnotatedClassNames
public Collection<String> getAnnotatedClassNames()
Description copied from interface:ManagedResourcesInformational 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:
getAnnotatedClassNamesin interfaceManagedResources- Returns:
- The list of entity/component classes known by name.
-
getAnnotatedPackageNames
public Collection<String> getAnnotatedPackageNames()
Description copied from interface:ManagedResourcesInformational access to any known annotated package names (packages with apackage-info.classfile that Hibernate has been told about). Changes to made to the returned list have no effect.- Specified by:
getAnnotatedPackageNamesin interfaceManagedResources- Returns:
- The list of known annotated package names.
-
getXmlMappingBindings
public Collection<Binding> getXmlMappingBindings()
Description copied from interface:ManagedResourcesInformational access to binding for all known XML mapping files. Changes to made to the returned list have no effect.- Specified by:
getXmlMappingBindingsin interfaceManagedResources- Returns:
- The list of bindings for all known XML mapping files.
-
getExtraQueryImports
public Map<String,Class<?>> getExtraQueryImports()
- Specified by:
getExtraQueryImportsin interfaceManagedResources
-
addAttributeConverterDefinition
@Internal public void addAttributeConverterDefinition(ConverterDescriptor descriptor)
-
addAnnotatedClassReference
@Internal public void addAnnotatedClassReference(Class annotatedClassReference)
-
-