JavaScript is disabled on your browser.
Package: groovy.jmx.builder

[Groovy] Class JmxMetaMapBuilder


  • class JmxMetaMapBuilder
    extends Object 

    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 Detail

      • JmxMetaMapBuilder()

    • Method Detail

      • static Map buildAttributeMapFrom(Object object)

        Builds attribute meta map with default information from an instance of an object.

        Parameters:
        the - object from which attribute info will be retrieved
        Returns:
        the meta map for the attribute

      • static Map buildAttributeMapFrom(Object object, Object descCollection)

        Sanitizes 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

        Parameters:
        the - object about which meta data is collected
        descriptor - collection: either a map or a list
        Returns:
        a Map of meta information about the object.

      • static Map buildConstructorMapFrom(Object object)

        Returns a meta map of constructors from given object.

        Parameters:
        object - to profile
        Returns:
        The meta map generated.

      • static Map buildConstructorMapFrom(Object object, Object descCollection)

        Builds a fully normalized constructor meta map.

        Parameters:
        the - object where constructor is defined.
        the - meta map that will be normalized
        Returns:
        a normalized meta map for the constructor

      • static Map buildOperationMapFrom(Object object)

        Returns a meta map of operations from given object.

        Parameters:
        object - to profile
        Returns:
        The meta map generated.

      • static Map buildParameterMapFrom(Object method)

        Builds a normalized parameter meta map for all params on provided method.

        Parameters:
        the - method with parameters to normalized
        Returns:
        the normalized map

      • static Map buildParameterMapFrom(Object method, Object descCollection)

        Builds a fully normalized parameter meta map for the method and the given meta map.

        Parameters:
        the - method from which to extract normalized info.
        a - given meta map which will be normalized
        Returns:
        the normalized map

      • static Map createListenerMap(Object descriptor)

        Builds normalized meta map of the provided listener descriptor.

        Parameters:
        descriptor - - descriptive data collected from JmxBuilder listener nodes.
        Returns:
        - fully normalized meta map of listener data.

Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /