while (!springDeployer.isInitialized() ) {
if ( springDeployer.initializationFailed()) {
throw new ResourceInitializationException();
}
synchronized (springDeployer) {
springDeployer.wait(100);
}
}
// Check if the deployer failed
// Register this class to receive Spring container notifications. Specifically, looking
// for an even signaling the container termination. This is done so that we can stop