private FileOutputRegistry fileOutputRegistry;
public synchronized FileOutputRegistry getFileOutputRegistry() {
if (fileOutputRegistry == null) {
fileOutputRegistry = new FileOutputRegistry();
getJmxRegistry().registerMBean(fileOutputRegistry, null);
getShutdownRegistry().registerShutdownListener(fileOutputRegistry);
}
return fileOutputRegistry;
}