/** * Create a new webapp builder. * @see WebApps for a complete example * @param <T> application (holding the embedded webapp) type * @param prefix of the webapp * @param api the api class for the application * @param app the application instance * @param wsPrefix the prefix for the webservice api for this app * @return a webapp builder */ public static <T> Builder<T> $for(String prefix, Class<T> api, T app, String wsPrefix) { return new Builder<T>(prefix, api, app, wsPrefix); }
/** * Create a new webapp builder. * @see WebApps for a complete example * @param <T> application (holding the embedded webapp) type * @param prefix of the webapp * @param api the api class for the application * @param app the application instance * @param wsPrefix the prefix for the webservice api for this app * @return a webapp builder */ public static <T> Builder<T> $for(String prefix, Class<T> api, T app, String wsPrefix) { return new Builder<T>(prefix, api, app, wsPrefix); }
/** * Create a new webapp builder. * @see WebApps for a complete example * @param <T> application (holding the embedded webapp) type * @param prefix of the webapp * @param api the api class for the application * @param app the application instance * @param wsPrefix the prefix for the webservice api for this app * @return a webapp builder */ public static <T> Builder<T> $for(String prefix, Class<T> api, T app, String wsPrefix) { return new Builder<T>(prefix, api, app, wsPrefix); }
/** * Create a new webapp builder. * @see WebApps for a complete example * @param <T> application (holding the embedded webapp) type * @param prefix of the webapp * @param api the api class for the application * @param app the application instance * @return a webapp builder */ public static <T> Builder<T> $for(String prefix, Class<T> api, T app) { return new Builder<T>(prefix, api, app); }
/** * Create a new webapp builder. * @see WebApps for a complete example * @param <T> application (holding the embedded webapp) type * @param prefix of the webapp * @param api the api class for the application * @param app the application instance * @return a webapp builder */ public static <T> Builder<T> $for(String prefix, Class<T> api, T app) { return new Builder<T>(prefix, api, app); }
/** * Create a new webapp builder. * @see WebApps for a complete example * @param <T> application (holding the embedded webapp) type * @param prefix of the webapp * @param api the api class for the application * @param app the application instance * @return a webapp builder */ public static <T> Builder<T> $for(String prefix, Class<T> api, T app) { return new Builder<T>(prefix, api, app); }