Class Agent


  • @Deprecated
    public class Agent
    extends java.lang.Object
    Deprecated.
    Manages an instance of com.sun.jdmk.comm.HtmlAdapterServer which was provided for demonstration purposes in the Java Management Extensions Reference Implementation 1.2.1. This class is provided to maintain compatibility with earlier versions of log4j and use in new code is discouraged.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static Logger log
      Deprecated. 
    • Constructor Summary

      Constructors 
      Constructor Description
      Agent()
      Deprecated. 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      private static java.lang.Object createServer()
      Deprecated.
      Creates a new instance of com.sun.jdmk.comm.HtmlAdapterServer using reflection.
      void start()
      Deprecated. 
      private static void startServer​(java.lang.Object server)
      Deprecated.
      Invokes HtmlAdapterServer.start() using reflection.
      • Methods inherited from class java.lang.Object

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

      • log

        @Deprecated
        static Logger log
        Deprecated.
        Diagnostic logger.
    • Constructor Detail

      • Agent

        @Deprecated
        public Agent()
        Deprecated.
        Create new instance.
    • Method Detail

      • createServer

        private static java.lang.Object createServer()
        Deprecated.
        Creates a new instance of com.sun.jdmk.comm.HtmlAdapterServer using reflection.
        Returns:
        new instance.
        Since:
        1.2.16
      • startServer

        private static void startServer​(java.lang.Object server)
        Deprecated.
        Invokes HtmlAdapterServer.start() using reflection.
        Parameters:
        server - instance of com.sun.jdmk.comm.HtmlAdapterServer.
        Since:
        1.2.16
      • start

        @Deprecated
        public void start()
        Deprecated.
        Starts instance of HtmlAdapterServer.