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:
This interface also defines accessor methods for setting properties which can be used to configure the builder implementations. See {@link #setProperty} and {@link #getProperty} methods for more information. @see org.jboss.mx.metadata.AbstractBuilder @author Juha Lindfors. @version $Revision: 1.3 $
The way this works is that you instantiate a MetadataBuilder, call a few of its {@link #value(String,String)}methods, and finally call {@link #build()} to create a Metadata object
An example:
Metadata metadata = new MetadataBuilder() .value("field1", "value1") .value("field2", 5) .build();
|
|
|
|
|
|