Class 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
  • Field Details

  • Constructor Details

    • TestRuntime

      public TestRuntime()
  • Method Details

    • 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
    • stop

      public void stop()
      Description copied from interface: RuntimeService
      Stops the runtime.
      Specified by:
      stop in interface RuntimeService
      Overrides:
      stop in class AbstractRuntimeService
    • reloadProperties

      public void reloadProperties()
      Description copied from interface: RuntimeService
      Reread all property files loaded at startup.