Interface LogPublisherCfg
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
AccessLogPublisherCfg
,CommonAuditAccessLogPublisherCfg
,ConsoleErrorLogPublisherCfg
,CsvFileAccessLogPublisherCfg
,CsvFileHttpAccessLogPublisherCfg
,ErrorLogPublisherCfg
,ExternalAccessLogPublisherCfg
,ExternalHttpAccessLogPublisherCfg
,FileBasedAccessLogPublisherCfg
,FileBasedAuditLogPublisherCfg
,FileBasedErrorLogPublisherCfg
,FileBasedHttpAccessLogPublisherCfg
,HttpAccessLogPublisherCfg
,JsonFileAccessLogPublisherCfg
,JsonFileHttpAccessLogPublisherCfg
A server-side interface for querying Log Publisher settings.
Log Publishers are responsible for distributing log messages from different loggers to a destination.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Register to be notified when this Log Publisher is changed.Class<? extends LogPublisherCfg>
Gets the configuration class associated with this Log Publisher.Gets the "java-class" property.boolean
Gets the "enabled" property.void
Deregister an existing Log Publisher configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
configurationClass
Class<? extends LogPublisherCfg> configurationClass()Gets the configuration class associated with this Log Publisher.- Specified by:
configurationClass
in interfaceConfiguration
- Returns:
- Returns the configuration class associated with this Log Publisher.
-
addChangeListener
Register to be notified when this Log Publisher is changed.- Parameters:
listener
- The Log Publisher configuration change listener.
-
removeChangeListener
Deregister an existing Log Publisher configuration change listener.- Parameters:
listener
- The Log Publisher configuration change listener.
-
isEnabled
boolean isEnabled()Gets the "enabled" property.Indicates whether the Log Publisher is enabled for use.
- Returns:
- Returns the value of the "enabled" property.
-
getJavaClass
String getJavaClass()Gets the "java-class" property.The fully-qualified name of the Java class that provides the Log Publisher implementation.
- Returns:
- Returns the value of the "java-class" property.
-