//private AfterBeanDiscovery afterBeanDiscoveryEvent;
public void storeContexts(@Observes final AfterBeanDiscovery event) {
//Registra o ViewContext para controlar o escopo ViewScoped.
ContextManager.initialize(event);
ContextManager.add(new ViewContext(), event);
}