Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/IDiscoveredEndpointDescriptionFactory.java')
-rw-r--r--incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/IDiscoveredEndpointDescriptionFactory.java62
1 files changed, 0 insertions, 62 deletions
diff --git a/incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/IDiscoveredEndpointDescriptionFactory.java b/incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/IDiscoveredEndpointDescriptionFactory.java
deleted file mode 100644
index 04426c03e..000000000
--- a/incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/IDiscoveredEndpointDescriptionFactory.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010-2011 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.osgi.services.remoteserviceadmin;
-
-import org.eclipse.ecf.discovery.IDiscoveryLocator;
-import org.eclipse.ecf.discovery.IServiceInfo;
-import org.eclipse.ecf.discovery.identity.IServiceID;
-
-public interface IDiscoveredEndpointDescriptionFactory {
-
- /**
- * Create an EndpointDescription for a discovered remote service.
- * Implementers of this factory service may return the type of
- * EndpointDescription appropriate for the associated distribution system
- * (e.g. ECFEndpointDescription). Implementers should return
- * <code>null</code> if no notification should occur.
- *
- * @param locator
- * the locator responsible for the discoveredServiceInfo. Must
- * not be <code>null</code>.
- * @param discoveredServiceInfo
- * the discovered service info. Must not be <code>null</code>.
- * @return DiscoveredEndpointDescription that will be used to notify
- * EndpointListeners about a new EndpointDescription. If
- * <code>null</code> is returned, no notification should be
- * performed by the calling code.
- */
- public DiscoveredEndpointDescription createDiscoveredEndpointDescription(
- IDiscoveryLocator locator, IServiceInfo discoveredServiceInfo);
-
- /**
- * Get an EndpointDescription for an undiscovered remote service.
- * Implementers of this factory service may return the type of
- * EndpointDescription appropriate for the associated distribution system
- * (e.g. ECFEndpointDescription). Implementers should return
- * <code>null</code> if no notification should occur.
- *
- * @param locator
- * the locator responsible for the discoveredServiceInfo. Must
- * not be <code>null</code>.
- * @param serviceId
- * the discovered service ID. Must not be <code>null</code>.
- * @return EndpointDescription that will be used to notify EndpointListeners
- * about an undiscovered EndpointDescription. If <code>null</code>
- * is returned, no notification should be performed by the calling
- * code.
- */
- public DiscoveredEndpointDescription getUndiscoveredEndpointDescription(
- IDiscoveryLocator locator, IServiceID serviceID);
-
- public boolean removeEndpointDescription(
- org.osgi.service.remoteserviceadmin.EndpointDescription endpointDescription);
-
- public void removeAllEndpointDescriptions();
-}

Back to the top