fix wrong merge from c165d07492
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
78c1cc2a6d
commit
45411b694f
|
@ -221,11 +221,11 @@ public class QuickStartGeneratorConfiguration extends AbstractConfiguration
|
|||
.tag("param-value",context.getInitParameter(p))
|
||||
.closeTag();
|
||||
|
||||
if (_webApp.getServletHandler().getListeners() != null)
|
||||
for (ListenerHolder e : _webApp.getServletHandler().getListeners())
|
||||
out.openTag("listener",origin(md,e.getClassName() + ".listener"))
|
||||
.tag("listener-class",e.getClassName())
|
||||
.closeTag();
|
||||
if(context.getEventListeners()!=null)
|
||||
for (EventListener e : context.getEventListeners())
|
||||
out.openTag("listener",origin(md,e.getClass().getCanonicalName() + ".listener"))
|
||||
.tag("listener-class",e.getClass().getCanonicalName())
|
||||
.closeTag();
|
||||
|
||||
ServletHandler servlets = context.getServletHandler();
|
||||
|
||||
|
|
Loading…
Reference in New Issue