Class ContextSelectorAdmin

All Implemented Interfaces:

public class ContextSelectorAdmin extends Object implements ContextSelectorAdminMBean
Implementation of the ContextSelectorAdminMBean interface.
  • Constructor Details

    • ContextSelectorAdmin

      public ContextSelectorAdmin(String contextName, ContextSelector selector)
      Constructs a new ContextSelectorAdmin.
      contextName - name of the LoggerContext under which to register this ContextSelectorAdmin. Note that the ContextSelector may be registered multiple times, once for each LoggerContext. In web containers, each web application has its own LoggerContext and by associating the ContextSelector with the LoggerContext, all associated MBeans can be unloaded when the web application is undeployed.
      selector - the instrumented object
  • Method Details