public static ServiceName moduleServiceName ( ModuleIdentifier identifier ) { if ( ! identifier . getName ( ) . startsWith ( MODULE_PREFIX ) ) { throw ServerLogger . ROOT_LOGGER . missingModulePrefix ( identifier , MODULE_PREFIX ) ; } return MODULE_SERVICE_PREFIX . append ( identifier . getName ( ) ) . append ( identifier . getSlot ( ) ) ; }
Returns the corresponding ModuleLoadService service name for the given module .