Package com.iplanet.ums
Class CMListener
- java.lang.Object
-
- com.iplanet.ums.CMListener
-
- All Implemented Interfaces:
ServiceListener
public class CMListener extends Object implements ServiceListener
CMListener implements ServiceListener interface. The listener is registered for event notification via_smsapi.addListener()
CMListener is added by ConfigManagerUMS (a single listener at the root of the directory tree.) Event notification callsback the methodconfigChanged
. configChanged deletes the modified subtree from the ConfigManager cache.
-
-
Field Summary
-
Fields inherited from interface com.sun.identity.sm.ServiceListener
ADDED, MODIFIED, REMOVED
-
-
Constructor Summary
Constructors Constructor Description CMListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidglobalConfigChanged(String serviceName, String version, String groupName, String componentName, int type)This method is called back by SM when a service's global configuration data has been changed.voidorganizationConfigChanged(String service, String version, String org, String groupname, String componentName, int type)This method is called back by SM when a service's organization configuration data has been changed.voidschemaChanged(String serviceName, String version)This method will be invoked when a service's schema has been changed.
-
-
-
Method Detail
-
schemaChanged
public void schemaChanged(String serviceName, String version)
Description copied from interface:ServiceListenerThis method will be invoked when a service's schema has been changed.- Specified by:
schemaChangedin interfaceServiceListener- Parameters:
serviceName- name of the serviceversion- version of the service
-
globalConfigChanged
public void globalConfigChanged(String serviceName, String version, String groupName, String componentName, int type)
This method is called back by SM when a service's global configuration data has been changed. The parametergroupNamedenote the name of the configuration grouping (e.g. default) andcomponentNamedenotes the service's sub-component that changed.- Specified by:
globalConfigChangedin interfaceServiceListener- Parameters:
serviceName- name of the service.version- version of the service.groupName- name of the configuration grouping.componentName- name of the service component that changed.type- change type, i.e.ADDED,REMOVEDorMODIFIED.
-
organizationConfigChanged
public void organizationConfigChanged(String service, String version, String org, String groupname, String componentName, int type)
This method is called back by SM when a service's organization configuration data has been changed. The parametersorg,groupnameandcomponentNamedenotes the organization name, configuration grouping name and service's sub-component that are changed respectively.- Specified by:
organizationConfigChangedin interfaceServiceListener- Parameters:
service- name of the service.version- version of the service.org- organization name as DN.groupname- name of the configuration grouping.componentName- the name of the service components that changed.type- change type, i.e.ADDED,REMOVEDorMODIFIED.
-
-