public class CouchbaseEnvironmentParser extends AbstractSingleBeanDefinitionParser
DefaultCouchbaseEnvironment via spring XML configuration.
The following properties are supported:
managementTimeoutqueryTimeoutviewTimeoutkvTimeoutconnectTimeoutdisconnectTimeoutdnsSrvEnableddcpEnabledsslEnabledsslKeystoreFilesslKeystorePasswordbootstrapHttpEnabledbootstrapCarrierEnabledbootstrapHttpDirectPortbootstrapHttpSslPortbootstrapCarrierDirectPortbootstrapCarrierSslPortioPoolSizecomputationPoolSizeresponseBufferSizerequestBufferSizekvEndpointsviewEndpointsqueryEndpointsretryStrategymaxRequestLifetimekeepAliveIntervalautoreleaseAfterbufferPoolingEnabledtcpNodelayEnabledmutationTokensEnabledanalyticsTimeoutID_ATTRIBUTE, NAME_ATTRIBUTE| Constructor and Description |
|---|
CouchbaseEnvironmentParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doParse(Element envElement,
BeanDefinitionBuilder envDefinitionBuilder)
Parse the bean definition and build up the bean.
|
protected Class |
getBeanClass(Element element)
Defines the bean class that will be constructed.
|
protected String |
resolveId(Element element,
AbstractBeanDefinition definition,
ParserContext parserContext)
Resolve the bean ID and assign a default if not set.
|
doParse, getBeanClassName, getParentName, parseInternalparse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliasesprotected String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)
resolveId in class AbstractBeanDefinitionParserelement - the XML element which contains the attributes.definition - the bean definition to work with.parserContext - encapsulates the parsing state and configuration.protected Class getBeanClass(Element element)
getBeanClass in class AbstractSingleBeanDefinitionParserelement - the XML element which contains the attributes.protected void doParse(Element envElement, BeanDefinitionBuilder envDefinitionBuilder)
doParse in class AbstractSingleBeanDefinitionParserenvElement - the XML element which contains the attributes.envDefinitionBuilder - the builder which builds the bean.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.