if (isRequestContextActive()) {
return invocation.proceed();
} else {
EjbRequestContext requestContext = getEjbRequestContext();
try {
requestContext.associate(invocation);
requestContext.activate();
try {
// 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();