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);
	}
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
Allows to register a service in the service index . Such service is made available to remote apps .