org.ops4j.pax.exam.spi.reactors

Class SingletonStagedReactor

  • All Implemented Interfaces:
    StagedExamReactor


    public class SingletonStagedReactorextends Objectimplements StagedExamReactor
    A singleton reactor which starts the container and installs the probes just once. The teardown logic is postponed to a JVM shutdown hook.
    Since:
    3.0.0
    Author:
    Harald Wellmann
    • Method Detail

      • getInstance

        public static StagedExamReactor getInstance(List<org.ops4j.pax.exam.TestContainer> containers,                            List<org.ops4j.pax.exam.TestProbeBuilder> mProbes)
        Parameters:
        containers - to be used
        mProbes - to be installed on all probes
        Returns:
        staged reactor
      • invoke

        public void invoke(org.ops4j.pax.exam.TestAddress address)            throws Exception
        Description copied from interface: StagedExamReactor
        Invoke an actual regression. The reactor implementation will take care of (perhaps) instantiating a TestContainer or reusing an existing one and passing the parseForTests.
        Specified by:
        invoke in interface StagedExamReactor
        Parameters:
        address - reference to a concrete, single regression.
        Throws:
        Exception - in case of a problem.
      • tearDown

        public void tearDown()

Copyright © 2006–2016 OPS4J - Open Participation Software for Java. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14