* BAEL-1275 Introduction to active web first commit * BAEL-1275 Added the module to parent pom * BAEL-1275 Introduction to ActiveWeb
18 lines
420 B
Java
18 lines
420 B
Java
package app.config;
|
|
|
|
import org.javalite.activeweb.AppContext;
|
|
import org.javalite.activeweb.Bootstrap;
|
|
|
|
import com.google.inject.Guice;
|
|
import com.google.inject.Injector;
|
|
|
|
import app.services.ArticleServiceModule;
|
|
|
|
public class AppBootstrap extends Bootstrap {
|
|
public void init(AppContext context) {
|
|
}
|
|
public Injector getInjector() {
|
|
return Guice.createInjector(new ArticleServiceModule());
|
|
}
|
|
}
|