sPFLib/src/main/java/it/polimi/spf/lib/services/SPFServiceRegistry.java
public <T> void registerService(Class<? super T> serviceInterface, Class<T> implementationClass) {
		Utils.notNull(serviceInterface, "serviceInterface must not be null");
		Utils.notNull(implementationClass, "implementationClass must not be null");

		ComponentName cn = new ComponentName(getContext(), implementationClass);
		registerService(serviceInterface, cn);
	}
public <T> void registerService(Class<? super T> serviceInterface, Class<T> implementationClass) {
		Utils.notNull(serviceInterface, "serviceInterface must not be null");
		Utils.notNull(implementationClass, "implementationClass must not be null");

		ComponentName cn = new ComponentName(getContext(), implementationClass);
		registerService(serviceInterface, cn);
	}
Allows to register a service in the service index. Such service is made
available to remote apps.

@param serviceInterface
@param implementation