Package wt.log4j.jmx
Interface AppenderAttachableMonitorMBean
- All Known Subinterfaces:
AsyncAppenderMonitorMBean,LoggerMonitorMBean
public interface AppenderAttachableMonitorMBean
Mix-in interface defining attributes and operations common to all log4j AppenderAttachable objects
See AppenderAttachableUtilities for utilities for use in implementation of these methods.
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAppender(String appenderName) Add an existing appender to this object
Supported API: truevoidaddAppender(String appenderClassname, String appenderName) Add an appender to this object; creating it if necessary
Supported API: trueString[]Names of appenders attached to this object
Supported API: truevoidRemove all appenders from this object
Supported API: truevoidremoveAppender(String appenderName) Remove an appender from this object
Supported API: true
-
Method Details
-
getAppenderNames
String[] getAppenderNames()Names of appenders attached to this object
Supported API: true -
addAppender
Add an existing appender to this object
Supported API: true- Parameters:
appenderName- Name of appender
-
addAppender
Add an appender to this object; creating it if necessary
Supported API: true- Parameters:
appenderClassname- Classname of appenderappenderName- Name of appender
-
removeAppender
Remove an appender from this object
Supported API: true- Parameters:
appenderName- Name of appender
-
removeAllAppenders
Remove all appenders from this object
Supported API: true
-