Class ContextSelectorAdmin

    • Constructor Summary

      Constructors 
      Constructor Description
      ContextSelectorAdmin​(java.lang.String contextName, ContextSelector selector)
      Constructs a new ContextSelectorAdmin.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getImplementationClassName()
      Returns the name of the class implementing the ContextSelector interface.
      javax.management.ObjectName getObjectName()
      Returns the ObjectName of this mbean.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContextSelectorAdmin

        public ContextSelectorAdmin​(java.lang.String contextName,
                                    ContextSelector selector)
        Constructs a new ContextSelectorAdmin.
        Parameters:
        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