ServiceState<S> serviceState = ServiceState.assertServiceState(reference);
return getServicesManager().getService(this, serviceState);
}
private RuntimeServicesManager getServicesManager() {
AbstractRuntime runtime = getModule().adapt(AbstractRuntime.class);
return runtime.adapt(RuntimeServicesManager.class);
}