Package org.apache.log4j.jmx
Class Agent
- java.lang.Object
-
- org.apache.log4j.jmx.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.
-
-
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.
-
-
-
Field Detail
-
log
@Deprecated static Logger log
Deprecated.Diagnostic logger.
-
-
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.
-
-