Type Parameters:
T - Class type of the configurable Spring component processed by this Configurer.
All Superinterfaces:
Ordered
All Known Subinterfaces:
CacheServerConfigurer, ClientCacheConfigurer, ContinuousQueryListenerContainerConfigurer, DiskStoreConfigurer, GatewayReceiverConfigurer, GatewaySenderConfigurer, IndexConfigurer, LocatorConfigurer, PeerCacheConfigurer, PoolConfigurer, RegionConfigurer
All Known Implementing Classes:
AbstractLazyResolvingComposableConfigurer, EmbeddedServiceConfigurationSupport.ClientGemFirePropertiesConfigurer, EmbeddedServiceConfigurationSupport.LocatorGemFirePropertiesConfigurer, EmbeddedServiceConfigurationSupport.PeerGemFirePropertiesConfigurer, LazyResolvingComposableCacheServerConfigurer, LazyResolvingComposableClientCacheConfigurer, LazyResolvingComposableContinuousQueryListenerContainerConfigurer, LazyResolvingComposableDiskStoreConfigurer, LazyResolvingComposableGatewayReceiverConfigurer, LazyResolvingComposableGatewaySenderConfigurer, LazyResolvingComposableIndexConfigurer, LazyResolvingComposableLocatorConfigurer, LazyResolvingComposablePeerCacheConfigurer, LazyResolvingComposablePoolConfigurer, LazyResolvingComposableRegionConfigurer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Configurer<T> extends Ordered
The Configurer interface defines a contract for implementing objects that can modify some aspect of configuration given a reference to the Spring component responsible for the configuration of some Apache Geode or Pivotal GemFire Object declared as a bean in the Spring container.
Since:
2.2.0
Author:
John Blum
See Also:
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(String beanName, T bean)
    Applies additional user-defined configuration to the given Spring component.
    default int
    Determines the order of this Configurer bean relative to other Configurers of the same type.
  • Method Details

    • configure

      void configure(String beanName, T bean)
      Applies additional user-defined configuration to the given Spring component.
      Parameters:
      beanName - String containing the name of the Spring bean (component).
      bean - Spring component used to construct, configure and initialize the Apache Geode or Pivotal GemFire Object declared as a bean in the Spring container.
    • getOrder

      default int getOrder()
      Determines the order of this Configurer bean relative to other Configurers of the same type. Returns 0 by default.
      Specified by:
      getOrder in interface Ordered
      Returns:
      the order in which this Configurer is applied.
      See Also: