public class

NativeTestContainer

extends Object
implements TestContainer
java.lang.Object
   ↳ org.ops4j.pax.exam.nat.internal.NativeTestContainer

Class Overview

The Native Test Container starts an OSGi framework using FrameworkFactory and provisions the bundles configured in the Exam system.

When the framework has reached the configured start level, the container checks that all bundles are resolved and throws an exception otherwise.

Summary

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

Public Constructors

public NativeTestContainer (ExamSystem system, FrameworkFactory frameworkFactory)

Throws
IOException

Public Methods

public synchronized void call (TestAddress address)

public synchronized void cleanup ()

public Bundle getSystemBundle ()

public synchronized long install (String location, InputStream stream)

public synchronized long install (InputStream stream)

public synchronized long installProbe (InputStream stream)

public void setBundleStartLevel (long bundleId, int startLevel)

public TestContainer start ()

public TestContainer stop ()

public String toString ()

public synchronized void uninstallProbe ()