List of usage examples for javax.el ELContextListener contextCreated
public void contextCreated(ELContextEvent event);
From source file:therian.Therian.java
public TherianContext contextFor(ELContext wrapped) { final TherianContext result = new TherianContext(new ELContextWrapper(wrapped) { @Override/*from w ww . ja v a 2 s. com*/ protected ELResolver wrap(ELResolver elResolver) { final CompositeELResolver compositeResolver = new CompositeELResolver(); for (TherianModule module : modules) { for (ELResolver configuredELResolver : module.getElResolvers()) { compositeResolver.add(configuredELResolver); } } compositeResolver.add(elResolver); return compositeResolver; } }, operatorManager); result.putContext(Therian.class, this); final ELContextEvent event = new ELContextEvent(result); for (TherianModule module : modules) { for (ELContextListener listener : module.getElContextListeners()) { listener.contextCreated(event); } } return result; }