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
 
 
 
 
 
| Methods inherited from class org.nuxeo.runtime.AbstractRuntimeService | 
createComponentManager, doStart, doStop, expandVars, getAdapterManager, getBuiltinFeatureURL, getBundleFile, getComponent, getComponent, getComponentInstance, getComponentInstance, getComponentManager, getContext, getDescription, getHome, getProperties, getProperty, getProperty, getService, getWarnings, isStarted, setHome, setProperty, start, startExtensions, stop, stopExtensions, toString | 
 
 
NAME
public static final String NAME
- See Also:
 - Constant Field Values
 
VERSION
public static final Version VERSION
SimpleRuntime
public SimpleRuntime()
SimpleRuntime
public SimpleRuntime(String home)
SimpleRuntime
public SimpleRuntime(File workingDir)
getName
public 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(URL url)
            throws Exception
- Throws:
 Exception
 
undeploy
public void undeploy(URL url)
              throws Exception
- Throws:
 Exception
 
Copyright © 2010 Nuxeo SAS. All Rights Reserved.