sPFFramework/src/main/java/it/polimi/spf/framework/services/ActivityConsumerRouteTable.java
public boolean registerService(SPFServiceDescriptor descriptor) {
		String appId = descriptor.getAppIdentifier();
		String serviceName = descriptor.getServiceName();

		for (String verb : descriptor.getConsumedVerbs()) {
			if (!registerServiceInternal(verb, serviceName, appId)) {
				return false;
			}
			
			Log.v(TAG, "Registered service as Activity consumer: " + descriptor.getServiceName());
		}

		return true;
	}
public boolean registerService(SPFServiceDescriptor descriptor) {
		String appId = descriptor.getAppIdentifier();
		String serviceName = descriptor.getServiceName();

		for (String verb : descriptor.getConsumedVerbs()) {
			if (!registerServiceInternal(verb, serviceName, appId)) {
				return false;
			}
			
			Log.v(TAG, "Registered service as Activity consumer: " + descriptor.getServiceName());
		}

		return true;
	}
public boolean registerService ( SPFServiceDescriptor descriptor ) { String appId = descriptor . getAppIdentifier ( ) ; String serviceName = descriptor . getServiceName ( ) ; for ( String verb : descriptor . getConsumedVerbs ( ) ) { if ( ! registerServiceInternal ( verb , serviceName , appId ) ) { return false ; } Log . v ( TAG , "Registered service as Activity consumer: " + descriptor . getServiceName ( ) ) ; } return true ; }
Registers the capabilities of a service to consume activities. If the
descriptor doesn't declare the service as capable of handling activities,
no action will be performed.

@param descriptor
- the descriptor of the service to register
@return true if the service was registered
Registers the capabilities of a service to consume activities . If the descriptor doesn t declare the service as capable of handling activities no action will be performed .