Class App
- java.lang.Object
-
- org.glassfish.jersey.examples.helloworld.App
-
public class App extends Object
Main Java application. Used to bootstrap Weld container and start Grizzly HTTP container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApp.JaxRsApplicationJAX-RS application defined as a CDI bean.
-
Constructor Summary
Constructors Constructor Description App()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceConfigcreateJaxRsApp()Create JAX-RS application.static voidmain(String[] args)
-
-
-
Field Detail
-
ROOT_PATH
public static final String ROOT_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args)
-
createJaxRsApp
public static ResourceConfig createJaxRsApp()
Create JAX-RS application. The same one is used also in the tests.- Returns:
- Jersey's resource configuration of the Weld application.
-
-