public class JMXManager extends AbstractJMXManager
This object is implemented as an eagerly-instantiated singleton; for testing the implementation can be replaced. All methods are synchronized, to avoid race conditions between appender and StatisticsMBean registration.
logger, registrationNames, registrations, statsBeans, statsBeanTypes| Modifier and Type | Method and Description |
|---|---|
static JMXManager |
getInstance()
Retrieves the singleton instance for a consumer that isn't itself
context-aware, lazily instantiating.
|
static JMXManager |
getInstance(ch.qos.logback.core.spi.ContextAware destination)
Retrieves the singleton instance for a consumer that is context-aware,
lazily instantiating.
|
static void |
reset()
Resets the singleton instance.
|
addMarkerBean, addStatsBean, registerAppenderBean, removeMarkerBean, removeStatsBean, unregisterAppenderBeanpublic static JMXManager getInstance()
public static JMXManager getInstance(ch.qos.logback.core.spi.ContextAware destination)
public static void reset()
Copyright © 2020. All rights reserved.