org.eclipse.ecf.osgi.services.remoteserviceadmin
Interface IServiceInfoFactory

All Known Implementing Classes:
ServiceInfoFactory

public interface IServiceInfoFactory

Service info factory service contract. A service info factory is used by the EndpointDescriptionAdvertiser to convert EndpointDescriptions to IServiceInfo instances (via createServiceInfo(IDiscoveryAdvertiser, EndpointDescription). The resulting IServiceInfo instances are then used to by the EndpointDescriptionAdvertiser to publish the EndpointDescription metadata to a IDiscoveryAdvertiser.

If no other instances of this service have been registered, a default instance of ServiceInfoFactory will be used by the EndpointDescriptionAdvertiser. Note that this default instance is registered with the lowest possible priority, so that if other IServiceInfoFactory instances are registered, they will be preferred/used over the default. This means that Those wishing to customize/control this process of converting EndpointDescriptions to IServiceInfo must