public class CouchbaseJmxParser extends Object implements BeanDefinitionParser
CouchbaseClient object is solved by through the "couchbase-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 refName,
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 refName, Element element, ParserContext parserContext)
refName - the reference name to the couchbase client.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 client.eleSource - source element to reference.parserContext - encapsulates the parsing state and configuration.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.