Class Agents


  • public class Agents
    extends java.lang.Object
    Class with some static useful methods to register and search information about agents.
    Author:
    javaito
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String OBJECT_NAME_TEMPLATE  
    • Constructor Summary

      Constructors 
      Constructor Description
      Agents()  
    • Method Summary

      Modifier and Type Method Description
      static void register​(Agent agent)
      Registers an agent into the MBean server of the instance of jvm.
      • Methods inherited from class java.lang.Object

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

      • OBJECT_NAME_TEMPLATE

        public static final java.lang.String OBJECT_NAME_TEMPLATE
        See Also:
        Constant Field Values
    • Constructor Detail

      • Agents

        public Agents()
    • Method Detail

      • register

        public static void register​(Agent agent)
        Registers an agent into the MBean server of the instance of jvm.
        Parameters:
        agent - Agent to register.