public class NativeTestContainer extends Object implements org.ops4j.pax.exam.TestContainer
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.
| Constructor and Description |
|---|
NativeTestContainer(org.ops4j.pax.exam.ExamSystem system,
org.osgi.framework.launch.FrameworkFactory frameworkFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
call(org.ops4j.pax.exam.TestAddress address) |
void |
cleanup() |
org.osgi.framework.Bundle |
getSystemBundle() |
long |
install(InputStream stream) |
long |
install(String location,
InputStream stream) |
long |
installProbe(InputStream stream) |
void |
setBundleStartLevel(long bundleId,
int startLevel) |
org.ops4j.pax.exam.TestContainer |
start() |
org.ops4j.pax.exam.TestContainer |
stop() |
String |
toString() |
void |
uninstallProbe() |
public NativeTestContainer(org.ops4j.pax.exam.ExamSystem system,
org.osgi.framework.launch.FrameworkFactory frameworkFactory)
throws IOException
IOExceptionpublic void call(org.ops4j.pax.exam.TestAddress address)
call in interface org.ops4j.pax.exam.TestContainerpublic long install(String location, InputStream stream)
install in interface org.ops4j.pax.exam.TestContainerpublic long install(InputStream stream)
install in interface org.ops4j.pax.exam.TestContainerpublic void cleanup()
public org.osgi.framework.Bundle getSystemBundle()
public void setBundleStartLevel(long bundleId,
int startLevel)
public org.ops4j.pax.exam.TestContainer start()
start in interface org.ops4j.pax.exam.TestContainerpublic org.ops4j.pax.exam.TestContainer stop()
stop in interface org.ops4j.pax.exam.TestContainerpublic long installProbe(InputStream stream)
installProbe in interface org.ops4j.pax.exam.TestContainerpublic void uninstallProbe()
uninstallProbe in interface org.ops4j.pax.exam.TestContainerCopyright © 2006–2021 OPS4J - Open Participation Software for Java. All rights reserved.