for (int i = 0; i < numProvisionRetries; i++) {
if (logger.isDebugEnabled()) {
String retry = (i == 0 ? "" : ", retry (" + i + ") ");
logger.debug("Allocating {} [{}] ...", retry, LoggingUtil.getLoggingName(request));
}
DeployedService deployedService = ir.getInstantiator().instantiate(event);
if (deployedService != null) {
jsbInstance = deployedService.getServiceBeanInstance();
ir.addDeployedService(deployedService);
logger.info("Allocated [{}]", LoggingUtil.getLoggingName(request));
if (logger.isTraceEnabled()) {
Object service = jsbInstance.getService();
Class serviceClass = service.getClass();