org.nuxeo.runtime.util
Class SimpleRuntime
java.lang.Object
org.nuxeo.runtime.AbstractRuntimeService
org.nuxeo.runtime.util.SimpleRuntime
- All Implemented Interfaces:
- RuntimeService
public class SimpleRuntime
- extends AbstractRuntimeService
A runtime service used for JUnit tests.
The Test Runtime has only one virtual bundle.
- Author:
- Bogdan Stefanescu
Method Summary |
void |
deploy(java.net.URL url)
|
java.lang.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 |
undeploy(java.net.URL url)
|
Methods inherited from class org.nuxeo.runtime.AbstractRuntimeService |
expandVars, getAdapterManager, getBundleFile, getComponent, getComponent, getComponentInstance, getComponentInstance, getComponentManager, getContext, getDescription, getHome, getProperties, getProperty, getProperty, getService, getWarnings, isStarted, setHome, setProperty, start, stop, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
VERSION
public static final Version VERSION
SimpleRuntime
public SimpleRuntime()
SimpleRuntime
public SimpleRuntime(java.lang.String home)
SimpleRuntime
public SimpleRuntime(java.io.File workingDir)
getName
public java.lang.String getName()
- Description copied from interface:
RuntimeService
- Gets the name of this runtime service.
- Returns:
- the runtime service name
getVersion
public Version getVersion()
- Description copied from interface:
RuntimeService
- Gets the version of this runtime service.
- Returns:
- the runtime service version
deploy
public void deploy(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeploy
public void undeploy(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
reloadProperties
public void reloadProperties()
throws java.lang.Exception
- Description copied from interface:
RuntimeService
- Reread all property files loaded at startup.
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.