}
public Service getSystemService(String name) {
SCAObject ctx = systemChildren.get(name);
if (ctx == null) {
ComponentNotFoundException e = new ComponentNotFoundException("Service not found");
e.setIdentifier(name);
e.addContextName(getName());
throw e;
} else if (!(ctx instanceof Service)) {
ComponentNotFoundException e = new ComponentNotFoundException("SCAObject not a service");
e.setIdentifier(name);
e.addContextName(getName());
throw e;
}
return (Service) ctx;
}