Interface BeanConfigurer
-
public interface BeanConfigurerAn object responsible for defining beans that can then be resolved during Hibernate Search bootstrap.Bean configurers can be enabled through two different methods:
- Java services: create a file named
org.hibernate.search.engine.environment.bean.spi.BeanConfigurerin theMETA-INF/servicesdirectory of your JAR, and set the content of this file to the fully-qualified name of yourBeanConfigurerimplementation. - Configuration properties: set the
EngineSpiSettings.BEAN_CONFIGURERSconfiguration property (be sure to use the appropriate prefix for the property key, e.g.hibernate.search.).
- Java services: create a file named
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(BeanConfigurationContext context)Configure beans as necessary using the givencontext.
-
-
-
Method Detail
-
configure
void configure(BeanConfigurationContext context)
Configure beans as necessary using the givencontext.- Parameters:
context- A context exposing methods to configure beans.
-
-