| /******************************************************************************* |
| * Copyright (c) 2010 BSI Business Systems Integration AG. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * BSI Business Systems Integration AG - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.scout.rt.server; |
| |
| import org.eclipse.equinox.app.IApplication; |
| import org.eclipse.equinox.app.IApplicationContext; |
| |
| /** |
| * Dummy application in order to manage server side product configurations in |
| * *.product files. |
| * <p> |
| * A typical config.ini for such a product has (among others) the following properties: |
| * |
| * <pre> |
| * osgi.clean=true |
| * osgi.console= |
| * eclipse.consoleLog=true |
| * org.eclipse.equinox.http.jetty.http.port=8080 |
| * org.eclipse.equinox.http.jetty.context.path=/scoutapp |
| * osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@start, org.eclipse.equinox.http.jetty@start, org.eclipse.equinox.http.registry@start, org.eclipse.core.runtime@start |
| * osgi.bundles.defaultStartLevel=4 |
| * osgi.noShutdown=true |
| * eclipse.ignoreApp=false |
| * eclipse.product=com.bsiag.myapp.server.app.product |
| * </pre> |
| */ |
| public class ServerApplication implements IApplication { |
| |
| @Override |
| public Object start(IApplicationContext context) throws Exception { |
| return EXIT_OK; |
| } |
| |
| @Override |
| public void stop() { |
| } |
| |
| } |