|
||||||||||
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 objectMethod Detail |
---|
public ObjectName getObjectName()
ObjectName
of this mbean.
ObjectName
AppenderAdminMBean.PATTERN
public String getName()
AppenderAdminMBean
Appender
.
getName
in interface AppenderAdminMBean
public String getLayout()
AppenderAdminMBean
toString
on the Layout
object of the instrumented Appender
.
getLayout
in interface AppenderAdminMBean
Layout
of the instrumented Appender
as a
stringpublic boolean isIgnoreExceptions()
AppenderAdminMBean
Appender
are
handled.
isIgnoreExceptions
in interface AppenderAdminMBean
true
if any exceptions thrown by the Appender will be
logged or false
if such exceptions are re-thrown.public String getErrorHandler()
AppenderAdminMBean
toString
on the error handler of
this appender, or "null"
if no error handler was set.
getErrorHandler
in interface AppenderAdminMBean
toString
on the error handler of this
appender, or "null"
public String getFilter()
AppenderAdminMBean
Appender
.
getFilter
in interface AppenderAdminMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2014 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.