case CREATE: case INITIALIZE: case PRESTART: case STOP:
dependency.getLifecycle().start();
break;
case POSTSTOP: case DESTROY:
throw new DependencyException("Dependency Failure: has been permanently destroyed: " + dependency);
default:
// Here it means the dependency has started and is currently running
}
}