Interface IServiceID
-
- All Superinterfaces:
Comparable
,org.eclipse.core.runtime.IAdaptable
,ID
,Principal
,Serializable
- All Known Implementing Classes:
DnsSdServiceID
,JSLPServiceID
,ServiceID
,ZooDiscoveryServiceID
public interface IServiceID extends ID
Service identity contract.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description URI
getLocation()
String
getServiceName()
Deprecated.UseIServiceInfo.getServiceName()
insteadIServiceTypeID
getServiceTypeID()
Get service type ID for this ID.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.eclipse.ecf.core.identity.ID
equals, getName, getNamespace, hashCode, toExternalForm
-
-
-
-
Method Detail
-
getServiceTypeID
IServiceTypeID getServiceTypeID()
Get service type ID for this ID.- Returns:
- IServiceTypeID. Will not be
null
.
-
getServiceName
String getServiceName()
Deprecated.UseIServiceInfo.getServiceName()
insteadGet service name for this ID.- Returns:
- String service name. May be
null
.
-
getLocation
URI getLocation()
- Returns:
- URI the location for this serviceID
- Since:
- 3.0
-
-