public interface ReceiverModuleMXBean
ReceiverModule.| Modifier and Type | Method and Description |
|---|---|
LogEventLevel |
getLogLevel()
Gets the minimum log level of log events remotely transmitted
by this module.
|
String |
getURL()
Gets the URL at which remote emitters should be able to connect to this
module.
|
boolean |
isSkipJAASConfiguration()
If the module should skip the automatic JAAS configuration when
it's started.
|
void |
setLogLevel(LogEventLevel inLevel)
Sets the minimum log level of log events remotely transmitted
by this module.
|
void |
setSkipJAASConfiguration(boolean inSkipJAASConfiguration)
Sets if the module should skip the automatic JAAS configuration when
it's started.
|
void |
setURL(String inURL)
Sets the URL at which remote emitters should be able to connect to this
module.
|
String getURL()
void setURL(String inURL)
inURL - the URL value.IllegalStateException - if the module is started. The URL
can only be set when the module is not started.LogEventLevel getLogLevel()
The returned log level corresponds to the log-level for the system-wide
logger category Messages.USER_MSG_CATEGORY.
void setLogLevel(LogEventLevel inLevel)
Setting this log level also sets the log level for the system-wide
logger category Messages.USER_MSG_CATEGORY.
Do note for this function to work correctly the system logger category should not be specified in the log4j configuration file. The log4j configuration file is reread whenever it's updated. If the log4j configuration file contains configuration for the system logger category, it will over-write the configuration carried out via this method and result in confusing system behavior.
inLevel - the log level value.boolean isSkipJAASConfiguration()
void setSkipJAASConfiguration(boolean inSkipJAASConfiguration)
inSkipJAASConfiguration - if the automatic JAAS configuration
should be skipped.Copyright © 2014. All Rights Reserved.