@ConsumerType
public final class OsgiContext
extends org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Additionally you can subclass this class and provide further parameters via
OsgiContextBuilder
.
Constructor and Description |
---|
OsgiContext()
Initialize OSGi context.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setUpContext()
This is called by
OsgiContextExtension to set up context. |
protected void |
tearDownContext()
This is called by
OsgiContextExtension to tear down context. |
bundleContext, componentContext, getService, getServices, registerInjectActivateService, registerInjectActivateService, registerInjectActivateService, registerService, registerService, registerService, registerService, setUp, tearDown
protected void setUpContext()
OsgiContextExtension
to set up context.protected void tearDownContext()
OsgiContextExtension
to tear down context.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.