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
Fields inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
DEFAULT_SINGLETON
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
applyLocatorConfigurers
(Iterable<LocatorConfigurer> locatorConfigurers) protected void
applyLocatorConfigurers
(LocatorConfigurer... locatorConfigurers) protected LocatorLauncher.Builder
configureGemfireProperties
(LocatorLauncher.Builder locatorBuilder) getName()
Class<?>
getPort()
void
init()
protected LocatorLauncher.Builder
protected LocatorLauncher
postProcess
(LocatorLauncher locatorLauncher) protected LocatorLauncher.Builder
postProcess
(LocatorLauncher.Builder locatorBuilder) void
setBindAddress
(String bindAddress) void
setGemFireProperties
(Properties gemfireProperties) void
setHostnameForClients
(String hostnameForClients) void
setLocatorConfigurers
(List<LocatorConfigurer> locatorConfigurers) void
setLocatorConfigurers
(LocatorConfigurer... locatorConfigurers) void
setLocators
(String locators) void
setLogLevel
(String logLevel) void
void
Methods 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:
afterPropertiesSet
in 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:
getObject
in interfaceFactoryBean<Locator>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<Locator>
-
setBindAddress
-
getBindAddress
-
getCompositeLocatorConfigurer
-
setGemFireProperties
-
getGemFireProperties
-
setHostnameForClients
-
getHostnameForClients
-
setLocatorConfigurers
-
setLocatorConfigurers
-
setLocators
-
getLocators
-
setLogLevel
-
getLogLevel
-
setName
-
getName
-
setPort
-
getPort
-