org.apache.logging.log4j.core.jmx
Interface AppenderAdminMBean

All Known Implementing Classes:
AppenderAdmin

public interface AppenderAdminMBean

The MBean interface for monitoring and managing an Appender.


Field Summary
static String PATTERN
          ObjectName pattern for AppenderAdmin MBeans.
 
Method Summary
 String getErrorHandler()
          Returns the result of calling toString on the error handler of this appender, or "null" if no error handler was set.
 String getLayout()
          Returns the result of calling toString on the Layout object of the instrumented Appender.
 String getName()
          Returns the name of the instrumented Appender.
 boolean isExceptionSuppressed()
          Returns how exceptions thrown on the instrumented Appender are handled.
 

Field Detail

PATTERN

static final String PATTERN
ObjectName pattern for AppenderAdmin MBeans.

See Also:
Constant Field Values
Method Detail

getName

String getName()
Returns the name of the instrumented Appender.

Returns:
the name of the Appender

getLayout

String getLayout()
Returns the result of calling toString on the Layout object of the instrumented Appender.

Returns:
the Layout of the instrumented Appender as a string

isExceptionSuppressed

boolean isExceptionSuppressed()
Returns how exceptions thrown on the instrumented Appender are handled.

Returns:
true if any exceptions thrown by the Appender will be logged or false if such exceptions are re-thrown.

getErrorHandler

String getErrorHandler()
Returns the result of calling toString on the error handler of this appender, or "null" if no error handler was set.

Returns:
result of calling toString on the error handler of this appender, or "null"


Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.