* Creates and registers the MBean that holds the performance data.
*/
public PerformanceCollector createMBean(ServicePoint servicePoint, Set methods)
throws JMException
{
PerformanceCollector counter = new PerformanceMonitorMBean(methods);
ObjectName objectName = _objectNameBuilder.createServiceDecoratorName(
servicePoint,
SERVICE_DECORATOR_TYPE);
_mbeanRegistry.registerMBean(counter, null, objectName);