public class TestRuntime extends AbstractRuntimeService
The Test Runtime has only one virtual bundle
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
static Version |
VERSION |
REDIRECT_JUL, REDIRECT_JUL_THRESHOLD
Constructor and Description |
---|
TestRuntime() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(URL url) |
String |
getName()
Gets the name of this runtime service.
|
Version |
getVersion()
Gets the version of this runtime service.
|
void |
reloadProperties()
Reread all property files loaded at startup.
|
void |
stop()
Stops the runtime.
|
void |
undeploy(URL url) |
expandVars, getBundle, getBundleFile, getComponent, getComponent, getComponentInstance, getComponentInstance, getComponentManager, getContext, getDescription, getHome, getProperties, getProperty, getProperty, getService, getWarnings, isShuttingDown, isStarted, setHome, setProperty, start, toString
public static final String NAME
public static final Version VERSION
public String getName()
RuntimeService
public Version getVersion()
RuntimeService
public void stop() throws Exception
RuntimeService
stop
in interface RuntimeService
stop
in class AbstractRuntimeService
Exception
- if any exception occurred during shutdownpublic void reloadProperties() throws Exception
RuntimeService
Exception
Copyright © 2011 Nuxeo SA. All Rights Reserved.