public interface ServiceListener
ServiceListener
needs to be implemented by
applications in order to receive service data change notifications. The
method schemaChanged()
is invoked when a service schema data
has been changed. The method globalConfigChanged()
and
organizationConfigChanged()
are invoked when the service
configuration data has been changed.Modifier and Type | Field and Description |
---|---|
static int |
ADDED
The change type specifies that the entry has been added.
|
static int |
MODIFIED
The change type specifies that the entry has been modified.
|
static int |
REMOVED
The change type specifies that the entry has been removed.
|
Modifier and Type | Method and Description |
---|---|
void |
globalConfigChanged(String serviceName,
String version,
String groupName,
String serviceComponent,
int type)
This method will be invoked when a service's global configuration data
has been changed.
|
void |
organizationConfigChanged(String serviceName,
String version,
String orgName,
String groupName,
String serviceComponent,
int type)
This method will be invoked 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.
|
static final int ADDED
static final int REMOVED
static final int MODIFIED
void schemaChanged(String serviceName, String version)
serviceName
- name of the serviceversion
- version of the servicevoid globalConfigChanged(String serviceName, String version, String groupName, String serviceComponent, int type)
groupName
denote the name
of the configuration grouping (e.g. default) and
serviceComponent
denotes the service's sub-component that
changed (e.g. /NamedPolicy
, /Templates
).serviceName
- name of the service.version
- version of the service.groupName
- name of the configuration grouping.serviceComponent
- name of the service components that changed.type
- change type, i.e., ADDED, REMOVED or MODIFIED.void organizationConfigChanged(String serviceName, String version, String orgName, String groupName, String serviceComponent, int type)
orgName
,
groupName
and serviceComponent
denotes the
organization name, configuration grouping name and service's
sub-component that are changed respectively.serviceName
- name of the serviceversion
- version of the serviceorgName
- organization name as DNgroupName
- name of the configuration groupingserviceComponent
- the name of the service components that changedtype
- change type, i.e., ADDED, REMOVED or MODIFIEDCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.