Package org.springframework.data.gemfire
Class LocatorFactoryBean
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<Locator>
org.springframework.data.gemfire.LocatorFactoryBean
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,BeanNameAware,FactoryBean<Locator>,InitializingBean
public class LocatorFactoryBean
extends AbstractFactoryBeanSupport<Locator>
implements InitializingBean
Spring
FactoryBean used to configure and initialize (bootstrap) an Apache Geode or Pivotal GemFire
Locator using the LocatorLauncher class.- Since:
- 2.2.0
- Author:
- John Blum
- See Also:
-
Field Summary
FieldsFields inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
DEFAULT_SINGLETONFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidapplyLocatorConfigurers(Iterable<LocatorConfigurer> locatorConfigurers) protected voidapplyLocatorConfigurers(LocatorConfigurer... locatorConfigurers) protected LocatorLauncher.BuilderconfigureGemfireProperties(LocatorLauncher.Builder locatorBuilder) getName()Class<?>getPort()voidinit()protected LocatorLauncher.Builderprotected LocatorLauncherpostProcess(LocatorLauncher locatorLauncher) protected LocatorLauncher.BuilderpostProcess(LocatorLauncher.Builder locatorBuilder) voidsetBindAddress(String bindAddress) voidsetGemFireProperties(Properties gemfireProperties) voidsetHostnameForClients(String hostnameForClients) voidsetLocatorConfigurers(List<LocatorConfigurer> locatorConfigurers) voidsetLocatorConfigurers(LocatorConfigurer... locatorConfigurers) voidsetLocators(String locators) voidsetLogLevel(String logLevel) voidvoidMethods inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
getBeanClassLoader, getBeanFactory, getBeanName, getLog, getOptionalLog, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLog, setBeanClassLoader, setBeanFactory, setBeanName
-
Field Details
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
DEFAULT_LOG_LEVEL
-
LOG_LEVEL_PROPERTY
-
-
Constructor Details
-
LocatorFactoryBean
public LocatorFactoryBean()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceInitializingBean- Throws:
Exception
-
applyLocatorConfigurers
-
applyLocatorConfigurers
-
init
public void init() -
configureGemfireProperties
protected LocatorLauncher.Builder configureGemfireProperties(LocatorLauncher.Builder locatorBuilder) -
newLocatorLauncherBuilder
-
postProcess
-
postProcess
-
getLocator
-
getLocatorLauncher
-
getObject
- Specified by:
getObjectin interfaceFactoryBean<Locator>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<Locator>
-
setBindAddress
-
getBindAddress
-
getCompositeLocatorConfigurer
-
setGemFireProperties
-
getGemFireProperties
-
setHostnameForClients
-
getHostnameForClients
-
setLocatorConfigurers
-
setLocatorConfigurers
-
setLocators
-
getLocators
-
setLogLevel
-
getLogLevel
-
setName
-
getName
-
setPort
-
getPort
-