tracing.addContainerMark(DeploymentTracing.ContainerMark.LOAD,
engineInfo.getSniffer().getModuleType());
}
// get the container.
Deployer deployer = engineInfo.getDeployer();
try {
ApplicationContainer appCtr = deployer.load(engineInfo.getContainer(), context);
if (appCtr==null) {
String msg = "Cannot load application in " + engineInfo.getContainer().getName() + " container";
logger.fine(msg);
continue;
}
engine.load(context, tracker);
engine.setApplicationContainer(appCtr);
filteredEngines.add(engine);
filteredReversedEngines.addFirst(engine);
} catch(Exception e) {
logger.log(Level.SEVERE, "Exception while invoking " + deployer.getClass() + " load method", e);
throw e;
}
if (tracing!=null) {
tracing.addContainerMark(DeploymentTracing.ContainerMark.LOADED,
engineInfo.getSniffer().getModuleType());