org.opends.server.admin.std.server
Interface LogPublisherCfg

All Superinterfaces:
Configuration
All Known Subinterfaces:
AccessLogPublisherCfg, DebugLogPublisherCfg, ErrorLogPublisherCfg, FileBasedAccessLogPublisherCfg, FileBasedDebugLogPublisherCfg, FileBasedErrorLogPublisherCfg

public interface LogPublisherCfg
extends Configuration

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
 void addChangeListener(ConfigurationChangeListener<LogPublisherCfg> listener)
          Register to be notified when this Log Publisher is changed.
 java.lang.Class<? extends LogPublisherCfg> configurationClass()
          Gets the configuration class associated with this Log Publisher.
 boolean isEnabled()
          Gets the "enabled" property.
 void removeChangeListener(ConfigurationChangeListener<LogPublisherCfg> listener)
          Deregister an existing Log Publisher configuration change listener.
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends LogPublisherCfg> configurationClass()
Gets the configuration class associated with this Log Publisher.

Specified by:
configurationClass in interface Configuration
Returns:
Returns the configuration class associated with this Log Publisher.

addChangeListener

void addChangeListener(ConfigurationChangeListener<LogPublisherCfg> listener)
Register to be notified when this Log Publisher is changed.

Parameters:
listener - The Log Publisher configuration change listener.

removeChangeListener

void removeChangeListener(ConfigurationChangeListener<LogPublisherCfg> listener)
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.