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.BundleExceptionIOExceptionpublic void deployBundles(File baseDir, String bundlePath) throws org.osgi.framework.BundleException, IOException
org.osgi.framework.BundleExceptionIOExceptionpublic void deployBundles(Collection<File> files) throws org.osgi.framework.BundleException, IOException
org.osgi.framework.BundleExceptionIOExceptionpublic void deployBundle(File file) throws org.osgi.framework.BundleException, IOException
org.osgi.framework.BundleExceptionIOExceptionpublic void start()
public boolean isStarted()
public OSGiAdapter getOsgi()
public void shutdown()
throws IOException
IOExceptionpublic static Collection<File> getBundleFiles(File baseDir, String bundles, String delim) throws IOException
IOExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.