If you use a service implementation that does not implement all interfaces it registers, a deadlock would occur if you would access its ServiceRegistration. Now it will throw an IllegalStateException instead.