177178179180181182183184185186187
legacy.invocationBatching(); else legacy.invocationBatching().disable(); if (config.jmxStatistics().enabled()) legacy.jmxStatistics(); // TODO lazy deserialization? legacy.loaders() .passivation(config.loaders().passivation())
172173174175176177178179180181182
158159160161162163164165166167168
if (config.invocationBatching().enabled()) legacy.invocationBatching(); if (config.jmxStatistics().enabled()) legacy.jmxStatistics(); // TODO lazy deserialization? legacy.loaders() .passivation(config.loaders().passivation())
165166167168169170171172173174175
FluentConfiguration fluent = defaultConfig.fluent(); MBeanServer server = this.configuration.getMBeanServer(); if (server != null) { globalJmx.mBeanServerLookup(new MBeanServerProvider(server)).jmxDomain(SERVICE_NAME.getCanonicalName()); fluent.jmxStatistics(); } else { globalJmx.disable(); } this.configureTransactions(defaultConfig);
117118119120121122123124125126127
160161162163164165166167168169170
147148149150151152153154155156157
FluentConfiguration fluent = defaultConfig.fluent(); MBeanServer server = this.configuration.getMBeanServer(); if (server != null) { globalJmx.mBeanServerLookup(new MBeanServerProvider(server)).jmxDomain(SERVICE_NAME.getCanonicalName()); fluent.jmxStatistics(); } else { globalJmx.disable(); } FluentConfiguration.TransactionConfig tx = fluent.transaction();
149150151152153154155156157158159
144145146147148149150151152153154