Object instances[] = getApplicationLifecycleListeners();
if (instances == null || instances.length == 0) {
return ok;
}
ServletContextEvent event =
new ServletContextEvent(getServletContext());
ServletContextEvent tldEvent = null;
if (noPluggabilityListeners.size() > 0) {
tldEvent = new ServletContextEvent(new NoPluggabilityServletContext(
getServletContext()));
}
for (int i = 0; i < instances.length; i++) {
if (instances[i] == null)
continue;