Create an instance of the service provider with the specified details.
the priority of the service.
the PrinterService implementation to use.
ReadonlyprinterReadonlyserviceThe ID which identifies the service provided.
ReadonlyserviceUsed to determine the order in which multiple service instances will be initialised. Higher values will be initialised before lower values.
Return ServiceInfo containing the service and any commands it provides which should be registered in the CLI.
Initialise the service. This will be invoked AFTER any GlobalModifierCommand provided in the ServiceInfo have been invoked (if specified as CLI arguments or CLI configuration).
NOTE: Other services within the provided context will only have been initialised if they have a higher servicePriority value than the current service.
Provides a PrinterService.