Package org.apache.juneau.petstore.jetty
Class App
java.lang.Object
org.apache.juneau.petstore.jetty.App
Petstore Jetty/Microservice deployment entry point.
Locates juneau-petstore-jetty.cfg (in the working directory or on the classpath), wires Jetty via
JettyConfiguration, and mounts RootResources as the root servlet.
See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classApplication-specific configuration class contributing the top-level REST servlet and the console, API and admin boundary filters. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
App
public App()
-
-
Method Details
-
main
Entry point.- Parameters:
args- Command-line arguments forwarded toMicroservice.- Throws:
Exception- If the microservice fails to start.
-