service.setServer(this);
synchronized (services)
{
Service results[] = new Service[services.length + 1];
System.arraycopy(services, 0, results, 0, services.length);
results[services.length] = service;
services = results;
if (started && (service instanceof Lifecycle))