Package org.opennms.netmgt.dao.api
Interface ServiceTracker.ServiceListener
-
- Enclosing interface:
- ServiceTracker
public static interface ServiceTracker.ServiceListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onServiceMatched(ServiceRef serviceRef)
Called when a service matches the criteria.void
onServiceStoppedMatching(ServiceRef serviceRef)
Called when a service that was previously passed to aonServiceMatched(org.opennms.netmgt.dao.api.ServiceRef)
call no longer matches the criteria
-
-
-
Method Detail
-
onServiceMatched
void onServiceMatched(ServiceRef serviceRef)
Called when a service matches the criteria.- Parameters:
serviceRef
- service reference
-
onServiceStoppedMatching
void onServiceStoppedMatching(ServiceRef serviceRef)
Called when a service that was previously passed to aonServiceMatched(org.opennms.netmgt.dao.api.ServiceRef)
call no longer matches the criteria- Parameters:
serviceRef
- service reference
-
-