|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
DiscoveredServiceNotification
Discovery
regarding
the service endpoint.
getServiceEndpointDescription
in interface DiscoveredServiceNotification
Discovery
notifies about. Is
never null
.DiscoveredServiceNotification.getServiceEndpointDescription()
public int getType()
DiscoveredServiceNotification
DiscoveredServiceNotification.AVAILABLE
DiscoveredServiceNotification.MODIFIED
DiscoveredServiceNotification.MODIFIED_ENDMATCH
DiscoveredServiceNotification.UNAVAILABLE
getType
in interface DiscoveredServiceNotification
DiscoveredServiceNotification.getType()
public java.util.Collection getFilters()
DiscoveredServiceNotification
DiscoveredServiceTracker
object
matching with the properties of the
ServiceEndpointDescription
and thus caused the notification.
getFilters
in interface DiscoveredServiceNotification
Collection (<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()
DiscoveredServiceNotification
DiscoveredServiceTracker
object matching with the interfaces of the
ServiceEndpointDescription
and thus caused the notification.
getInterfaces
in interface DiscoveredServiceNotification
Collection (<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 |