public class StandaloneApplication extends OSGiAdapter
Modifier and Type | Method and Description |
---|---|
static Environment |
createEnvironment() |
static StandaloneApplication |
createInstance(SharedClassLoader cl) |
static BundleFile |
createSystemBundle(URL systemBundle)
Creates the system bundle from the jar specified by the
nuxeo.osgi.system.bundle property.
|
List<File> |
getClassPath() |
static CommandLineOptions |
getComandLineOptions() |
Environment |
getEnvironment() |
static StandaloneApplication |
getInstance() |
static Runnable |
getMainTask() |
SharedClassLoader |
getSharedClassLoader() |
static boolean |
hasCommandLineOption(String option) |
void |
install(BundleFile bf) |
void |
installAll(List<BundleFile> bundles) |
boolean |
isStarted() |
static void |
main(URL systemBundle,
List<File> classPath,
String[] args) |
void |
setClassPath(List<File> classPath) |
static void |
setMainTask(Runnable mainTask) |
void |
shutdown() |
void |
start() |
addBundleListener, addFrameworkListener, addServiceListener, addServiceListener, fireBundleEvent, fireFrameworkEvent, fireServiceEvent, getBundle, getBundleId, getDataDir, getInstalledBundles, getJarFileCloser, getProperty, getProperty, getRegistry, getSystemBundle, getWorkingDir, install, removeBundleListener, removeFrameworkListener, removeService, removeServiceListener, setProperty, setSystemBundle, uninstall
public static final String MAIN_TASK
public static StandaloneApplication getInstance()
public static StandaloneApplication createInstance(SharedClassLoader cl) throws IOException
IOException
public SharedClassLoader getSharedClassLoader()
public Environment getEnvironment()
public void start() throws IOException, org.osgi.framework.BundleException
IOException
org.osgi.framework.BundleException
public boolean isStarted()
public void shutdown() throws IOException
shutdown
in class OSGiAdapter
IOException
public void install(BundleFile bf) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public void installAll(List<BundleFile> bundles) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public static BundleFile createSystemBundle(URL systemBundle) throws IOException
IOException
public static CommandLineOptions getComandLineOptions()
public static boolean hasCommandLineOption(String option)
public static Environment createEnvironment() throws IOException
IOException
public static void setMainTask(Runnable mainTask)
public static Runnable getMainTask()
Copyright © 2013 Nuxeo SA. All Rights Reserved.