server.core.AppInit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of server-core Show documentation
Show all versions of server-core Show documentation
Framework for delivering desktop application updates
The newest version!
package server.core;
import sqlg3.remote.server.SessionFactory;
import sqlg3.runtime.GlobalContext;
import sqlg3.runtime.SqlTrace;
import java.util.Set;
public interface AppInit {
AppLogger createLogger();
final class InitData {
public final SessionFactory sessionFactory;
public final GlobalContext global;
public final Set blacklist;
public final Set whitelist;
public InitData(SessionFactory sessionFactory, GlobalContext global) {
this(sessionFactory, global, null, null);
}
public InitData(SessionFactory sessionFactory, GlobalContext global,
Set blacklist, Set whitelist) {
this.sessionFactory = sessionFactory;
this.global = global;
this.blacklist = blacklist;
this.whitelist = whitelist;
}
}
InitData init(String application, LoginData login, SqlTrace trace);
void destroy();
}