All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.bordertech.lde.api.LaunchWrapperProvider Maven / Gradle / Ivy

package com.github.bordertech.lde.api;

/**
 * Provider that wraps the default launcher.
 * 

* This can be used as a provider that points to the default launcher. Useful in the MOJO launcher. *

*/ public class LaunchWrapperProvider implements LdeProvider { private final LdeProvider backing = LdeLauncher.getProvider(); @Override public void launchServer() { backing.launchServer(); } @Override public void launchServer(final boolean block) { backing.launchServer(block); } @Override public void stopServer() { backing.stopServer(); } @Override public int getPort() { return backing.getPort(); } @Override public String getBaseUrl() { return backing.getBaseUrl(); } @Override public boolean isRunning() { return backing.isRunning(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy