Go to most recent revision |
Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 167 |
ashish |
1 |
package in.shop2020.hotspot.dashbaord.server.guice;
|
|
|
2 |
|
|
|
3 |
import com.google.inject.Guice;
|
|
|
4 |
import com.google.inject.Injector;
|
|
|
5 |
import com.google.inject.servlet.GuiceServletContextListener;
|
|
|
6 |
|
|
|
7 |
public class ServletConfig extends GuiceServletContextListener{
|
|
|
8 |
|
|
|
9 |
@Override
|
|
|
10 |
protected Injector getInjector() {
|
|
|
11 |
|
|
|
12 |
return Guice.createInjector(new ServerModule(), new DispatchServletModule());
|
|
|
13 |
}
|
|
|
14 |
|
|
|
15 |
}
|