Package org.apache.log4j.jmx
Class Agent
java.lang.Object
org.apache.log4j.jmx.Agent
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Object
Deprecated.Creates a new instance of com.sun.jdmk.comm.HtmlAdapterServer using reflection.void
start()
Deprecated.private static void
startServer
(Object server) Deprecated.Invokes HtmlAdapterServer.start() using reflection.
-
Field Details
-
log
Deprecated.Diagnostic logger.
-
-
Constructor Details
-
Agent
Deprecated.Create new instance.
-
-
Method Details
-
createServer
Deprecated.Creates a new instance of com.sun.jdmk.comm.HtmlAdapterServer using reflection.- Returns:
- new instance.
- Since:
- 1.2.16
-
startServer
Deprecated.Invokes HtmlAdapterServer.start() using reflection.- Parameters:
server
- instance of com.sun.jdmk.comm.HtmlAdapterServer.- Since:
- 1.2.16
-
start
Deprecated.Starts instance of HtmlAdapterServer.
-