if (omfContext.getJMXManager() != null)
{
// register MBean in MbeanServer
ManagementManager mgmtMgr = omfContext.getJMXManager();
ManagementServer mgntServer = omfContext.getJMXManager().getManagementServer();
this.storeManagerRuntime = new StoreManagerRuntime();
String mbeanName = mgmtMgr.getDomainName() + ":InstanceName=" + mgmtMgr.getInstanceName() +
",Type=" + ClassUtils.getClassNameForClass(storeManagerRuntime.getClass()) +
",Name=StoreManagerRuntime";
mgntServer.registerMBean(this.storeManagerRuntime, mbeanName);
}
// Factory for connections - transactional
ConfigurationElement cfElem = omfContext.getPluginManager().getConfigurationElementForExtension(
"org.datanucleus.store_connectionfactory",