diff options
author | slewis | 2009-04-01 05:12:40 +0000 |
---|---|---|
committer | slewis | 2009-04-01 05:12:40 +0000 |
commit | ad1d23c6b9a2caed4339f1a638654cb05c890bf5 (patch) | |
tree | d1d67c4225220b3cfa2223d397a6ca22d26c1dd4 /compendium | |
parent | 7f1927b47ca99a5bfef2ef672c46da5e5cb74847 (diff) | |
download | org.eclipse.ecf-ad1d23c6b9a2caed4339f1a638654cb05c890bf5.tar.gz org.eclipse.ecf-ad1d23c6b9a2caed4339f1a638654cb05c890bf5.tar.xz org.eclipse.ecf-ad1d23c6b9a2caed4339f1a638654cb05c890bf5.zip |
Changed OSGi 4.2 compendium version to 20090331 from CQ http://dev.eclipse.org/ipzilla/show_bug.cgi?id=2795
Diffstat (limited to 'compendium')
-rw-r--r-- | compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DiscoveredServiceNotificationImpl.java | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DiscoveredServiceNotificationImpl.java b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DiscoveredServiceNotificationImpl.java index 5b2a98c9e..0abbc2bae 100644 --- a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DiscoveredServiceNotificationImpl.java +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DiscoveredServiceNotificationImpl.java @@ -9,6 +9,8 @@ ******************************************************************************/ package org.eclipse.ecf.internal.osgi.services.discovery; +import java.util.Collection; +import java.util.Collections; import org.eclipse.ecf.discovery.IServiceInfo; import org.osgi.service.discovery.DiscoveredServiceNotification; import org.osgi.service.discovery.ServiceEndpointDescription; @@ -19,28 +21,34 @@ public class DiscoveredServiceNotificationImpl implements private final int type; private ServiceEndpointDescription serviceEndpointDescription; - public DiscoveredServiceNotificationImpl(int type, - IServiceInfo serviceInfo) { + public DiscoveredServiceNotificationImpl(int type, IServiceInfo serviceInfo) { this.type = type; this.serviceEndpointDescription = new ECFServiceEndpointDescriptionImpl( serviceInfo); } - /* (non-Javadoc) - * @see org.osgi.service.discovery.DiscoveredServiceNotification#getServiceEndpointDescription() + /* + * (non-Javadoc) + * + * @seeorg.osgi.service.discovery.DiscoveredServiceNotification# + * getServiceEndpointDescription() */ public ServiceEndpointDescription getServiceEndpointDescription() { return serviceEndpointDescription; } - /* (non-Javadoc) + /* + * (non-Javadoc) + * * @see org.osgi.service.discovery.DiscoveredServiceNotification#getType() */ public int getType() { return type; } - /* (non-Javadoc) + /* + * (non-Javadoc) + * * @see java.lang.Object#toString() */ public String toString() { @@ -49,4 +57,14 @@ public class DiscoveredServiceNotificationImpl implements getServiceEndpointDescription()).append("]"); //$NON-NLS-1$ return sb.toString(); } + + public Collection getFilters() { + // XXX TODO + return Collections.EMPTY_LIST; + } + + public Collection getInterfaces() { + // XXX TODO + return Collections.EMPTY_LIST; + } } |