private boolean resolveLifecycleProviderFromService(ExternalContext externalContext) {
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
ClassLoaders loaders = new ClassLoaders();
loaders.put(classLoader);
DiscoverServiceNames dsn = new DiscoverServiceNames(loaders);
ResourceNameIterator iter = dsn.findResourceNames(LIFECYCLE_PROVIDER);
while (iter.hasNext()) {
String className = iter.nextResourceName();
try
{
Object obj = createClass(className, externalContext);