org.oddjob.monitor.model
Class Describer

java.lang.Object
  extended by org.oddjob.monitor.model.Describer

public class Describer
extends Object

Helper to describe the properties of a component for use in monitors.

Author:
Rob Gordon.

Constructor Summary
Describer()
           
 
Method Summary
static Map<String,String> describe(Object bean)
          Describe the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Describer

public Describer()
Method Detail

describe

public static Map<String,String> describe(Object bean)
Describe the component. The component could be a remote proxy which is a DynaBean that does have a description property, or a local DyanBean such as variables which doesn't have a description property or a normal bean.

Parameters:
bean - The component.
Returns:
A map of the descriptions.