public class

SingletonStagedReactor

extends Object
implements StagedExamReactor
java.lang.Object
   ↳ org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor

Class Overview

A singleton reactor which starts the container and installs the probes just once. The teardown logic is postponed to a JVM shutdown hook.

Summary

Public Methods
void afterClass()
void afterSuite()
void beforeClass()
void beforeSuite()
synchronized static StagedExamReactor getInstance(List<TestContainer> containers, List<TestProbeBuilder> mProbes)
Set<TestAddress> getTargets()
void invoke(TestAddress address)
Invoke an actual regression.
void tearDown()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.ops4j.pax.exam.spi.StagedExamReactor

Public Methods

public void afterClass ()

public void afterSuite ()

public void beforeClass ()

public void beforeSuite ()

public static synchronized StagedExamReactor getInstance (List<TestContainer> containers, List<TestProbeBuilder> mProbes)

Parameters
containers to be used
mProbes to be installed on all probes

public Set<TestAddress> getTargets ()

public void invoke (TestAddress address)

Invoke an actual regression. The reactor implementation will take care of (perhaps) instantiating a TestContainer or reusing an existing one and passing the parseForTests.

Parameters
address reference to a concrete, single regression.
Throws
Exception

public void tearDown ()