Package org.nuxeo.runtime.util
Class SimpleRuntime
java.lang.Object
org.nuxeo.runtime.AbstractRuntimeService
org.nuxeo.runtime.util.SimpleRuntime
- 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
Modifier and TypeMethodDescriptiongetName()
Gets the name of this runtime service.Gets the version of this runtime service.void
Reread all property files loaded at startup.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, stop, 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
-
SimpleRuntime
public SimpleRuntime() -
SimpleRuntime
-
SimpleRuntime
-
-
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
-
reloadProperties
public void reloadProperties()Description copied from interface:RuntimeService
Reread all property files loaded at startup.
-