if (omfContext.getManagement() != null)
{
// register MBean in MbeanServer
ManagementServer mgntServer = omfContext.getManagement().getManagementServer();
this.storeManagerRuntime = new StoreManagerRuntime();
String mbeanName = omfContext.getDomainName() + ":InstanceName=" + omfContext.getInstanceName() +
",Type=" + ClassUtils.getClassNameForClass(storeManagerRuntime.getClass()) +
",Name=StoreManagerRuntime";
mgntServer.registerMBean(this.storeManagerRuntime, mbeanName);
}