Package com.wpollock.manualdidemo
Class Main
- java.lang.Object
-
- com.wpollock.manualdidemo.Main
-
public class Main extends java.lang.Object
The calls to sayHello from main should all throw NullPointerException, since no GreetingService has been injected into any of these objects. In this demo, we are using (abusing actually) JUnit as the DI framework, so we need to run the controllers from a JUnit test and not from here.
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-