// Deploy components defined in Spring context files.
// !!!! NOTE:This method blocks until the container is fully
// initialized and all UIMA-AS components are successfully deployed
// or there is a failure.
try {
serviceDeployer = service.deploy(contextFiles, this);
} catch (Throwable t) {
t.printStackTrace();
}
// Stop executor. It was only needed to poll AE initialization status.
// Since deploy() completed