com.cisco.provisioning.cpe.events
Interface SystemConfigListener

All Superinterfaces:
ProvAPIEventListener
All Known Implementing Classes:
SystemConfigAdapter

public interface SystemConfigListener
extends ProvAPIEventListener

The Listener interface for SystemConfigEvent. The addSystemConfigListener method on the PACEConnection instance may be used to register SystemConfigListener instances.

Sample Usage:

      // Implement SystemConfigListener interface
      public class MySystemConfigListener implements  SystemConfigListener
      {
          ...
      }

      // Create an instance of SystemConfigEventQualifier
      myQualifier = new SystemConfigEventQualifier();
      // Filter to system defaults change sub type
      myQualifier.setSystemDefaultsChange();

      // Register listener using PACEConnection
      ...
      conn.addSystemConfigListener(
              new MySystemConfigListener(), // SystemConfigListener
              myQualifier // Qualifier
              );
       ...
 


Field Summary
static int SERVER_DEFAULTS_CHANGE
          Event ID that indicates the SERVER_DEFAULTS_CHANGE sub-event type of the SystemConfigEvent.
static int SYSTEM_CONFIG_CHANGE
          Event ID that indicates the SYSTEM_CONFIG_CHANGE sub-event type of the SystemConfigEvent.
static int SYSTEM_DEFAULTS_CHANGE
          Event ID that indicates the SYSTEM_DEFAULTS_CHANGE sub-event type of the SystemConfigEvent.
 
Method Summary
 void serverDefaultsChanged(SystemConfigEvent ev)
          The method invoked when a SystemConfigEvent arrives when server defaults have been changed.
 void systemConfigChanged(SystemConfigEvent ev)
          The method invoked when a SystemConfigEvent arrives when system configuration have been changed.
 void systemDefaultsChanged(SystemConfigEvent ev)
          The method invoked when a SystemConfigEvent arrives when system defaults have been changed.
 
Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEventListener
getOneShot, setOneShot
 

Field Detail

SYSTEM_DEFAULTS_CHANGE

static final int SYSTEM_DEFAULTS_CHANGE
Event ID that indicates the SYSTEM_DEFAULTS_CHANGE sub-event type of the SystemConfigEvent. This indicates that system defaults other than server defaults have been changed in the system.

See Also:
Constant Field Values

SERVER_DEFAULTS_CHANGE

static final int SERVER_DEFAULTS_CHANGE
Event ID that indicates the SERVER_DEFAULTS_CHANGE sub-event type of the SystemConfigEvent. This indicates that defaults for one or more type of BPR server have been changed in the system.

See Also:
Constant Field Values

SYSTEM_CONFIG_CHANGE

static final int SYSTEM_CONFIG_CHANGE
Event ID that indicates the SYSTEM_CONFIG_CHANGE sub-event type of the SystemConfigEvent. This indicates that system configuration is changed.

See Also:
Constant Field Values
Method Detail

systemDefaultsChanged

void systemDefaultsChanged(SystemConfigEvent ev)
The method invoked when a SystemConfigEvent arrives when system defaults have been changed.

Parameters:
ev - The object containing the SystemConfigEvent data.

serverDefaultsChanged

void serverDefaultsChanged(SystemConfigEvent ev)
The method invoked when a SystemConfigEvent arrives when server defaults have been changed.

Parameters:
ev - The object containing the SystemConfigEvent data.

systemConfigChanged

void systemConfigChanged(SystemConfigEvent ev)
The method invoked when a SystemConfigEvent arrives when system configuration have been changed.

Parameters:
ev - The object containing the SystemConfigEvent data.