ServiceBean instance = (ServiceBean)impl;
logger.trace("Obtained implementation instance: {}", instance);
Object proxy = instance.start(context);
created = new Created(impl, proxy);
} else {
BeanFactory beanFactory = new BeanFactory();
created = beanFactory.create(context);
}
}
} catch(Throwable t) {
logger.warn("Could not create service", t);