Package org.nuxeo.runtime.test
Class TestRuntime
- java.lang.Object
-
- org.nuxeo.runtime.AbstractRuntimeService
-
- org.nuxeo.runtime.test.TestRuntime
-
- All Implemented Interfaces:
RuntimeService
public class TestRuntime extends AbstractRuntimeService
A runtime service used for JUnit tests.The Test Runtime has only one virtual bundle
- Author:
- Bogdan Stefanescu
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.runtime.AbstractRuntimeService
AbstractRuntimeService.LogConfig
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEstatic VersionVERSION-
Fields inherited from class org.nuxeo.runtime.AbstractRuntimeService
context, isShuttingDown, isStarted, logConfig, manager, messageHandler, properties, REDIRECT_JUL, REDIRECT_JUL_THRESHOLD, workingDir
-
-
Constructor Summary
Constructors Constructor Description TestRuntime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(URL url)StringgetName()Gets the name of this runtime service.VersiongetVersion()Gets the version of this runtime service.voidreloadProperties()Reread all property files loaded at startup.voidstop()Stops the runtime.voidundeploy(URL url)-
Methods inherited from class org.nuxeo.runtime.AbstractRuntimeService
createComponentManager, doStart, doStop, expandVars, getBuiltinFeatureURL, getBundle, getBundleFile, getComponent, getComponentInstance, getComponentManager, getContext, getDescription, getErrorLoggerThread, getHome, getMessageHandler, getProperties, getProperty, getProperty, getService, getStatusMessage, isShuttingDown, isStarted, loadConfig, setHome, setProperty, start, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.RuntimeService
getComponent, getComponentInstance
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
VERSION
public static final Version VERSION
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:RuntimeServiceGets the name of this runtime service.- Returns:
- the runtime service name
-
getVersion
public Version getVersion()
Description copied from interface:RuntimeServiceGets the version of this runtime service.- Returns:
- the runtime service version
-
stop
public void stop()
Description copied from interface:RuntimeServiceStops the runtime.- Specified by:
stopin interfaceRuntimeService- Overrides:
stopin classAbstractRuntimeService
-
reloadProperties
public void reloadProperties()
Description copied from interface:RuntimeServiceReread all property files loaded at startup.
-
-