/* $This file is distributed under the terms of the license in LICENSE$ */

package edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

import edu.cornell.mannlib.vitro.webapp.controller.VitroRequest;
import edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory;

public class StandardWDFSelector implements WDFSelector {

    public static final WDFSelector selector = new StandardWDFSelector();;

    public WebappDaoFactory getWdf(HttpServletRequest request,
            ServletContext context) {
        VitroRequest vreq = new VitroRequest(request);
        return vreq.getWebappDaoFactory();
    }

}
