/** * To be called by the CDI extension afterDeploymentValidation method to * verify that the stored methods are consistent and to create the bean references. * * @param bm BeanManager needed to activate the beans. * @throws InvalidAnnotationException If the deployment is inconsistent or if the * beans cannot be instantiated. */ @Override protected void activateCustomScopes(BeanManager bm) { // Activate the custom scoped beans stateScopedConfig.activate(bm); sessionScopedConfig.activate(bm); }
LOG.debug("ACB instance: " + acb + ", RS config: " + ((acb==null) ? "null" : acb.getSessionScopedConfig())); acb.getSessionScopedConfig().activate(beanmgr); acb.getStateScopedConfig().activate(beanmgr); } catch (Throwable t) { LOG.debug("Could not retrieve annotated config bean.");