}
return server;
}
private void addLifecycleListener(final CustomWebApplicationContext context) {
context.addEventListener(new LifeCycleListener() {
public void lifeCycleFailure(LifeCycleEvent arg0) {
}
public void lifeCycleStarted(LifeCycleEvent arg0) {
getBootProgressMonitor().updateMessage("Server is now running");