@Bean("flowScope") @ConditionalOnMissingBean(name = "flowScope") @Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE, proxyMode = ScopedProxyMode.INTERFACES) public Map<Object, Object> flowScope() { return FacesContext.getCurrentInstance().getApplication().getFlowHandler().getCurrentFlowScope(); }
@Override public Object getValue(ELContext context) { FacesContext facesContext = facesContext(context); return facesContext.getApplication().getFlowHandler().getCurrentFlowScope(); }
public FlowMapProducer() { super.name("flowScope") .scope(FlowScoped.class) .qualifiers(new FlowMapAnnotationLiteral()) .types( new ParameterizedTypeImpl(Map.class, new Type[]{Object.class, Object.class}), Map.class, Object.class) .beanClass(Map.class) .create(e -> FacesContext.getCurrentInstance().getApplication().getFlowHandler().getCurrentFlowScope()); }
public FlowMapProducer() { super.name("flowScope") .scope(FlowScoped.class) .qualifiers(new FlowMapAnnotationLiteral()) .types( new ParameterizedTypeImpl(Map.class, new Type[]{Object.class, Object.class}), Map.class, Object.class) .beanClass(Map.class) .create(e -> FacesContext.getCurrentInstance().getApplication().getFlowHandler().getCurrentFlowScope()); }
public FlowMapProducer() { super.name("flowScope") .scope(FlowScoped.class) .qualifiers(new FlowMapAnnotationLiteral()) .types( new ParameterizedTypeImpl(Map.class, new Type[]{Object.class, Object.class}), Map.class, Object.class) .beanClass(Map.class) .create(e -> FacesContext.getCurrentInstance().getApplication().getFlowHandler().getCurrentFlowScope()); }
public JsfArtifactFlowMapProducer(BeanManager beanManager) { super(beanManager); super.name("flowScope") .scope(FlowScoped.class) .qualifiers(new FlowMapAnnotationLiteral()) .types(new ParameterizedTypeImpl(Map.class, new Type[] { Object.class, Object.class }), Map.class, Object.class) .beanClass(Map.class) .create(e -> FacesContext.getCurrentInstance().getApplication().getFlowHandler().getCurrentFlowScope()); } }
Map<Object, Object> flowScope = null; if (null != flowHandler) { flowScope = flowHandler.getCurrentFlowScope();
FlowHandler flowHandler = facesContext.getApplication().getFlowHandler(); if (null != flowHandler) { Map<Object, Object> flowScope = flowHandler.getCurrentFlowScope(); if (null != flowScope) { context.setPropertyResolved(true);
Map<Object, Object> flowScope = null; if (null != flowHandler) { flowScope = flowHandler.getCurrentFlowScope();
Map<Object, Object> flowScope = null; if (null != flowHandler) { flowScope = flowHandler.getCurrentFlowScope();
verify(flowHandler).getCurrentFlowScope();