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