All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.akhikhl.gretty.ServerManagerFactory.groovy Maven / Gradle / Ivy

The newest version!
/*
 * Gretty
 *
 * Copyright (C) 2013-2015 Andrey Hihlovskiy and contributors.
 *
 * See the file "LICENSE" for copying and usage permission.
 * See the file "CONTRIBUTORS" for complete list of contributors.
 */
package org.akhikhl.gretty

/**
 *
 * @author akhikhl
 */
class ServerManagerFactory {

  static ServerManager createServerManager() {
    def JettyConfigurer = Class.forName('org.akhikhl.gretty.JettyConfigurerImpl', true, ServerManagerFactory.classLoader)
    new JettyServerManager(JettyConfigurer.newInstance())
  }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy