public class SearchConfigurationSupport
Main class providing the configuration of Spring Data Search.
An alternative more advanced option is to extend directly from this class and override methods as necessary, remembering to add annotationclass Configuration
to the subclass and annotationclass Bean
to overridden annotationclass Bean
methods.
annotationclass Configuration
,
annotationclass Bean
,
annotationclass Bean
public SearchConfigurationSupport()
Main class providing the configuration of Spring Data Search.
An alternative more advanced option is to extend directly from this class and override methods as necessary, remembering to add annotationclass Configuration
to the subclass and annotationclass Bean
to overridden annotationclass Bean
methods.
annotationclass Configuration
,
annotationclass Bean
,
annotationclass Bean
@Autowired public void setEntityManager(@NotNull javax.persistence.EntityManager entityManager)
@PreDestroy public void resetJpaSpecificationExecutorFactory()
@Bean @NotNull public SearchDescriptorService searchDescriptorService(@NotNull org.springframework.beans.factory.ObjectProvider<com.weedow.spring.data.search.descriptor.SearchDescriptor> searchDescriptors)
protected void addSearchDescriptors(@NotNull SearchDescriptorRegistry registry)
Override this method to add custom interface SearchDescriptor
s.
registry
- interface SearchDescriptorRegistry
interface SearchDescriptor
@Bean @NotNull public AliasResolutionService searchAliasResolutionService(@NotNull org.springframework.beans.factory.ObjectProvider<com.weedow.spring.data.search.alias.AliasResolver> aliasResolvers)
protected void addAliasResolvers(@NotNull AliasResolverRegistry registry)
Override this method to add custom interface AliasResolver
s.
registry
- interface AliasResolverRegistry
interface AliasResolver
@Bean @NotNull public org.springframework.core.convert.ConversionService searchConversionService(@NotNull org.springframework.beans.factory.ObjectProvider<org.springframework.core.convert.converter.Converter> converters)
protected void addConverters(@NotNull org.springframework.core.convert.converter.ConverterRegistry registry)
Override this method to add custom Converters.
registry
- ConverterRegistry