Top Description Methods
org.hibernate.boot.model.process.spi

public Interface ManagedResources

Known Direct Implementers
org.hibernate.boot.model.process.internal.ManagedResourcesImpl
Imports
java.util.Collection, .Map, org.hibernate.boot.jaxb.spi.BindableMappingDescriptor, .Binding, org.hibernate.boot.model.convert.spi.ConverterDescriptor

Represents the result of the first step of the process of building org.hibernate.boot.MetadataSources reference into a org.hibernate.boot.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
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Collection<String>

Returns:

The list of entity/component classes known by name.
getAnnotatedClassNames
()

Informational access to any entity and component classes in the user domain model known by name.

public Collection<Class<?>>

Returns:

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

Informational access to any entity and component classes in the user domain model known by Class reference .

public Collection<String>

Returns:

The list of known annotated package names.
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>

Returns:

The AttributeConverter definitions.
getAttributeConverterDescriptors
()

Informational access to the AttributeConverter definitions known about.

public Map<String, Class<?>>
public Collection<Binding<BindableMappingDescriptor>>

Returns:

The list of bindings for all known XML mapping files.
getXmlMappingBindings
()

Informational access to binding for all known XML mapping files.

Method Detail

getAnnotatedClassNamesback to summary
public Collection<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:Collection<String>

The list of entity/component classes known by name.

getAnnotatedClassReferencesback to summary
public Collection<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:Collection<Class<?>>

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

getAnnotatedPackageNamesback to summary
public Collection<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:Collection<String>

The list of known annotated package names.

getAttributeConverterDescriptorsback to summary
public Collection<ConverterDescriptor> 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.

getExtraQueryImportsback to summary
public Map<String, Class<?>> getExtraQueryImports()
getXmlMappingBindingsback to summary
public Collection<Binding<BindableMappingDescriptor>> 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.