|
|
@ -500,10 +500,8 @@ public abstract class AbstractApplicationContext extends DefaultResourceLoader |
|
|
|
if (this.applicationEventMulticaster != null) { |
|
|
|
if (this.applicationEventMulticaster != null) { |
|
|
|
this.applicationEventMulticaster.addApplicationListener(listener); |
|
|
|
this.applicationEventMulticaster.addApplicationListener(listener); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
|
|
|
|
this.applicationListeners.add(listener); |
|
|
|
this.applicationListeners.add(listener); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Return the list of statically specified ApplicationListeners. |
|
|
|
* Return the list of statically specified ApplicationListeners. |
|
|
|