Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.osgi.application.client
Class NuxeoApp

java.lang.Object
  extended by org.nuxeo.osgi.application.client.NuxeoApp

public class NuxeoApp
extends Object

Nuxeo Runtime launcher.

This launcher assumes all bundles are already on the classpath.

Author:
Bogdan Stefanescu

Constructor Summary
NuxeoApp()
           
NuxeoApp(File home)
           
NuxeoApp(File home, ClassLoader loader)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NuxeoApp

public NuxeoApp()

NuxeoApp

public NuxeoApp(File home)

NuxeoApp

public NuxeoApp(File home,
                ClassLoader loader)
Method Detail

getDefaultClassLoader

public static ClassLoader getDefaultClassLoader()

getLoader

public ClassLoader getLoader()

getEnvironment

public Environment getEnvironment()

deployBundles

public void deployBundles(String bundlePath)
                   throws org.osgi.framework.BundleException,
                          IOException
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

public void deployBundle(File file)
                  throws org.osgi.framework.BundleException,
                         IOException
Throws:
org.osgi.framework.BundleException
IOException

start

public void start()

isStarted

public boolean isStarted()

getOsgi

public OSGiAdapter getOsgi()

shutdown

public void shutdown()
              throws IOException
Throws:
IOException

getBundleFiles

public static Collection<File> getBundleFiles(File baseDir,
                                              String bundles,
                                              String delim)
                                       throws IOException
Throws:
IOException

makeFile

public static File makeFile(File baseDir,
                            String path)

expandFiles

public static List<File> expandFiles(File baseDir,
                                     String line)

fireFrameworkStarted

public void fireFrameworkStarted()
                          throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.