* Represents a running service.
*/
public interface Service {
+
+ /**
+ * Gets the ide of the service in the registry.
+ * @return Service id.
+ */
+ String getId();
+
/**
* Gets the descriptor of the service.
* @return Descriptor.
*/
- ServiceDescriptor getDescriptor();
+ ProvidedServiceDescriptor getDescriptor();
/**
* Returns a reference to the running service.