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

  • 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)
    • isUseClusterConfigurationService

      public boolean isUseClusterConfigurationService()