Package xal.extension.service
Interface ServiceListener
public interface ServiceListener
ServiceListener is the interface for listeners of service availability and
removal.
- Author:
- tap
-
Method Summary
Modifier and TypeMethodDescriptionvoidserviceAdded(ServiceDirectory directory, ServiceRef serviceRef) This method is called when a new service has been added.voidserviceRemoved(ServiceDirectory directory, String type, String name) This method is called when a service has been removed.
-
Method Details
-
serviceAdded
This method is called when a new service has been added.- Parameters:
directory- identifies the directory sending this notificationserviceRef- The service reference of service provided.
-
serviceRemoved
This method is called when a service has been removed.- Parameters:
directory- identifies the directory sending this notificationtype- The type of the removed service.name- The name of the removed service.
-