1.2.1 High Level Structure
ACCEPT HTTP REQUEST
SERVICE_INTERFACE = ServiceProvider.getService() #Ask the ServiceProvider for an Implementation
IF SERVICE_INTERFACE == NULL
THEN: RETURN NOT_IMPLEMENTED_ERROR #If not found, assume CTS2 Service is not Implemented
ELSE: ServiceProvider.getService().call() #If matching implementation is found, execute it
1.2.2 Basic Request Sequence
Service Plugin - An OSGi bundle capable of being loaded into the CTS2 Development Framework. In order to be recognized as a Service Plugin, the bundle must export one (and only one) Service of type ServiceProvider. Note, however, that the bundle is no excluded from exporting other services – but it must at least export one and only one ServiceProvider Service.