public final class OsgiContext extends OsgiContextImpl implements org.junit.rules.TestRule
componentContext| Constructor and Description |
|---|
OsgiContext()
Initialize OSGi context.
|
OsgiContext(OsgiContextCallback setUpCallback)
Initialize OSGi context.
|
OsgiContext(OsgiContextCallback setUpCallback,
OsgiContextCallback tearDownCallback)
Initialize OSGi context.
|
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
bundleContext, componentContext, getService, getServices, registerInjectActivateService, registerInjectActivateService, registerService, registerService, registerService, setUp, tearDownpublic OsgiContext()
public OsgiContext(OsgiContextCallback setUpCallback)
setUpCallback - Allows the application to register an own callback
function that is called after the built-in setup rules are
executed.public OsgiContext(OsgiContextCallback setUpCallback, OsgiContextCallback tearDownCallback)
setUpCallback - Allows the application to register an own callback
function that is called after the built-in setup rules are
executed.tearDownCallback - Allows the application to register an own
callback function that is called before the built-in teardown
rules are executed.Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.