ServiceLifecycle result = _lifecycles.get(lifecycle);
if (result == null)
{
ServiceLifecycleSource source = getService(
"tapestry.ioc.ServiceLifecycleSource",
ServiceLifecycleSource.class);
result = source.get(lifecycle);
}
if (result == null) throw new RuntimeException(IOCMessages.unknownLifecycle(lifecycle));
return result;