if (log.isDebugEnabled())
log.debug(IOCMessages.creatingService(serviceId));
try
{
ServiceLifecycle lifecycle = _registry.getServiceLifecycle(def.getServiceLifeycle());
ServiceBuilderResources resources = new ServiceResourcesImpl(_registry, this, def, log);
// Build up a stack of operations that will be needed to instantiate the service
// (by the proxy, at a later date).