public class

ForkedTestContainer

extends Object
implements TestContainer
java.lang.Object
   ↳ org.ops4j.pax.exam.forked.ForkedTestContainer

Class Overview

A TestContainer which launches an OSGi framework in a forked Java VM to isolate the framework parent class loader from the application class loader containing Pax Exam and additional user classes.

The drawback of this container is that remote debugging is required to debug the tests executed by the forked framework.

Summary

Public Constructors
ForkedTestContainer(ExamSystem system, FrameworkFactory frameworkFactory)
Public Methods
void call(TestAddress address)
long install(String location, InputStream stream)
long install(InputStream stream)
long installProbe(InputStream stream)
TestContainer start()
TestContainer stop()
String toString()
void uninstallProbe()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.ops4j.pax.exam.TestContainer

Public Constructors

public ForkedTestContainer (ExamSystem system, FrameworkFactory frameworkFactory)

Public Methods

public void call (TestAddress address)

public long install (String location, InputStream stream)

public long install (InputStream stream)

public long installProbe (InputStream stream)

public TestContainer start ()

public TestContainer stop ()

public String toString ()

public void uninstallProbe ()