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 TypeMethodDescriptionvoidRegister 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.voidDeregister an existing Console Error Log Publisher configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, nameMethods inherited from interface org.forgerock.opendj.server.config.server.ErrorLogPublisherCfg
addErrorChangeListener, getDefaultSeverity, getOverrideSeverity, isJsonOutput, removeErrorChangeListenerMethods 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:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceErrorLogPublisherCfg- Specified by:
configurationClassin 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:
getJavaClassin interfaceErrorLogPublisherCfg- Specified by:
getJavaClassin interfaceLogPublisherCfg- Returns:
- Returns the value of the "java-class" property.
-