MCPcopy Create free account
hub / github.com/apache/tomcat / disableRegistry

Method disableRegistry

java/org/apache/tomcat/util/modeler/Registry.java:153–159  ·  view source on GitHub ↗

Disables the registry by replacing it with a no-op implementation. After calling this method, the registry will not load or process MBean descriptors.

()

Source from the content-addressed store, hash-verified

151 * the registry will not load or process MBean descriptors.
152 */
153 public static synchronized void disableRegistry() {
154 if (registry == null) {
155 registry = new NoDescriptorRegistry();
156 } else if (!(registry instanceof NoDescriptorRegistry)) {
157 log.warn(sm.getString("registry.noDisable"));
158 }
159 }
160
161
162 // -------------------- Generic methods --------------------

Callers 2

mainMethod · 0.95
mainMethod · 0.95

Calls 2

warnMethod · 0.65
getStringMethod · 0.65

Tested by 1

mainMethod · 0.76