Class MetaDataBuilder


  • public class MetaDataBuilder
    extends Object

    A class that build the management view meta data of a specified class.

    The following rules do apply to the class from which meta data are constructed:
    • The class must be annotated by Managed
    • The class may be annoated by ManagedDescription
    • Any property described by its getter and/or setter getter annotated by Managed is exposed as an attribute
    • Any property providing an annotated getter is readable
    • Any property providing an annotated setter is writable
    • Any getter/setter annotated by ManagedName redefines the attribute name
    • Any getter/setter annotated by ManagedDescription defines the attribute description
    • When corresponding getter/setter redefines the attribute name, the value must be the same otherwhise an exception is thrown at built time
    • Any method annotated by Managed is exposed as a management operation
    • Any method annotated by ManagedDescription defines the operation description
    • Any non setter/getter method annotated by ManagedName causes a built time exception
    • Any method argument annotated by ManagedName defines the management name of the corresponding operation parameter
    • Any method argument annotated by ManagedDescription defines the management description of the corresponding operation parameter
    Version:
    $Revision$
    Author:
    Julien Viet