Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 80145 Details for
Bug 206046
IDiscoveryContainerAdapter doesn't allow clients to get all known Services or ServiceTypes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch for IDiscoveryContainerAdapter, rest will follow
patch.txt (text/plain), 2.08 KB, created by
Markus Kuppe
on 2007-10-11 10:57:06 EDT
(
hide
)
Description:
patch for IDiscoveryContainerAdapter, rest will follow
Filename:
MIME Type:
Creator:
Markus Kuppe
Created:
2007-10-11 10:57:06 EDT
Size:
2.08 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ecf.discovery >Index: src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/plugins/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java,v >retrieving revision 1.15 >diff -u -r1.15 IDiscoveryContainerAdapter.java >--- src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java 1 Oct 2007 20:01:46 -0000 1.15 >+++ src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java 11 Oct 2007 14:55:52 -0000 >@@ -12,9 +12,7 @@ > import org.eclipse.core.runtime.IAdaptable; > import org.eclipse.ecf.core.identity.Namespace; > import org.eclipse.ecf.core.util.ECFException; >-import org.eclipse.ecf.discovery.identity.IServiceID; >-import org.eclipse.ecf.discovery.identity.IServiceTypeID; >-import org.eclipse.ecf.discovery.identity.ServiceIDFactory; >+import org.eclipse.ecf.discovery.identity.*; > > /** > * Entry point discovery container adapter. This interface exposes the ability >@@ -159,9 +157,28 @@ > */ > public IServiceInfo[] getServices(String type); > >+ /** >+ * Get service info about all known services of given service type >+ * >+ * @param type >+ * IServiceTypeID defining the type of service we are interested in >+ * getting service info about. Must not be <code>null</code> >+ * @return IServiceInfo[] the resulting array of service info instances. >+ * Will not be <code>null</code>. May be of length 0. >+ */ > public IServiceInfo[] getServices(IServiceTypeID type); > > /** >+ * Get service info about all known services >+ * >+ * @return IServiceInfo[] the resulting array of service info instances. >+ * Will not be <code>null</code>. May be of length 0. >+ */ >+ public IServiceInfo[] getServices(); >+ >+ public IServiceTypeID[] getServiceTypes(); >+ >+ /** > * Get a namespace for services associated with this discovery container adapter. The given namespace > * may be used via {@link ServiceIDFactory} to create IServiceIDs rather than simple IDs. For example: > * <pre>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206046
: 80145