Interface MappingStartContext

  • public interface MappingStartContext
    A start context for mappings.
    • Method Detail

      • failureCollector

        ContextualFailureCollector failureCollector()
        A collector of (non-fatal) failures, allowing notification of Hibernate Search that something went wrong and an exception should be thrown at some point, while still continuing the bootstrap process for some time to collect other errors that could be relevant to users.
        A failure collector.
      • configurationPropertySource

        ConfigurationPropertySource configurationPropertySource()
        A configuration property source, appropriately masked so that the strategy doesn't need to care about Hibernate Search prefixes (*, etc.). All the properties can be accessed at the root.
      • threadPoolProvider

        ThreadPoolProvider threadPoolProvider()
        A provided of thread pools, to use when spawning background processes.