Package org.nuxeo.runtime.test
Class TestRuntime
java.lang.Object
org.nuxeo.runtime.AbstractRuntimeService
org.nuxeo.runtime.test.TestRuntime
- All Implemented Interfaces:
RuntimeService
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 inherited from class org.nuxeo.runtime.AbstractRuntimeService
context, isShuttingDown, isStarted, logConfig, manager, messageHandler, properties, REDIRECT_JUL, REDIRECT_JUL_THRESHOLD, workingDir
-
Constructor Summary
-
Method Summary
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 Details
-
NAME
- See Also:
-
VERSION
-
-
Constructor Details
-
TestRuntime
public TestRuntime()
-
-
Method Details
-
getName
Description copied from interface:RuntimeService
Gets the name of this runtime service.- Returns:
- the runtime service name
-
getVersion
Description copied from interface:RuntimeService
Gets the version of this runtime service.- Returns:
- the runtime service version
-
deploy
- Throws:
Exception
-
undeploy
- Throws:
Exception
-
stop
public void stop()Description copied from interface:RuntimeService
Stops the runtime.- Specified by:
stop
in interfaceRuntimeService
- Overrides:
stop
in classAbstractRuntimeService
-
reloadProperties
public void reloadProperties()Description copied from interface:RuntimeService
Reread all property files loaded at startup.
-