From b5cb04a6ed2e93a7181b13744cceee48daf6c501 Mon Sep 17 00:00:00 2001 From: Robin Bygrave Date: Mon, 18 Jul 2016 09:22:22 +1200 Subject: [PATCH] #780 - Remove ServerConfig registerJmxMBeans ... as it is no longer used --- .../com/avaje/ebean/config/ServerConfig.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/main/java/com/avaje/ebean/config/ServerConfig.java b/src/main/java/com/avaje/ebean/config/ServerConfig.java index 1a0574998..0db26cc5a 100644 --- a/src/main/java/com/avaje/ebean/config/ServerConfig.java +++ b/src/main/java/com/avaje/ebean/config/ServerConfig.java @@ -379,8 +379,6 @@ public class ServerConfig { private boolean transactionRollbackOnChecked = true; - private boolean registerJmxMBeans = true; - // configuration for the background executor service (thread pool) private int backgroundExecutorSchedulePoolSize = 1; @@ -405,7 +403,7 @@ public class ServerConfig { private boolean expressionEqualsWithNullAsNoop; /** - * Set to true to use native ILIKE expression (if support by datasbase platform / like Postgres). + * Set to true to use native ILIKE expression (if support by database platform / like Postgres). */ private boolean expressionNativeIlike; @@ -1038,20 +1036,6 @@ public class ServerConfig { this.transactionRollbackOnChecked = transactionRollbackOnChecked; } - /** - * Return true if the server should register JMX MBeans. - */ - public boolean isRegisterJmxMBeans() { - return registerJmxMBeans; - } - - /** - * Set if the server should register JMX MBeans. - */ - public void setRegisterJmxMBeans(boolean registerJmxMBeans) { - this.registerJmxMBeans = registerJmxMBeans; - } - /** * Return the Background executor schedule pool size. Defaults to 1. */