org.hibernate.search.engine.common.spi.SearchIntegrationFinalizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-engine Show documentation
Show all versions of hibernate-search-engine Show documentation
Hibernate Search engine, always required
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.search.engine.common.spi;
import org.hibernate.search.engine.mapper.mapping.building.spi.MappingFinalizer;
import org.hibernate.search.engine.mapper.mapping.building.spi.MappingKey;
public interface SearchIntegrationFinalizer {
/**
* Finalize the building of a mapping.
* @param mappingKey The mapping key allowing to retrieve the pre-built mapping.
* @param finalizer The object responsible for turning a pre-built mapping into a fully-built mapping
* (it may hold some additional context).
* @param The type of the partially-built mapping.
* @param The type of the fully-built mapping.
* @return The fully-built mapping.
*/
M finalizeMapping(MappingKey mappingKey, MappingFinalizer finalizer);
/**
* Finalize the building of the integration.
* @return The fully-built integration.
*/
SearchIntegration finalizeIntegration();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy