|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.osgi.services.discovery.local.DiscoveredServiceNotificationImpl
public class DiscoveredServiceNotificationImpl
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.ecf.osgi.services.discovery.DiscoveredServiceNotification |
|---|
AVAILABLE, MODIFIED, MODIFIED_ENDMATCH, UNAVAILABLE |
| Constructor Summary | |
|---|---|
DiscoveredServiceNotificationImpl(ServiceEndpointDescription sed,
int notificationType,
java.util.Collection matchingFilters,
java.util.Collection matchingInterfaces)
|
|
| Method Summary | |
|---|---|
java.util.Collection |
getFilters()
Returns filters of the DiscoveredServiceTracker object
matching with the properties of the
ServiceEndpointDescription and thus caused the notification. |
java.util.Collection |
getInterfaces()
Returns interface name criteria of the DiscoveredServiceTracker
object matching with the interfaces of the
ServiceEndpointDescription and thus caused the notification. |
ServiceEndpointDescription |
getServiceEndpointDescription()
Returns information currently known to Discovery regarding
the service endpoint. |
int |
getType()
Returns the type of notification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscoveredServiceNotificationImpl(ServiceEndpointDescription sed,
int notificationType,
java.util.Collection matchingFilters,
java.util.Collection matchingInterfaces)
| Method Detail |
|---|
public ServiceEndpointDescription getServiceEndpointDescription()
DiscoveredServiceNotificationDiscovery regarding
the service endpoint.
getServiceEndpointDescription in interface DiscoveredServiceNotificationDiscovery notifies about. Is
never null.DiscoveredServiceNotification.getServiceEndpointDescription()public int getType()
DiscoveredServiceNotificationDiscoveredServiceNotification.AVAILABLEDiscoveredServiceNotification.MODIFIEDDiscoveredServiceNotification.MODIFIED_ENDMATCHDiscoveredServiceNotification.UNAVAILABLE
getType in interface DiscoveredServiceNotificationDiscoveredServiceNotification.getType()public java.util.Collection getFilters()
DiscoveredServiceNotificationDiscoveredServiceTracker object
matching with the properties of the
ServiceEndpointDescription and thus caused the notification.
getFilters in interface DiscoveredServiceNotificationCollection (<String>) of matching filters of
the DiscoveredServiceTracker object being notified,
or an empty collection if notification hasn't been caused by a
matching filter criteria.DiscoveredServiceNotification.getFilters()public java.util.Collection getInterfaces()
DiscoveredServiceNotificationDiscoveredServiceTracker
object matching with the interfaces of the
ServiceEndpointDescription and thus caused the notification.
getInterfaces in interface DiscoveredServiceNotificationCollection (<String>) of matching interface
name criteria of the DiscoveredServiceTracker object
being notified, or an empty collection if notification hasn't
been caused by a matching interface name criteria.DiscoveredServiceNotification.getInterfaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||