Top Description Methods
org.hibernate.boot.spi

public Interface AdditionalMappingContributor

Annotations
@Incubating
@JavaServiceLoadable
Imports
org.hibernate.Incubating, org.hibernate.boot.ResourceStreamLocator, org.hibernate.service.JavaServiceLoadable

Contract allowing pluggable contributions of additional mapping objects. Resolvable as a Java service.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
contribute(AdditionalMappingContributions
Collector of the contributions.
contributions
,
InFlightMetadataCollector
Current (live) metadata. Can be used to access already known mappings.
metadata
,
ResourceStreamLocator
Delegate for locating XML resources via class-path lookup.
resourceStreamLocator
,
MetadataBuildingContext
Access to useful contextual references.
buildingContext
)

Deprecated as a consequence of InFlightMetadataCollector being deprecated.
Contribute the additional mappings
public default String
getContributorName()

The name of this contributor.

Method Detail

contributeback to summary
public void contribute(AdditionalMappingContributions contributions, InFlightMetadataCollector metadata, ResourceStreamLocator resourceStreamLocator, MetadataBuildingContext buildingContext)

Deprecated

as a consequence of InFlightMetadataCollector being deprecated. See corresponding docs for further information.

Contribute the additional mappings

Parameters
contributions:AdditionalMappingContributions

Collector of the contributions.

metadata:InFlightMetadataCollector

Current (live) metadata. Can be used to access already known mappings.

resourceStreamLocator:ResourceStreamLocator

Delegate for locating XML resources via class-path lookup.

buildingContext:MetadataBuildingContext

Access to useful contextual references.

getContributorNameback to summary
public default String getContributorName()

The name of this contributor. May be null.

See Also
org.hibernate.mapping.Contributable