Class NuxeoApp
java.lang.Object
org.nuxeo.osgi.application.client.NuxeoApp
Nuxeo Runtime launcher.
This launcher assumes all bundles are already on the classpath.
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deployBundle
(File file) void
deployBundles
(File baseDir, String bundlePath) void
deployBundles
(String bundlePath) void
deployBundles
(Collection<File> files) expandFiles
(File baseDir, String line) void
static Collection<File>
getBundleFiles
(File baseDir, String bundles, String delim) static ClassLoader
getOsgi()
boolean
static File
void
shutdown()
void
start()
-
Field Details
-
loader
-
env
-
-
Constructor Details
-
NuxeoApp
public NuxeoApp() -
NuxeoApp
-
NuxeoApp
-
-
Method Details
-
getDefaultClassLoader
-
getLoader
-
getEnvironment
-
deployBundles
- Throws:
org.osgi.framework.BundleException
IOException
-
deployBundles
public void deployBundles(File baseDir, String bundlePath) throws org.osgi.framework.BundleException, IOException - Throws:
org.osgi.framework.BundleException
IOException
-
deployBundles
public void deployBundles(Collection<File> files) throws org.osgi.framework.BundleException, IOException - Throws:
org.osgi.framework.BundleException
IOException
-
deployBundle
- Throws:
org.osgi.framework.BundleException
IOException
-
start
public void start() -
isStarted
public boolean isStarted() -
getOsgi
-
shutdown
- Throws:
IOException
-
getBundleFiles
public static Collection<File> getBundleFiles(File baseDir, String bundles, String delim) throws IOException - Throws:
IOException
-
makeFile
-
expandFiles
-
fireFrameworkStarted
public void fireFrameworkStarted() throws org.osgi.framework.BundleException- Throws:
org.osgi.framework.BundleException
-