Interface ConsoleErrorLogPublisherCfg
-
- All Superinterfaces:
Configuration,ErrorLogPublisherCfg,LogPublisherCfg
public interface ConsoleErrorLogPublisherCfg extends ErrorLogPublisherCfg
A server-side interface for querying Console Error Log Publisher settings.Console Error Log Publishers publish error messages to the console (STDOUT).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddConsoleErrorChangeListener(ConfigurationChangeListener<ConsoleErrorLogPublisherCfg> listener)Register to be notified when this Console Error Log Publisher is changed.Class<? extends ConsoleErrorLogPublisherCfg>configurationClass()Gets the configuration class associated with this Console Error Log Publisher.StringgetJavaClass()Gets the "java-class" property.voidremoveConsoleErrorChangeListener(ConfigurationChangeListener<ConsoleErrorLogPublisherCfg> listener)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 Detail
-
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.
-
-