server.embedded.InstallServlet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of server-embedded Show documentation
Show all versions of server-embedded Show documentation
Framework for delivering desktop application updates
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;
}
}