ServiceManager.java revision 6983
1008N/A/*
1008N/A * CDDL HEADER START
1008N/A *
1008N/A * The contents of this file are subject to the terms of the
1008N/A * Common Development and Distribution License, Version 1.0 only
1008N/A * (the "License"). You may not use this file except in compliance
1008N/A * with the License.
1008N/A *
1008N/A * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
1008N/A * or http://forgerock.org/license/CDDLv1.0.html.
1008N/A * See the License for the specific language governing permissions
1008N/A * and limitations under the License.
1008N/A *
1008N/A * When distributing Covered Code, include this CDDL HEADER in each
1008N/A * file and include the License file at legal-notices/CDDLv1_0.txt.
1008N/A * If applicable, add the following below this CDDL HEADER, with the
1008N/A * fields enclosed by brackets "[]" replaced with your own identifying
1008N/A * information:
1008N/A * Portions Copyright [yyyy] [name of copyright owner]
1008N/A *
1008N/A * CDDL HEADER END
1008N/A *
1008N/A *
1008N/A * Copyright 2006-2008 Sun Microsystems, Inc.
1008N/A */
1008N/A
1008N/Apackage javax.jnlp;
1008N/A
1008N/A/**
1008N/A * This is just an empty implementation of ServiceManager. It does define
1008N/A * only the methods of the JNLP API used in the class
1008N/A * org.opends.quicksetup.webstart.WebstartDownloader.
1008N/A *
1008N/A * We have chosen to do this because we we require the JNLP API to be compiled
1008N/A * but the location of the javaws.jar depends on the java distribution, so
1008N/A * instead of trying to figure out where javaws.jar is on the java distribution
1008N/A * that is being used to compile the source, we just add these classes to the
1008N/A * build-tools.jar file that will be used to compile que QuickSetup.
1008N/A *
1008N/A * It must be noted that the class
1008N/A * org.opends.quicksetup.webstart.WebstartDownloader will be only executed in
1008N/A * the context of a Java Web Start application and that in this case the
1008N/A * javaws.jar will be provided by the Java Web Start Runtime environment. So
1008N/A * we are not providing the javaws-stub.jar during runtime: it is used only
1008N/A * for compilation.
1008N/A *
1008N/A */
1008N/Apublic class ServiceManager {
1008N/A public static Object lookup(String name) throws UnavailableServiceException
1008N/A {
1008N/A return null;
1008N/A }
1008N/A}
1008N/A