|
|
@ -139,10 +139,12 @@ public class SpringServletContainerInitializer implements ServletContainerInitia |
|
|
|
|
|
|
|
|
|
|
|
ArrayList<WebApplicationInitializer> initializers = new ArrayList<WebApplicationInitializer>(); |
|
|
|
ArrayList<WebApplicationInitializer> initializers = new ArrayList<WebApplicationInitializer>(); |
|
|
|
|
|
|
|
|
|
|
|
for (Class<?> waiClass : webAppInitializerClasses) { |
|
|
|
if (webAppInitializerClasses != null) { |
|
|
|
if (!Modifier.isAbstract(waiClass.getModifiers())) { |
|
|
|
for (Class<?> waiClass : webAppInitializerClasses) { |
|
|
|
// the class can be instantiated -> add it
|
|
|
|
if (!Modifier.isAbstract(waiClass.getModifiers())) { |
|
|
|
initializers.add(instantiateClass(waiClass, WebApplicationInitializer.class)); |
|
|
|
// the class can be instantiated -> add it
|
|
|
|
|
|
|
|
initializers.add(instantiateClass(waiClass, WebApplicationInitializer.class)); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|