Class LocatorApplicationConfiguration

java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.LocatorApplicationConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportAware, org.springframework.context.EnvironmentAware

@Configuration public class LocatorApplicationConfiguration extends AbstractAnnotationConfigSupport implements org.springframework.context.annotation.ImportAware
Spring @Configuration class used to configure and bootstrap an Apache Geode or Pivotal GemFire Locator.
Since:
2.2.0
See Also:
  • Field Details

    • DEFAULT_USE_BEAN_FACTORY_LOCATOR

      public static final boolean DEFAULT_USE_BEAN_FACTORY_LOCATOR
      See Also:
    • DEFAULT_USE_CLUSTER_CONFIGURATTION_SERVICE

      public static final boolean DEFAULT_USE_CLUSTER_CONFIGURATTION_SERVICE
      See Also:
    • DEFAULT_PORT

      public static final int DEFAULT_PORT
      See Also:
    • DEFAULT_LOG_LEVEL

      public static final String DEFAULT_LOG_LEVEL
      See Also:
    • DEFAULT_NAME

      public static final String DEFAULT_NAME
      See Also:
    • DEFAULT_USE_UDP_MEMBERSHIP_MESSENGER

      public static final boolean DEFAULT_USE_UDP_MEMBERSHIP_MESSENGER
      See Also:
    • LOCATOR_APPLICATION_MUTEX_ERROR_MESSAGE

      protected static final String LOCATOR_APPLICATION_MUTEX_ERROR_MESSAGE
      See Also:
  • Constructor Details

    • LocatorApplicationConfiguration

      public LocatorApplicationConfiguration()
  • Method Details

    • getAnnotationType

      @NonNull protected Class<? extends Annotation> getAnnotationType()
      Returns the LocatorApplication annotation used to configure and bootstrap a Locator-based, Spring application.
      Specified by:
      getAnnotationType in class AbstractAnnotationConfigSupport
      Returns:
      the LocatorApplication annotation type.
      See Also:
    • setImportMetadata

      public void setImportMetadata(@NonNull org.springframework.core.type.AnnotationMetadata importMetadata)
      Process the Annotation metadata from the LocatorApplication annotation.
      Specified by:
      setImportMetadata in interface org.springframework.context.annotation.ImportAware
      Parameters:
      importMetadata - AnnotationMetadata containing metadata from the LocatorApplication annotation annotated on the Spring application Configuration Class.
      See Also:
      • AnnotationMetadata
    • locatorApplication

      @Bean public LocatorFactoryBean locatorApplication()
    • setBindAddress

      public void setBindAddress(@Nullable String bindAddress)
    • getBindAddress

      @Nullable public String getBindAddress()
    • setHostnameForClients

      public void setHostnameForClients(@Nullable String hostnameForClients)
    • getHostnameForClients

      @Nullable public String getHostnameForClients()
    • setLocators

      public void setLocators(@Nullable String locators)
    • getLocators

      @Nullable public String getLocators()
    • setLogLevel

      public void setLogLevel(@Nullable String logLevel)
    • getLogLevel

      @Nullable public String getLogLevel()
    • setName

      public void setName(@Nullable String name)
    • getName

      @Nullable public String getName()
    • setPort

      public void setPort(int port)
    • getPort

      public int getPort()
    • isUseBeanFactoryLocator

      public boolean isUseBeanFactoryLocator()
    • setUseBeanFactoryLocator

      public void setUseBeanFactoryLocator(boolean useBeanFactoryLocator)
    • setUseClusterConfigurationService

      public void setUseClusterConfigurationService(boolean useClusterConfigurationService)
    • setUseUDPMembershipMessenger

      public void setUseUDPMembershipMessenger(boolean useUDPMembershipMessenger)
    • isUseClusterConfigurationService

      public boolean isUseClusterConfigurationService()
    • isUseUDPMembershipMessenger

      public boolean isUseUDPMembershipMessenger()