Interface ManagedResources


  • public interface ManagedResources
    Represents the result of the first step of the process of building MetadataSources reference into a Metadata reference.

    Essentially it represents the combination of:

    1. domain classes, packages and mapping files defined via MetadataSources
    2. attribute converters defined via MetadataBuildingOptions
    3. classes, converters, packages and mapping files auto-discovered as part of scanning
    • Method Detail

      • getAttributeConverterDefinitions

        java.util.Collection<AttributeConverterInfo> getAttributeConverterDefinitions()
        Informational access to the AttributeConverter definitions known about. Changes to made to the returned list have no effect.
        Returns:
        The AttributeConverter definitions.
      • getAnnotatedClassReferences

        java.util.Collection<java.lang.Class> 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:
        The list of entity/component classes known by Class reference.
      • getAnnotatedClassNames

        java.util.Collection<java.lang.String> 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:
        The list of entity/component classes known by name.
      • getAnnotatedPackageNames

        java.util.Collection<java.lang.String> 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:
        The list of known annotated package names.
      • getXmlMappingBindings

        java.util.Collection<Binding> getXmlMappingBindings()
        Informational access to binding for all known XML mapping files. Changes to made to the returned list have no effect.
        Returns:
        The list of bindings for all known XML mapping files.