public interface IndexConfigurer extends Configurer<IndexFactoryBean>
IndexConfigurer
interface defines a contract for implementing Objects
in order to
customize the configuration of Entity-defined Indexes
when a user annotates her Spring application
Configuration
Class
with EnableIndexing
.LuceneIndex
,
Index
,
IndexFactoryBean
,
EnableIndexing
,
IndexConfiguration
,
Configurer
,
LuceneIndexFactoryBean
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Modifier and Type | Method and Description |
---|---|
default void |
configure(String beanName,
IndexFactoryBean bean)
Configuration callback method providing a reference to a
IndexFactoryBean used to construct, configure
and initialize an instance of a peer Index . |
default void |
configure(String beanName,
LuceneIndexFactoryBean bean)
Configuration callback method providing a reference to a
LuceneIndexFactoryBean used to construct,
configure and initialize an instance of a peer LuceneIndex . |
getOrder
default void configure(String beanName, IndexFactoryBean bean)
IndexFactoryBean
used to construct, configure
and initialize an instance of a peer Index
.configure
in interface Configurer<IndexFactoryBean>
beanName
- name of the Index
bean declared in the Spring application context.bean
- reference to the IndexFactoryBean
.IndexFactoryBean
default void configure(String beanName, LuceneIndexFactoryBean bean)
LuceneIndexFactoryBean
used to construct,
configure and initialize an instance of a peer LuceneIndex
.beanName
- name of the LuceneIndex
bean declared in the Spring application context.bean
- reference to the LuceneIndexFactoryBean
.LuceneIndexFactoryBean
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.