Class TestWithQpid

java.lang.Object
test.de.iip_ecosphere.platform.support.TestWithPlugin
test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
test.de.iip_ecosphere.platform.transport.TestWithQpid

public class TestWithQpid extends test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
Adds QPID as plugin into the tests.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private de.iip_ecosphere.platform.support.Server
     

    Fields inherited from class test.de.iip_ecosphere.platform.support.TestWithPlugin

    PROP_AAS_PLUGIN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Adds the Qpid plugin (if inheriting is not possible).
    static de.iip_ecosphere.platform.support.Server
    fromPlugin(de.iip_ecosphere.platform.support.ServerAddress broker)
    Creates a qpid instance via plugin.
    de.iip_ecosphere.platform.support.Server
    setAndStartQpid(de.iip_ecosphere.platform.support.Server instance)
    Sets and starts the instance, ensuring that if there is already an instance that it is stopped.
    de.iip_ecosphere.platform.support.Server
    setQpid(de.iip_ecosphere.platform.support.Server instance)
    Sets the instance, ensuring that if there is already an instance that it is stopped.
    void
    Shuts down qpid.

    Methods inherited from class test.de.iip_ecosphere.platform.support.aas.TestWithPlugin

    setAasPluginId, setup, setupAASPlugins

    Methods inherited from class test.de.iip_ecosphere.platform.support.TestWithPlugin

    addPluginLocation, addPluginLocation, addPluginLocation, addRunAfterLoading, clear, enableLocalPlugins, loadPlugins, loadPlugins, setInstallDir

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • qpid

      private de.iip_ecosphere.platform.support.Server qpid
  • Constructor Details

    • TestWithQpid

      public TestWithQpid()
  • Method Details

    • addPlugin

      public static void addPlugin()
      Adds the Qpid plugin (if inheriting is not possible).
    • stopQpid

      public void stopQpid()
      Shuts down qpid.
    • setQpid

      public de.iip_ecosphere.platform.support.Server setQpid(de.iip_ecosphere.platform.support.Server instance)
      Sets the instance, ensuring that if there is already an instance that it is stopped.
      Parameters:
      instance - the new instance
      Returns:
      instance
    • setAndStartQpid

      public de.iip_ecosphere.platform.support.Server setAndStartQpid(de.iip_ecosphere.platform.support.Server instance)
      Sets and starts the instance, ensuring that if there is already an instance that it is stopped.
      Parameters:
      instance - the new instance
      Returns:
      instance
    • fromPlugin

      public static de.iip_ecosphere.platform.support.Server fromPlugin(de.iip_ecosphere.platform.support.ServerAddress broker)
      Creates a qpid instance via plugin.
      Parameters:
      broker - the server address
      Returns:
      the instance