org.eclipse.ecf.provider.jslp.container
Class JSLPServiceInfo

java.lang.Object
  extended by org.eclipse.ecf.discovery.ServiceInfo
      extended by org.eclipse.ecf.provider.jslp.container.JSLPServiceInfo
All Implemented Interfaces:
java.io.Serializable, org.eclipse.core.runtime.IAdaptable, IServiceInfo

public class JSLPServiceInfo
extends ServiceInfo
implements IServiceInfo

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.ecf.discovery.ServiceInfo
DEFAULT_PRIORITY, DEFAULT_TTL, DEFAULT_WEIGHT, priority, properties, serviceID, serviceName, timeToLive, UNKNOWN_PROTOCOL, weight
 
Constructor Summary
JSLPServiceInfo(IServiceInfo aSI)
           
JSLPServiceInfo(java.lang.String aServiceName, ServiceURLAdapter anAdapter, int priority, int weight, ServicePropertiesAdapter aServicePropertiesAdapter)
           
 
Method Summary
 ServiceURL getServiceURL()
           
 
Methods inherited from class org.eclipse.ecf.discovery.ServiceInfo
getAdapter, getLocation, getPriority, getServiceID, getServiceName, getServiceProperties, getTTL, getWeight, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ecf.discovery.IServiceInfo
getLocation, getPriority, getServiceID, getServiceName, getServiceProperties, getTTL, getWeight
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

JSLPServiceInfo

public JSLPServiceInfo(IServiceInfo aSI)
                throws IDCreateException
Throws:
IDCreateException

JSLPServiceInfo

public JSLPServiceInfo(java.lang.String aServiceName,
                       ServiceURLAdapter anAdapter,
                       int priority,
                       int weight,
                       ServicePropertiesAdapter aServicePropertiesAdapter)
Parameters:
aServiceName -
anAdapter -
priority -
weight -
aServicePropertiesAdapter -
Since:
3.0
Method Detail

getServiceURL

public ServiceURL getServiceURL()
                         throws ServiceLocationException
Throws:
ServiceLocationException