public class CouchbaseJmxParser extends Object implements org.springframework.beans.factory.xml.BeanDefinitionParser
Bucket object is solved through the "bucket-ref" attribute.| Constructor and Description |
|---|
CouchbaseJmxParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createBeanDefEntry(Class<?> clazz,
org.springframework.beans.factory.parsing.CompositeComponentDefinition compositeDef,
String refName,
Object eleSource,
org.springframework.beans.factory.xml.ParserContext parserContext)
Creates Bean Definitions for JMX components and adds them as a nested component.
|
org.springframework.beans.factory.config.BeanDefinition |
parse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Parse the element and dispatch the registration of the JMX components.
|
protected void |
registerJmxComponents(String refBucketName,
Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Register the JMX components in the context.
|
public org.springframework.beans.factory.config.BeanDefinition parse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
parse in interface org.springframework.beans.factory.xml.BeanDefinitionParserelement - the XML element which contains the attributes.parserContext - encapsulates the parsing state and configuration.protected void registerJmxComponents(String refBucketName, Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
element - the XML element which contains the attributes.parserContext - encapsulates the parsing state and configuration.protected void createBeanDefEntry(Class<?> clazz, org.springframework.beans.factory.parsing.CompositeComponentDefinition compositeDef, String refName, Object eleSource, org.springframework.beans.factory.xml.ParserContext parserContext)
clazz - the class type to register.compositeDef - component that can hold nested components.refName - the reference name to the couchbase bucket.eleSource - source element to reference.parserContext - encapsulates the parsing state and configuration.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.