Context context = (Context) source;
mapper.removeContext(context.getParent().getName(), context.getName());
} else if (source instanceof Service) {
Service service = (Service) source;
Engine engine = (Engine) service.getContainer();
engine.removeContainerListener(this);
((Lifecycle) engine).removeLifecycleListener(this);
for (Container host : engine.findChildren()) {
host.removeContainerListener(this);
mapper.removeHost(host.getName());
for (Container context : host.findChildren()) {