wt.log4j.jmx
Class JMXAppender

java.lang.Object
  extended by AppenderSkeleton
      extended by wt.log4j.jmx.JMXAppender
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter

public final class JMXAppender
extends AppenderSkeleton
implements NotificationEmitter

Log4j Appender which sends JMX notifications for log events. If a layout is specified, it will be used to construct the notification message.

This class essentially assumes an MBean will listen to its notifications and forward them to its listeners.

Supported API: true

Extendable: false


Method Summary
 boolean getIncludeDetailedData()
          Return whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data.
 void setIncludeDetailedData(boolean includeDetailedData)
          Set whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIncludeDetailedData

public boolean getIncludeDetailedData()
Return whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data.

Supported API: true


setIncludeDetailedData

public void setIncludeDetailedData(boolean includeDetailedData)
Set whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data.

Supported API: true