class PerformanceMonitorBeanFactory extends PerformanceMonitorFactory implements InitializingBean {

    public synchronized PerformanceMonitor createPerformanceMonitor(
            String name) {
        PerformanceMonitorBean performanceMonitor =
                findPerformanceMonitorBean(name);

        if (performanceMonitor == null) {
            performanceMonitor = new PerformanceMonitorBean();

            if (mBeanExportOperations != null) {
                ObjectName objectName;

                try {
                    objectName = new ObjectName(
                            "org.fishwife.jrugged.spring:type=" +
                                    "PerformanceMonitorBean,name=" + name);
                }
                catch (MalformedObjectNameException e) {
                    throw new IllegalArgumentException(
                            "Invalid MBean Name " + name, e);

                }

                mBeanExportOperations.registerManagedResource(
                        performanceMonitor, objectName);
            }
            addPerformanceMonitorToMap(name, performanceMonitor);
        }

        return performanceMonitor;
    }

    public  PerformanceMonitorBeanFactory();

}