
javarepl.web.WebConsoleApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javarepl Show documentation
Show all versions of javarepl Show documentation
Java REPL is a simple Read-Eval-Print-Loop for Java language.
package javarepl.web;
import com.googlecode.utterlyidle.BasePath;
import com.googlecode.utterlyidle.RestApplication;
import static com.googlecode.utterlyidle.annotations.AnnotatedBindings.annotatedClass;
import static com.googlecode.utterlyidle.modules.Modules.applicationInstance;
import static com.googlecode.utterlyidle.modules.Modules.bindingsModule;
public class WebConsoleApplication extends RestApplication {
public WebConsoleApplication(BasePath basePath) {
super(basePath,
bindingsModule(annotatedClass(WebConsoleResource.class)),
applicationInstance(new WebConsole())
);
add(new WebConsoleModule());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy