|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.runtime.AbstractRuntimeService
org.nuxeo.runtime.osgi.OSGiRuntimeService
public class OSGiRuntimeService
The default implementation of NXRuntime over an OSGi compatible environment.
| Field Summary | |
|---|---|
static String |
NAME
|
static String |
PROP_CONFIG_DIR
The osgi application config directory. |
static String |
PROP_HOST_ADAPTER
The host adapter. |
static String |
PROP_INSTALL_DIR
The OSGi application install directory. |
static String |
PROP_NUXEO_BIND_ADDRESS
|
static Version |
VERSION
|
| Fields inherited from class org.nuxeo.runtime.AbstractRuntimeService |
|---|
context, extensions, isStarted, manager, properties, workingDir |
| Constructor Summary | |
|---|---|
OSGiRuntimeService(org.osgi.framework.BundleContext context)
|
|
| Method Summary | |
|---|---|
RuntimeContext |
createContext(org.osgi.framework.Bundle bundle)
|
void |
destroyContext(org.osgi.framework.Bundle bundle)
|
protected void |
doStart()
|
protected void |
doStop()
|
void |
frameworkEvent(org.osgi.framework.FrameworkEvent event)
|
org.osgi.framework.BundleContext |
getBundleContext()
|
static String |
getComponentsList(org.osgi.framework.Bundle bundle)
|
RuntimeContext |
getContext(org.osgi.framework.Bundle bundle)
|
String |
getName()
Gets the name of this runtime service. |
Version |
getVersion()
Gets the version of this runtime service. |
List<String> |
getWarnings()
|
protected void |
loadComponents(org.osgi.framework.Bundle bundle,
RuntimeContext ctx)
|
protected void |
loadConfig()
|
void |
loadProperties(File file)
|
void |
loadProperties(InputStream in)
|
void |
loadProperties(URL url)
|
| Methods inherited from class org.nuxeo.runtime.AbstractRuntimeService |
|---|
createComponentManager, expandVars, getAdapterManager, getBuiltinFeatureURL, getComponent, getComponent, getComponentInstance, getComponentInstance, getComponentManager, getContext, getDescription, getHome, getProperties, getProperty, getProperty, getService, isStarted, setHome, setProperty, start, startExtensions, stop, stopExtensions, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_INSTALL_DIR
public static final String PROP_CONFIG_DIR
public static final String PROP_HOST_ADAPTER
public static final String PROP_NUXEO_BIND_ADDRESS
public static final String NAME
public static final Version VERSION
| Constructor Detail |
|---|
public OSGiRuntimeService(org.osgi.framework.BundleContext context)
| Method Detail |
|---|
public String getName()
RuntimeService
getName in interface RuntimeServicepublic Version getVersion()
RuntimeService
getVersion in interface RuntimeServicepublic org.osgi.framework.BundleContext getBundleContext()
public RuntimeContext createContext(org.osgi.framework.Bundle bundle)
throws Exception
Exceptionpublic void destroyContext(org.osgi.framework.Bundle bundle)
public RuntimeContext getContext(org.osgi.framework.Bundle bundle)
public List<String> getWarnings()
protected void doStart()
throws Exception
doStart in class AbstractRuntimeServiceException
protected void doStop()
throws Exception
doStop in class AbstractRuntimeServiceException
protected void loadComponents(org.osgi.framework.Bundle bundle,
RuntimeContext ctx)
throws Exception
Exceptionpublic static String getComponentsList(org.osgi.framework.Bundle bundle)
protected void loadConfig()
throws Exception
Exception
public void loadProperties(File file)
throws IOException
IOException
public void loadProperties(URL url)
throws IOException
IOException
public void loadProperties(InputStream in)
throws IOException
IOExceptionpublic void frameworkEvent(org.osgi.framework.FrameworkEvent event)
frameworkEvent in interface org.osgi.framework.FrameworkListener
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||