Interface MappingStartContext
-
public interface MappingStartContext
A start context for mappings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanResolver
beanResolver()
ConfigurationPropertySource
configurationPropertySource()
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.ThreadPoolProvider
threadPoolProvider()
-
-
-
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.- 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.
-
-