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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeployBundle(File file) voiddeployBundles(File baseDir, String bundlePath) voiddeployBundles(String bundlePath) voiddeployBundles(Collection<File> files) expandFiles(File baseDir, String line) voidstatic Collection<File>getBundleFiles(File baseDir, String bundles, String delim) static ClassLoadergetOsgi()booleanstatic Filevoidshutdown()voidstart()
-
Field Details
-
loader
-
env
-
-
Constructor Details
-
NuxeoApp
public NuxeoApp() -
NuxeoApp
-
NuxeoApp
-
-
Method Details
-
getDefaultClassLoader
-
getLoader
-
getEnvironment
-
deployBundles
- Throws:
org.osgi.framework.BundleExceptionIOException
-
deployBundles
public void deployBundles(File baseDir, String bundlePath) throws org.osgi.framework.BundleException, IOException - Throws:
org.osgi.framework.BundleExceptionIOException
-
deployBundles
public void deployBundles(Collection<File> files) throws org.osgi.framework.BundleException, IOException - Throws:
org.osgi.framework.BundleExceptionIOException
-
deployBundle
- Throws:
org.osgi.framework.BundleExceptionIOException
-
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
-