The JmxMetaMapBuilder class is used to collect meta data passed in JmxBuilder nodes. Once collected, the data is then normalized to be represented uniformly regardless of the resource where it was obtained.
Constructor and description |
---|
JmxMetaMapBuilder
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static Map |
buildAttributeMapFrom(Object object) Builds attribute meta map with default information from an instance of an object. |
|
static Map |
buildAttributeMapFrom(Object object, Object descCollection) Sanitizes and builds an attribute meta map from a descriptor collection. |
|
static Map |
buildConstructorMapFrom(Object object) Returns a meta map of constructors from given object. |
|
static Map |
buildConstructorMapFrom(Object object, Object descCollection) Builds a fully normalized constructor meta map. |
|
static Object |
buildListenerMapFrom(Object descCollection) Creates a fully-normalized meta map for a given collection of listeners. |
|
static Map |
buildObjectMapFrom(Object object) Builds a complete meta map graph for the specified object using default values. |
|
static Map |
buildObjectMapFrom(Object object, Object descriptor) Builds a complete meta map graph for a given target and descriptor. |
|
static Map |
buildOperationMapFrom(Object object) Returns a meta map of operations from given object. |
|
static Map |
buildOperationMapFrom(Object object, Object descCollection) |
|
static Map |
buildParameterMapFrom(Object method) Builds a normalized parameter meta map for all params on provided method. |
|
static Map |
buildParameterMapFrom(Object method, Object descCollection) Builds a fully normalized parameter meta map for the method and the given meta map. |
|
static Map |
createListenerMap(Object descriptor) Builds normalized meta map of the provided listener descriptor. |
Builds attribute meta map with default information from an instance of an object.
the
- object from which attribute info will be retrievedSanitizes and builds an attribute meta map from a descriptor collection. The collection can either be a map of the form [attribName:[descriptor...],...] or [attribName1,...attribNameN]. The code guests sensible defaults when values are not provided
the
- object about which meta data is collecteddescriptor
- collection: either a map or a listReturns a meta map of constructors from given object.
object
- to profileBuilds a fully normalized constructor meta map.
the
- object where constructor is defined.the
- meta map that will be normalizedCreates a fully-normalized meta map for a given collection of listeners.
-
- collection of descriptors to normalizeBuilds a complete meta map graph for the specified object using default values. All generated attributes are set to read-only.
object
- used to build meta data graphBuilds a complete meta map graph for a given target and descriptor.
object
- used to build meta data graphdescriptor
- a full descriptor map describing object attributes and ops.Returns a meta map of operations from given object.
object
- to profileBuilds a normalized parameter meta map for all params on provided method.
the
- method with parameters to normalizedBuilds a fully normalized parameter meta map for the method and the given meta map.
the
- method from which to extract normalized info.a
- given meta map which will be normalizedCopyright © 2003-2020 The Apache Software Foundation. All rights reserved.