public class CouchbaseJmxParser extends Object implements 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,
CompositeComponentDefinition compositeDef,
String refName,
Object eleSource,
ParserContext parserContext)
Creates Bean Definitions for JMX components and adds them as a nested component.
|
BeanDefinition |
parse(Element element,
ParserContext parserContext)
Parse the element and dispatch the registration of the JMX components.
|
protected void |
registerJmxComponents(String refBucketName,
Element element,
ParserContext parserContext)
Register the JMX components in the context.
|
public BeanDefinition parse(Element element, ParserContext parserContext)
parse in interface BeanDefinitionParserelement - the XML element which contains the attributes.parserContext - encapsulates the parsing state and configuration.protected void registerJmxComponents(String refBucketName, Element element, ParserContext parserContext)
element - the XML element which contains the attributes.parserContext - encapsulates the parsing state and configuration.protected void createBeanDefEntry(Class<?> clazz, CompositeComponentDefinition compositeDef, String refName, Object eleSource, 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–2019 Pivotal Software, Inc.. All rights reserved.