Class BeanFactoryLocatorConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.BeanFactoryLocatorConfiguration
The
BeanFactoryLocatorConfiguration
class extends the Spring application configuration by enabling
Spring Data GemFire/Geode's GemfireBeanFactoryLocator
in order to auto-wire and configure any
GemFire/Geode Objects declared in GemFire/Geode config (e.g. XML or properties).- Since:
- 2.0.0
- Author:
- John Blum
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeclares and registers a SpringBeanPostProcessor
bean to post process a Spring Data GeodeCacheFactoryBean
orClientCacheFactoryBean
by setting the useBeanFactoryLocator property to true.Declares and registers aClientCacheConfigurer
bean to configure aClientCacheFactoryBean
by setting the useBeanFactoryLocator property to true.Declares and registers aPeerCacheConfigurer
bean to configure aCacheFactoryBean
by setting the useBeanFactoryLocator property to true.
-
Constructor Details
-
BeanFactoryLocatorConfiguration
public BeanFactoryLocatorConfiguration()
-
-
Method Details
-
useBeanFactoryLocatorBeanPostProcessor
Declares and registers a SpringBeanPostProcessor
bean to post process a Spring Data GeodeCacheFactoryBean
orClientCacheFactoryBean
by setting the useBeanFactoryLocator property to true.- Returns:
- a Spring
BeanPostProcessor
used to post process an SDGCacheFactoryBean
. - See Also:
-
useBeanFactoryLocatorClientCacheConfigurer
Declares and registers aClientCacheConfigurer
bean to configure aClientCacheFactoryBean
by setting the useBeanFactoryLocator property to true.- Returns:
- a
ClientCacheConfigurer
used to configure and set the SDGClientCacheFactoryBean
's useBeanFactoryLocator property to true. - See Also:
-
useBeanFactoryLocatorPeerCacheConfigurer
Declares and registers aPeerCacheConfigurer
bean to configure aCacheFactoryBean
by setting the useBeanFactoryLocator property to true.- Returns:
- a
PeerCacheConfigurer
used to configure and set the SDGCacheFactoryBean
's useBeanFactoryLocator property to true. - See Also:
-