All Downloads are FREE. Search and download functionalities are using the official Maven repository.

server.embedded.InstallServlet Maven / Gradle / Ivy

The newest version!
package server.embedded;

import apploader.common.Application;
import server.http.InstallServletBase;
import sqlg3.remote.server.SQLGLogger;

import javax.servlet.ServletConfig;
import java.io.File;
import java.util.List;

final class InstallServlet extends InstallServletBase {

    private final SQLGLogger logger;
    private final File rootDir;
    private final List applications;

    InstallServlet(SQLGLogger logger, File rootDir, List applications) {
        this.logger = logger;
        this.rootDir = rootDir;
        this.applications = applications;
    }

    protected File getRoot(ServletConfig config) {
        return rootDir;
    }

    protected List loadApplications(ServletConfig config) {
        return applications;
    }

    protected SQLGLogger getLogger() {
        return logger;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy