All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.spi.MetadataContributor Maven / Gradle / Ivy

The newest version!
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.boot.spi;

import org.jboss.jandex.IndexView;

/**
 * Contract for contributing to Metadata (InFlightMetadataCollector).
 *
 * This hook occurs just afterQuery all processing of all {@link org.hibernate.boot.MetadataSources},
 * and just beforeQuery {@link org.hibernate.boot.spi.AdditionalJaxbMappingProducer}.
 *
 * @author Steve Ebersole
 *
 * @since 5.0
 */
public interface MetadataContributor {
	/**
	 * Perform the contributions.
	 *
	 * @param metadataCollector The metadata collector, representing the in-flight metadata being built
	 * @param jandexIndex The Jandex index
	 */
	public void contribute(InFlightMetadataCollector metadataCollector, IndexView jandexIndex);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy