Example usage for org.springframework.beans.factory.config Scope interface-usage

List of usage examples for org.springframework.beans.factory.config Scope interface-usage

Introduction

In this page you can find the example usage for org.springframework.beans.factory.config Scope interface-usage.

Usage

From source file com.github.javarch.jsf.config.ViewScope.java

/**
 * Customizao do escopo de view baseado no UIViewRoot do JSF onde 
 * ser armazenado o objeto. Note que os atributos do bean e o prprio 
 * bean deve ser marcado como serializvel j que ele ser armazanado no view map.
 * 
 * 

From source file scope.thread.ThreadScope.java

/**
 * Thread scope implementation.
 * 
 * @author David Winterfeldt
 */
public class ThreadScope implements Scope {

From source file org.suren.autotest.web.framework.spring.AutotestScope.java

/**
 * @author suren
 * @date 2017124 ?9:26:26
 */
public class AutotestScope implements Scope {
    private Map<String, Object> objMap = new HashMap<String, Object>();

From source file pl.com.bottega.testutils.SimpleMapScope.java

public class SimpleMapScope implements Scope {

    /**
     * This map contains for each bean name or ID the created object. The
     * objects are created with a spring object factory.
     */

From source file org.carewebframework.api.spring.ScopeContainer.java

/**
 * IOC container for the custom scopes.
 */
public class ScopeContainer implements Scope {

    private static final Log log = LogFactory.getLog(ScopeContainer.class);

From source file org.molasdin.wbase.jsf.spring.scope.JsfViewScope.java

public class JsfViewScope implements Scope {

    public Object get(String name, ObjectFactory<?> objectFactory) {
        if (FacesContext.getCurrentInstance().getViewRoot() != null) {
            Map<String, Object> viewMap = FacesContext.getCurrentInstance().getViewRoot().getViewMap();
            if (viewMap.containsKey(name)) {

From source file uk.ac.ebi.intact.editor.util.ViewScope.java

public class ViewScope implements Scope {

    public Object get(String name, ObjectFactory objectFactory) {

        Map<String, Object> viewMap = FacesContext.getCurrentInstance().getViewRoot().getViewMap();

From source file uk.ac.ebi.intact.editor.util.FlashScope.java

public class FlashScope implements Scope {

    public Object get(String name, ObjectFactory objectFactory) {

        Flash flash = FacesContext.getCurrentInstance().getExternalContext().getFlash();

From source file com.github.persapiens.jsfboot.annotations.ViewScope.java

/**
 * Implementation of view scope.
 * @author Marcelo Fernandes
 */
public class ViewScope implements Scope {

From source file com.liferay.faces.demos.spring.ViewScope.java

/**
 * This class serves as a custom Spring scope that decorates the map of view-scoped managed-beans behind the JSF2 {@link
 * ViewScoped} annotation.
 *
 * @author  Neil Griffin
 */