|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.jmx.builder.JmxMetaMapBuilder
class JmxMetaMapBuilder
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.
Method Summary | |
---|---|
static java.util.Map
|
buildAttributeMapFrom(java.lang.Object object)
Builds attribute meta map with default information from an instance of an object. |
static java.util.Map
|
buildAttributeMapFrom(java.lang.Object object, java.lang.Object descCollection)
Sanitizes and builds an attribute meta map from a descriptor collection. |
static java.util.Map
|
buildConstructorMapFrom(java.lang.Object object)
Returns a meta map of constructors from given object. |
static java.util.Map
|
buildConstructorMapFrom(java.lang.Object object, java.lang.Object descCollection)
Builds a fully normalized constructor meta map. |
static java.lang.Object
|
buildListenerMapFrom(java.lang.Object descCollection)
Creates a fully-normalized meta map for agiven collection of listeners. |
static java.util.Map
|
buildObjectMapFrom(java.lang.Object object)
Builds a complete meta map graph for the specified object using default values. |
static java.util.Map
|
buildObjectMapFrom(java.lang.Object object, java.lang.Object descriptor)
Builds a complete meta map graph for a given target and descriptor. |
static java.util.Map
|
buildOperationMapFrom(java.lang.Object object)
Returns a meta map of operations from given object. |
static java.util.Map
|
buildOperationMapFrom(java.lang.Object object, java.lang.Object descCollection)
|
static java.util.Map
|
buildParameterMapFrom(java.lang.Object method)
Builds a normalized parameter meta map for all params on provided method. |
static java.util.Map
|
buildParameterMapFrom(java.lang.Object method, java.lang.Object descCollection)
Builds a fully normalized parameter meta map for the method and the given meta map. |
static java.util.Map
|
createListenerMap(java.lang.Object descriptor)
Builds normalized meta map of the provided listener descriptor. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
static java.util.Map buildAttributeMapFrom(java.lang.Object object)
the
- object from which attribute info will be retrieved
static java.util.Map buildAttributeMapFrom(java.lang.Object object, java.lang.Object descCollection)
the
- object about which meta data is collecteddescriptor
- collection: either a map or a list
static java.util.Map buildConstructorMapFrom(java.lang.Object object)
object
- to profile
static java.util.Map buildConstructorMapFrom(java.lang.Object object, java.lang.Object descCollection)
the
- object where constructor is defined.the
- meta map that will be normalized
static java.lang.Object buildListenerMapFrom(java.lang.Object descCollection)
-
- collection of descriptors to normalize
static java.util.Map buildObjectMapFrom(java.lang.Object object)
object
- used to build meta data graph
static java.util.Map buildObjectMapFrom(java.lang.Object object, java.lang.Object descriptor)
object
- used to build meta data graphdescriptor
- a full descriptor map describing object attributes and ops.
static java.util.Map buildOperationMapFrom(java.lang.Object object)
object
- to profile
static java.util.Map buildOperationMapFrom(java.lang.Object object, java.lang.Object descCollection)
static java.util.Map buildParameterMapFrom(java.lang.Object method)
the
- method with parameters to normalized
static java.util.Map buildParameterMapFrom(java.lang.Object method, java.lang.Object descCollection)
the
- method from which to extract normalized info.a
- given meta map which will be normalized
static java.util.Map createListenerMap(java.lang.Object descriptor)
descriptor
- - descriptive data collected from JmxBuilder listener nodes.
Groovy Documentation