DownloadService.java revision f71f7a61dec7c9089378d14493ad564a1dedf0b5
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * You can obtain a copy of the license at 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * file and include the License file at 2N/A * add the following below this CDDL HEADER, with the fields enclosed 2N/A * by brackets "[]" replaced with your own identifying information: 2N/A * Portions Copyright [yyyy] [name of copyright owner] 2N/A * Portions Copyright 2006-2007 Sun Microsystems, Inc. 2N/A * This is just an empty implementation of DownloadService. It does define 2N/A * only the methods of the JNLP API used in the class 2N/A * org.opends.quicksetup.webstart.WebstartDownloader. 2N/A * We have chosen to do this because we we require the JNLP API to be compiled 2N/A * but the location of the javaws.jar depends on the java distribution, so * instead of trying to figure out where javaws.jar is on the java distribution * that is being used to compile the source, we just add these classes to the * build-tools.jar file that will be used to compile que QuickSetup. * It must be noted that the class * org.opends.quicksetup.webstart.WebstartDownloader will be only executed in * the context of a Java Web Start application and that in this case the * javaws.jar will be provided by the Java Web Start Runtime environment. So * we are not providing the javaws-stub.jar during runtime: it is used only