Interface ConsoleErrorLogPublisherCfg
- All Superinterfaces:
Configuration
,ErrorLogPublisherCfg
,LogPublisherCfg
A server-side interface for querying Console Error Log Publisher
settings.
Console Error Log Publishers publish error messages to the console (STDOUT).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Register to be notified when this Console Error Log Publisher is changed.Class<? extends ConsoleErrorLogPublisherCfg>
Gets the configuration class associated with this Console Error Log Publisher.Gets the "java-class" property.void
Deregister an existing Console Error Log Publisher configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
Methods inherited from interface org.forgerock.opendj.server.config.server.ErrorLogPublisherCfg
addErrorChangeListener, getDefaultSeverity, getOverrideSeverity, isJsonOutput, removeErrorChangeListener
Methods inherited from interface org.forgerock.opendj.server.config.server.LogPublisherCfg
addChangeListener, isEnabled, removeChangeListener
-
Method Details
-
configurationClass
Class<? extends ConsoleErrorLogPublisherCfg> configurationClass()Gets the configuration class associated with this Console Error Log Publisher.- Specified by:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in interfaceErrorLogPublisherCfg
- Specified by:
configurationClass
in interfaceLogPublisherCfg
- Returns:
- Returns the configuration class associated with this Console Error Log Publisher.
-
addConsoleErrorChangeListener
void addConsoleErrorChangeListener(ConfigurationChangeListener<ConsoleErrorLogPublisherCfg> listener) Register to be notified when this Console Error Log Publisher is changed.- Parameters:
listener
- The Console Error Log Publisher configuration change listener.
-
removeConsoleErrorChangeListener
void removeConsoleErrorChangeListener(ConfigurationChangeListener<ConsoleErrorLogPublisherCfg> listener) Deregister an existing Console Error Log Publisher configuration change listener.- Parameters:
listener
- The Console Error Log Publisher configuration change listener.
-
getJavaClass
String getJavaClass()Gets the "java-class" property.The fully-qualified name of the Java class that provides the Console Error Log Publisher implementation.
Default value:
org.opends.server.loggers.ConsoleErrorLogPublisher
- Specified by:
getJavaClass
in interfaceErrorLogPublisherCfg
- Specified by:
getJavaClass
in interfaceLogPublisherCfg
- Returns:
- Returns the value of the "java-class" property.
-