public class NuxeoApp extends Object
This launcher assumes all bundles are already on the classpath.
Constructor and Description |
---|
NuxeoApp() |
NuxeoApp(File home) |
NuxeoApp(File home,
ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
deployBundle(File file) |
void |
deployBundles(Collection<File> files) |
void |
deployBundles(File baseDir,
String bundlePath) |
void |
deployBundles(String bundlePath) |
static List<File> |
expandFiles(File baseDir,
String line) |
void |
fireFrameworkStarted() |
static Collection<File> |
getBundleFiles(File baseDir,
String bundles,
String delim) |
static ClassLoader |
getDefaultClassLoader() |
Environment |
getEnvironment() |
ClassLoader |
getLoader() |
OSGiAdapter |
getOsgi() |
boolean |
isStarted() |
static File |
makeFile(File baseDir,
String path) |
void |
shutdown() |
void |
start() |
public NuxeoApp()
public NuxeoApp(File home)
public NuxeoApp(File home, ClassLoader loader)
public static ClassLoader getDefaultClassLoader()
public ClassLoader getLoader()
public Environment getEnvironment()
public void deployBundles(String bundlePath) throws org.osgi.framework.BundleException, IOException
org.osgi.framework.BundleException
IOException
public void deployBundles(File baseDir, String bundlePath) throws org.osgi.framework.BundleException, IOException
org.osgi.framework.BundleException
IOException
public void deployBundles(Collection<File> files) throws org.osgi.framework.BundleException, IOException
org.osgi.framework.BundleException
IOException
public void deployBundle(File file) throws org.osgi.framework.BundleException, IOException
org.osgi.framework.BundleException
IOException
public void start()
public boolean isStarted()
public OSGiAdapter getOsgi()
public void shutdown() throws IOException
IOException
public static Collection<File> getBundleFiles(File baseDir, String bundles, String delim) throws IOException
IOException
public void fireFrameworkStarted() throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
Copyright © 2013 Nuxeo SA. All Rights Reserved.