|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.core.jmx.AppenderAdmin
public class AppenderAdmin
Implementation of the AppenderAdminMBean interface.
| Field Summary |
|---|
| Fields inherited from interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean |
|---|
PATTERN |
| Constructor Summary | |
|---|---|
AppenderAdmin(String contextName,
Appender appender)
Constructs a new AppenderAdmin with the specified contextName
and appender. |
|
| 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 |
getFilter()
Returns a string description of all filters configured for the instrumented Appender. |
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. |
ObjectName |
getObjectName()
Returns the ObjectName of this mbean. |
boolean |
isIgnoreExceptions()
Returns how exceptions thrown on the instrumented Appender are
handled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppenderAdmin(String contextName,
Appender appender)
AppenderAdmin with the specified contextName
and appender.
contextName - used in the ObjectName for this mbeanappender - the instrumented object| Method Detail |
|---|
public ObjectName getObjectName()
ObjectName of this mbean.
ObjectNameAppenderAdminMBean.PATTERNpublic String getName()
AppenderAdminMBeanAppender.
getName in interface AppenderAdminMBeanpublic String getLayout()
AppenderAdminMBeantoString on the Layout
object of the instrumented Appender.
getLayout in interface AppenderAdminMBeanLayout of the instrumented Appender as a
stringpublic boolean isIgnoreExceptions()
AppenderAdminMBeanAppender are
handled.
isIgnoreExceptions in interface AppenderAdminMBeantrue if any exceptions thrown by the Appender will be
logged or false if such exceptions are re-thrown.public String getErrorHandler()
AppenderAdminMBeantoString on the error handler of
this appender, or "null" if no error handler was set.
getErrorHandler in interface AppenderAdminMBeantoString on the error handler of this
appender, or "null"public String getFilter()
AppenderAdminMBeanAppender.
getFilter in interface AppenderAdminMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2015 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.