This class provides the common utility methods used by all of the statistics
gathering classes. The methods here provide the infrastucture for
creating an object tree that represents the statistics for the entire JBI
instance. Each instance of a statistics class has a parent and optionally
one or more children.
author: Sun Microsystems, Inc.
Get a particular child of this object based on a key.
Parameters: key - the string key of the requested child. the StatisticsBase instance referenced by the specified key,or null if none is found.
Create and register a StandardMBean for this instance, using the
specified interface and MBean ObjectName.
Parameters: interfaceClass - The interface implemented by the instance. Parameters: mbeanName - The MBean ObjectName to use for this MBean. throws: javax.jbi.JBIException - If the MBean creation or registrationfails.