// TODO: but we should maybe stop / shut it down
ServiceAssemblyImpl sa = getServiceAssembly(assembly.getName());
if (sa != null) {
try {
if (sa.getState() == AbstractLifecycleJbiArtifact.State.Started) {
sa.stop(false);
}
if (sa.getState() == AbstractLifecycleJbiArtifact.State.Stopped) {
sa.shutDown(false, true);
}
for (ServiceUnitImpl su : sa.getServiceUnitsList()) {