Class BasicJettyServerFactory

java.lang.Object
org.apache.juneau.microservice.jetty.BasicJettyServerFactory
All Implemented Interfaces:
JettyServerFactory

public class BasicJettyServerFactory extends Object implements JettyServerFactory
Basic implementation of a Jetty server factory.
See Also:
  • Constructor Details

  • Method Details

    • create

      public org.eclipse.jetty.server.Server create(String jettyXml) throws Exception
      Description copied from interface: JettyServerFactory
      Create a new initialized Jetty server.
      Specified by:
      create in interface JettyServerFactory
      Parameters:
      jettyXml - The contents of the jetty.xml file.
      Returns:
      A newly-created but not-yet-started server.
      Throws:
      Exception - Any exception.