Interface MappingStartContext


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

    • 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.
      Returns:
      A failure collector.
    • beanResolver

      BeanResolver beanResolver()
      Returns:
      A BeanResolver.
    • configurationPropertySource

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

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

      SearchIntegration.Handle integrationHandle()
      Returns:
      A SearchIntegration.Handle to access the SearchIntegration.