public class CMListener extends Object implements ServiceListener
_smsapi.addListener()CMListener is added by ConfigManagerUMS (a single listener at the root of the directory tree.) Event notification callsback the method
configChanged. configChanged deletes the modified subtree from the ConfigManager cache.
ADDED, MODIFIED, REMOVED
Constructor and Description |
---|
CMListener() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
void |
schemaChanged(String serviceName,
String version)
This method will be invoked when a service's schema has been changed.
|
public void schemaChanged(String serviceName, String version)
ServiceListener
schemaChanged
in interface ServiceListener
serviceName
- name of the serviceversion
- version of the servicepublic void globalConfigChanged(String serviceName, String version, String groupName, String componentName, int type)
groupName
denote
the name of the configuration grouping (e.g. default) and
componentName
denotes the service's sub-component
that changed.globalConfigChanged
in interface ServiceListener
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
, REMOVED
or
MODIFIED
.public void organizationConfigChanged(String service, String version, String org, String groupname, String componentName, int type)
org
,
groupname
and componentName
denotes the organization name, configuration grouping name and
service's sub-component that are changed respectively.organizationConfigChanged
in interface ServiceListener
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
, REMOVED
or
MODIFIED
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.