Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DiscoveredServiceNotificationImpl.java')
-rw-r--r--compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DiscoveredServiceNotificationImpl.java70
1 files changed, 0 insertions, 70 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
deleted file mode 100644
index 49471d6a7..000000000
--- a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DiscoveredServiceNotificationImpl.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 Composent, Inc. and others. All rights reserved. This
- * program and the accompanying materials are made available under the terms of
- * the Eclipse Public License v1.0 which accompanies this distribution, and is
- * available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Composent, Inc. - initial API and implementation
- ******************************************************************************/
-package org.eclipse.ecf.internal.osgi.services.discovery;
-
-import java.util.Collection;
-import java.util.Collections;
-import org.eclipse.ecf.discovery.IServiceInfo;
-import org.eclipse.ecf.osgi.services.discovery.DiscoveredServiceNotification;
-import org.eclipse.ecf.osgi.services.discovery.ServiceEndpointDescription;
-
-public class DiscoveredServiceNotificationImpl implements
- DiscoveredServiceNotification {
-
- private final int type;
- private ServiceEndpointDescription serviceEndpointDescription;
-
- public DiscoveredServiceNotificationImpl(int type, IServiceInfo serviceInfo) {
- this.type = type;
- this.serviceEndpointDescription = new RemoteServiceEndpointDescriptionImpl(
- serviceInfo);
- }
-
- /*
- * (non-Javadoc)
- *
- * @seeorg.osgi.service.discovery.DiscoveredServiceNotification#
- * getServiceEndpointDescription()
- */
- public ServiceEndpointDescription getServiceEndpointDescription() {
- return serviceEndpointDescription;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.osgi.service.discovery.DiscoveredServiceNotification#getType()
- */
- public int getType() {
- return type;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#toString()
- */
- public String toString() {
- StringBuffer sb = new StringBuffer("DiscoveredServiceNotificationImpl["); //$NON-NLS-1$
- sb.append("type=").append(getType()).append(";sed=").append( //$NON-NLS-1$ //$NON-NLS-2$
- 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;
- }
-}

Back to the top