// Loop forever or until the service is stopped
while (!topLevelControllor.isStopped()) {
if (System.in.available() > 0) {
int c = System.in.read();
if (c == 's') {
serviceDeployer.undeploy(SpringContainerDeployer.STOP_NOW);
} else if (c == 'q') {
serviceDeployer.undeploy(SpringContainerDeployer.QUIESCE_AND_STOP);
} else if (Character.isLetter(c) || Character.isDigit(c)) {
System.out.println(prompt);
}