/** * Commands that intercept requests before the rest of the application handles them. Used by Evolutions. * * @return the application web commands. */ default WebCommands webCommands() { return new DefaultWebCommands(); }
/** * Commands that intercept requests before the rest of the application handles them. Used by Evolutions. * * @return the application web commands. */ default WebCommands webCommands() { return new DefaultWebCommands(); }
/** * Commands that intercept requests before the rest of the application handles them. Used by Evolutions. * * @return the application web commands. */ default WebCommands webCommands() { return new DefaultWebCommands(); }
private WebCommands createWebCommands() { return new DefaultWebCommands(); }
private WebCommands createWebCommands() { return new DefaultWebCommands(); }
private WebCommands createWebCommands() { return new DefaultWebCommands(); }
/** * The context for loading an application. * * @param environment the application environment * @param initialSettings the initial settings. These settings are merged with the settings from the loaded * configuration files, and together form the initialConfiguration provided by the context. It * is intended for use in dev mode, to allow the build system to pass additional configuration * into the application. */ public Context(Environment environment, Map<String,Object> initialSettings) { this.underlying = new play.api.ApplicationLoader.Context( environment.underlying(), scala.Option.empty(), new play.core.DefaultWebCommands(), play.api.Configuration.load(environment.underlying(), play.libs.Scala.asScala(initialSettings))); }
/** * Create an application loading context. * * Locates and loads the necessary configuration files for the application. * * @param environment The application environment. * @param initialSettings The initial settings. These settings are merged with the settings from the loaded * configuration files, and together form the initialConfiguration provided by the context. It * is intended for use in dev mode, to allow the build system to pass additional configuration * into the application. */ public static Context create(Environment environment, Map<String, Object> initialSettings) { play.api.ApplicationLoader.Context scalaContext = play.api.ApplicationLoader$.MODULE$.createContext( environment.underlying(), Scala.asScala(initialSettings), Scala.<SourceMapper>None(), new DefaultWebCommands()); return new Context(scalaContext); }