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.boot.AttributeConverterInfo, .MetadataSources, org.hibernate.boot.jaxb.spi.Binding, org.hibernate.boot.model.process.spi.ManagedResources, org.hibernate.boot.spi.BootstrapContext, .MetadataBuildingOptions, org.hibernate.cfg.AttributeConverterDefinition

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Set<String>
private Set<Class<T>>
private Set<String>
private Map<Class<T>, AttributeConverterInfo>
private List<Binding<T>>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv void
addAnnotatedClassName(String annotatedClassName)

pack-priv void
addAnnotatedClassReference(Class<T> annotatedClassReference)

pack-priv void
addAnnotatedPackageName(String annotatedPackageName)

pack-priv void
pack-priv void
addXmlBinding(Binding<T> binding)

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<T>>
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<AttributeConverterInfo>
getAttributeConverterDefinitions()

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

Informational access to the AttributeConverter definitions known about.
public Collection<Binding<T>>
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 Set<String> annotatedClassNames
annotatedClassReferencesback to summary
private Set<Class<T>> annotatedClassReferences
annotatedPackageNamesback to summary
private Set<String> annotatedPackageNames
attributeConverterInfoMapback to summary
private Map<Class<T>, AttributeConverterInfo> attributeConverterInfoMap
mappingFileBindingsback to summary
private List<Binding<T>> mappingFileBindings

Constructor Detail

ManagedResourcesImplback to summary
private ManagedResourcesImpl()

Method Detail

addAnnotatedClassNameback to summary
pack-priv void addAnnotatedClassName(String annotatedClassName)
addAnnotatedClassReferenceback to summary
pack-priv void addAnnotatedClassReference(Class<T> annotatedClassReference)
addAnnotatedPackageNameback to summary
pack-priv void addAnnotatedPackageName(String annotatedPackageName)
addAttributeConverterDefinitionback to summary
pack-priv void addAttributeConverterDefinition(AttributeConverterInfo converterInfo)
addXmlBindingback to summary
pack-priv void addXmlBinding(Binding<T> binding)
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<T>> 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<T>>

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
getAttributeConverterDefinitionsback to summary
public Collection<AttributeConverterInfo> getAttributeConverterDefinitions()

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

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

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

Returns:Collection<AttributeConverterInfo>

The AttributeConverter definitions.

Annotations
@Override
getXmlMappingBindingsback to summary
public Collection<Binding<T>> 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<T>>

The list of bindings for all known XML mapping files.

Annotations
@Override