|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface 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.
Field Summary | |
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. |
Method Summary | |
void |
globalConfigChanged(java.lang.String serviceName,
java.lang.String version,
java.lang.String groupName,
java.lang.String serviceComponent,
int type)
This method will be invoked when a service's global configuation data has been changed. |
void |
organizationConfigChanged(java.lang.String serviceName,
java.lang.String version,
java.lang.String orgName,
java.lang.String groupName,
java.lang.String serviceComponent,
int type)
This method will be invoked when a service's organization configuation data has been changed. |
void |
schemaChanged(java.lang.String serviceName,
java.lang.String version)
This methid will be invoked when a service's schema has been changed. |
Field Detail |
public static final int ADDED
public static final int REMOVED
public static final int MODIFIED
Method Detail |
public void schemaChanged(java.lang.String serviceName, java.lang.String version)
seviceName
- name of the serviceversion
- version of the servicepublic void globalConfigChanged(java.lang.String serviceName, java.lang.String version, java.lang.String groupName, java.lang.String serviceComponent, int type)
seviceName
- name of the serviceversion
- version of the servicegroupName
- name of the configuration groupingserviceComponent
- name of the service components that
changedtype
- change type, i.e., ADDED, REMOVED or MODIFIEDpublic void organizationConfigChanged(java.lang.String serviceName, java.lang.String version, java.lang.String orgName, java.lang.String groupName, java.lang.String serviceComponent, int type)
seviceName
- 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 MODIFIED
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |