// An event with qualifier @Initialized(RequestScoped.class) is fired when the request context is initialized
getBeanManager().getGlobalLenientObserverNotifier().fireEvent(new Object(), InitializedLiteral.REQUEST);
return invocation.proceed();
} finally {
requestContext.invalidate();
requestContext.deactivate();
}
} finally {
requestContext.dissociate(invocation);
// An event with qualifier @Destroyed(RequestScoped.class) when the request context is destroyed
getBeanManager().getGlobalLenientObserverNotifier().fireEvent(new Object(), DestroyedLiteral.REQUEST);