Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.client
Class NuxeoApp

java.lang.Object
  extended by org.nuxeo.ecm.core.client.NuxeoApp

public class NuxeoApp
extends java.lang.Object

Nuxeo Runtime launcher. This launcher assumes all bundles are already on the classpath.

Author:
Bogdan Stefanescu

Constructor Summary
NuxeoApp()
           
NuxeoApp(java.io.File home)
           
NuxeoApp(java.io.File home, java.lang.ClassLoader loader)
           
 
Method Summary
 void deployBundle(java.io.File file)
           
 void deployBundles(java.util.Collection<java.io.File> files)
           
 void deployBundles(java.io.File baseDir, java.lang.String bundlePath)
           
 void deployBundles(java.lang.String bundlePath)
           
static java.util.List<java.io.File> expandFiles(java.io.File baseDir, java.lang.String line)
           
static java.util.Collection<java.io.File> getBundleFiles(java.io.File baseDir, java.lang.String bundles, java.lang.String delim)
           
static java.lang.ClassLoader getDefaultClassLoader()
           
 Environment getEnvironment()
           
 java.lang.ClassLoader getLoader()
           
 OSGiAdapter getOsgi()
           
 boolean isStarted()
           
static java.io.File makeFile(java.io.File baseDir, java.lang.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(java.io.File home)

NuxeoApp

public NuxeoApp(java.io.File home,
                java.lang.ClassLoader loader)
Method Detail

getDefaultClassLoader

public static java.lang.ClassLoader getDefaultClassLoader()

getLoader

public java.lang.ClassLoader getLoader()

getEnvironment

public Environment getEnvironment()

deployBundles

public void deployBundles(java.lang.String bundlePath)
                   throws org.osgi.framework.BundleException,
                          java.io.IOException
Throws:
org.osgi.framework.BundleException
java.io.IOException

deployBundles

public void deployBundles(java.io.File baseDir,
                          java.lang.String bundlePath)
                   throws org.osgi.framework.BundleException,
                          java.io.IOException
Throws:
org.osgi.framework.BundleException
java.io.IOException

deployBundles

public void deployBundles(java.util.Collection<java.io.File> files)
                   throws org.osgi.framework.BundleException,
                          java.io.IOException
Throws:
org.osgi.framework.BundleException
java.io.IOException

deployBundle

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

start

public void start()

isStarted

public boolean isStarted()

getOsgi

public OSGiAdapter getOsgi()

shutdown

public void shutdown()
              throws java.io.IOException
Throws:
java.io.IOException

getBundleFiles

public static java.util.Collection<java.io.File> getBundleFiles(java.io.File baseDir,
                                                                java.lang.String bundles,
                                                                java.lang.String delim)
                                                         throws java.io.IOException
Throws:
java.io.IOException

makeFile

public static java.io.File makeFile(java.io.File baseDir,
                                    java.lang.String path)

expandFiles

public static java.util.List<java.io.File> expandFiles(java.io.File baseDir,
                                                       java.lang.String line)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.