java.lang.Object
org.apache.juneau.petstore.jetty.App

public class App extends Object
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 Classes
    Modifier and Type
    Class
    Description
    static class 
    Application-specific configuration class contributing the top-level REST servlet and the console, API and admin boundary filters.
  • Constructor Summary

    Constructors
    Constructor
    Description
    App()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Entry point.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • App

      public App()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Entry point.
      Parameters:
      args - Command-line arguments forwarded to Microservice.
      Throws:
      Exception - If the microservice fails to start.